feat: add new project and single page layouts
- Created a new layout for projects with sections for hero, projects, roadmap, selection criteria, and a call to action. - Added a single page layout for individual project details, including a hero section and content area. - Introduced a brand highlight partial to emphasize "TheAfriForge" in text. - Implemented an icon partial for reusable SVG icons across the site. - Developed a site header and footer with navigation and legal links, adapting for language variations. - Enhanced the index layout with sections for hero, stats, pillars, projects, and members. - Added a development script to load environment variables and run Hugo with optional arguments.
This commit is contained in:
commit
3dbacc94d3
35 changed files with 3046 additions and 0 deletions
74
hugo.toml
Normal file
74
hugo.toml
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
baseURL = "https://theafriforge.org/"
|
||||
title = "TheAfriForge"
|
||||
defaultContentLanguage = "fr"
|
||||
defaultContentLanguageInSubdir = true
|
||||
enableRobotsTXT = true
|
||||
disableKinds = ["taxonomy", "term"]
|
||||
disableAliases = true
|
||||
|
||||
[params]
|
||||
organization = "TheAfriForge"
|
||||
gitforgeUrl = "https://gitforge.africa"
|
||||
repositoryUrl = "https://github.com/theafriforge"
|
||||
# Membership form configuration (fallback values).
|
||||
# Priority used in templates:
|
||||
# 1) HUGO_MEMBERSHIP_FORM_ACTION / HUGO_MEMBERSHIP_FORM_SUCCESS_PATH
|
||||
# 2) params.membershipFormAction / params.membershipFormSuccessPath (below)
|
||||
# 3) page front matter defaults
|
||||
membershipFormAction = ""
|
||||
membershipFormSuccessPath = ""
|
||||
|
||||
[languages]
|
||||
[languages.fr]
|
||||
languageName = "Français"
|
||||
languageCode = "fr-FR"
|
||||
weight = 1
|
||||
contentDir = "content/fr"
|
||||
title = "TheAfriForge"
|
||||
|
||||
[[languages.fr.menu.main]]
|
||||
name = "Accueil"
|
||||
pageRef = "/"
|
||||
weight = 10
|
||||
|
||||
[[languages.fr.menu.main]]
|
||||
name = "Manifeste"
|
||||
pageRef = "/manifeste"
|
||||
weight = 20
|
||||
|
||||
[[languages.fr.menu.main]]
|
||||
name = "Nos Projets"
|
||||
pageRef = "/projets"
|
||||
weight = 30
|
||||
|
||||
[[languages.fr.menu.main]]
|
||||
name = "Gouvernance"
|
||||
pageRef = "/gouvernance"
|
||||
weight = 40
|
||||
|
||||
[languages.en]
|
||||
languageName = "English"
|
||||
languageCode = "en-US"
|
||||
weight = 2
|
||||
contentDir = "content/en"
|
||||
title = "TheAfriForge"
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Home"
|
||||
pageRef = "/"
|
||||
weight = 10
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Manifesto"
|
||||
pageRef = "/manifesto"
|
||||
weight = 20
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Our Projects"
|
||||
pageRef = "/projects"
|
||||
weight = 30
|
||||
|
||||
[[languages.en.menu.main]]
|
||||
name = "Governance"
|
||||
pageRef = "/governance"
|
||||
weight = 40
|
||||
Loading…
Add table
Add a link
Reference in a new issue