github.com/mweagle/Sparta@v1.15.0/docs_source/themes/hugo-theme-learn/layouts/index.html (about) 1 {{ partial "header.html" . }} 2 <span id="sidebar-toggle-span"> 3 <a href="#" id="sidebar-toggle" data-sidebar-toggle=""><i class="fas fa-bars"></i> navigation</a> 4 </span> 5 6 {{if .Site.Home.Content }} 7 {{.Site.Home.Content}} 8 {{else}} 9 {{if eq .Site.Language.Lang "fr"}} 10 <h1>Personaliser la page d'accueil</h1> 11 <p> 12 Le site fonctionne. Ne pas oublier de personaliser cette page avec votre propre contenu. 3 manières de faire : 13 </p> 14 <ul> 15 <li><b>1. </b> Créer un fichier _index.md dans le dossier <b>content</b> et le remplir de Markdown</li> 16 <li><b>2. </b> Créer un fichier index.html dans le dossier <b>static</b> et le remplir de code HTML</li> 17 <li><b>3. </b> Configurer le serveur http pour rediriger automatiquement la homepage vers la page de votre choix dans le site</li> 18 </ul> 19 {{else}} 20 <h1>Customize your own home page</h1> 21 <p> 22 The site is working. Don't forget to customize this homepage with your own. You typically have 3 choices : 23 </p> 24 <ul> 25 <li><b>1. </b> Create an _index.md document in <b>content</b> folder and fill it with Markdown content</li> 26 <li><b>2. </b> Create an <b>index.html</b> file in the <b>static</b> folder and fill the file with HTML content</li> 27 <li><b>3. </b> Configure your server to automatically redirect home page to one your documentation page</li> 28 </ul> 29 {{end}} 30 {{ end }} 31 {{ partial "footer.html" . }}