Base de site une page avec le thème Hugo Scroll

Ajoute content/_index.md (en-tête) et content/homepage/index.md
(headless bundle) pour afficher les sections de la page d'accueil.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Mathieu LimonierandClaude Opus 5.5 committed 2026-11-19 18:31:31 +01:00
commit 7c61119de9
11 files changed
+171

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
---
# Image de fond de l'en-tête (dans assets/images/). Image d'exemple du thème, à remplacer.
header_image: "images/cover-image.jpg"
header_use_video: false
# Logo optionnel au-dessus du titre
# header_logo: "images/logo.png"
# Titres de l'en-tête (HTML autorisé : b, i, u, br)
header_headline: "Mon site"
header_subheadline: "Base de site <b>une page</b> avec Hugo Scroll"
# Entrée « Retour en haut » dans le menu de navigation
nav_to_top_title: "Retour en haut"
nav_to_top_weight: last
---
+22
View File
@@ -0,0 +1,22 @@
---
title: 'Coucou'
# The "header_menu_title" value will be used as text for header buttons.
# The "title" value will be used if value for "header_menu_title" is not provided.
#header_menu_title: 'Short Menu Title'
# The "navigation_menu_title" value will be used as text for fixed menu items.
# The "title" value will be used if value for "navigation_menu_title" is not provided.
#navigation_menu_title: 'Short Menu Title'
# The "weight" will determine where this section appears on the "homepage".
# A bigger weight will place the content more towards the bottom of the page.
# It's like gravity ;-).
weight: 5
# If "header_menu" is true, then a button linking to this section will be placed
# into the header menu at the top of the homepage.
header_menu: true
---
This is just another section to appear on the homepage.
+3
View File
@@ -0,0 +1,3 @@
---
headless: true
---
+14
View File
@@ -0,0 +1,14 @@
---
title: "Welcome"
weight: 1
---
`Hugo-Scroll` theme alternates colors of sections that are placed on single page.
The landing screen is meant to be visually striking.
Single-page approach is oriented towards small to medium content length, that won't overwhelm the user.
You can also delegate lengthier, less important or more sizeable content to [dedicated pages](services).
> The belly rules the mind. --- spanish proverb
By the way this welcome section won't show in the cover menu.