From 74bb5ac1a821dd5cd23c1097d5ea5cbd74d3d53c Mon Sep 17 00:00:00 2001 From: Liviu Ionescu Date: Mon, 7 Oct 2024 10:48:32 +0300 Subject: [PATCH] website: updates --- website/authors.yml | 6 ++++++ website/docusaurus.config.ts | 14 +++++++++++++- website/src/components/HomepageTools/index.tsx | 3 ++- 3 files changed, 21 insertions(+), 2 deletions(-) diff --git a/website/authors.yml b/website/authors.yml index b48058a..80c0603 100644 --- a/website/authors.yml +++ b/website/authors.yml @@ -6,3 +6,9 @@ ilg-ul: email: ilg@livius.net url: https://github.com/ilg-ul image_url: https://github.com/ilg-ul.png + page: true + socials: + x: ilegeul + github: ilg-ul + linkedin: https://www.linkedin.com/in/liviu-ionescu/ + wordpress: https://ilgthegeek.wordpress.com diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 139e39b..053e2b2 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -88,7 +88,7 @@ const config: Config = { url: 'https://xpack-dev-tools.github.io', // Set the // pathname under which your site is served // For GitHub pages deployment, it is often '//' - baseUrl: '/sed-xpack', + baseUrl: '/sed-xpack/', // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these. @@ -136,6 +136,18 @@ const config: Config = { theme: { customCss: './src/css/custom.css', }, + // https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-sitemap + sitemap: { + lastmod: 'date', + changefreq: 'weekly', + priority: 0.5, + ignorePatterns: [ + '/sed-xpack/blog/archive/**', + '/sed-xpack/blog/authors/**', + '/sed-xpack/blog/tags/**' + ], + filename: 'sitemap.xml', + }, // https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-google-gtag // https://tagassistant.google.com gtag: { diff --git a/website/src/components/HomepageTools/index.tsx b/website/src/components/HomepageTools/index.tsx index ef15388..5507389 100644 --- a/website/src/components/HomepageTools/index.tsx +++ b/website/src/components/HomepageTools/index.tsx @@ -18,6 +18,7 @@ import styles from './styles.module.css'; import Link from '@docusaurus/Link'; +/* When updated, don't forget to add sitemap to robots.txt! */ const PrimaryTools = [ { appName: 'GNU AArch64 Embedded GCC', @@ -73,7 +74,7 @@ const PrimaryTools = [ }, ] - +/* When updated, don't forget to add sitemap to robots.txt! */ const SecondaryTools = [ { appName: 'GNU bison',