diff --git a/content/en/_index.md b/content/en/_index.md index 88df2cd..cd28a96 100644 --- a/content/en/_index.md +++ b/content/en/_index.md @@ -1,5 +1,6 @@ --- title: "Home" +description: "TheAfriForge is the African foundation for free software and digital sovereignty. Open source projects, open governance and continental infrastructure." hero: kicker: "African digital infrastructure" titleLine1: "Free and sovereign" diff --git a/content/fr/_index.md b/content/fr/_index.md index 93ff39d..7804601 100644 --- a/content/fr/_index.md +++ b/content/fr/_index.md @@ -1,5 +1,6 @@ --- title: "Accueil" +description: "TheAfriForge est la fondation africaine du logiciel libre et de la souveraineté numérique. Projets open source, gouvernance ouverte et infrastructure continentale." hero: kicker: "Infrastructure numérique africaine" titleLine1: "L'infrastructure libre" diff --git a/hugo.toml b/hugo.toml index 4ab6c54..a5cfefc 100644 --- a/hugo.toml +++ b/hugo.toml @@ -10,6 +10,8 @@ disableAliases = true organization = "TheAfriForge" gitforgeUrl = "https://gitforge.africa" repositoryUrl = "https://github.com/theafriforge" + twitterHandle = "@theafriforge" + ogImage = "/images/og-theafriforge.png" # Membership form configuration (fallback values). # Priority used in templates: # 1) HUGO_MEMBERSHIP_FORM_ACTION / HUGO_MEMBERSHIP_FORM_SUCCESS_PATH @@ -18,6 +20,11 @@ disableAliases = true membershipFormAction = "" membershipFormSuccessPath = "" +[sitemap] + changeFreq = "weekly" + filename = "sitemap.xml" + priority = 0.5 + [languages] [languages.fr] languageName = "Français" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index e3f1740..87d559b 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -4,7 +4,7 @@ {{ if .IsHome }}{{ .Site.Title }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} - + {{ partial "seo.html" . }} +{{ end }} + +{{/* ---- JSON-LD WebSite (home only — enables sitelinks search) ---- */}} +{{ if .IsHome }} + +{{ end }} diff --git a/layouts/robots.txt b/layouts/robots.txt new file mode 100644 index 0000000..0c9152d --- /dev/null +++ b/layouts/robots.txt @@ -0,0 +1,6 @@ +User-agent: * +Allow: / + +Sitemap: {{ .Site.BaseURL }}sitemap.xml +Sitemap: {{ .Site.BaseURL }}fr/sitemap.xml +Sitemap: {{ .Site.BaseURL }}en/sitemap.xml