index.html 1.4 KB

12345678910111213141516171819202122232425262728293031
  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. {{if .Site.Home.Content }}
  6. {{.Site.Home.Content}}
  7. {{else}}
  8. {{if eq .Site.Language.Lang "fr"}}
  9. <h1>Personaliser la page d'accueil</h1>
  10. <p>
  11. Le site fonctionne. Ne pas oublier de personaliser cette page avec votre propre contenu. 3 manières de faire :
  12. </p>
  13. <ul>
  14. <li><b>1. </b> Créer un fichier _index.md dans le dossier <b>content</b> et le remplir de Markdown</li>
  15. <li><b>2. </b> Créer un fichier index.html dans le dossier <b>static</b> et le remplir de code HTML</li>
  16. <li><b>3. </b> Configurer le serveur http pour rediriger automatiquement la homepage vers la page de votre choix dans le site</li>
  17. </ul>
  18. {{else}}
  19. <h1>Customize your own home page</h1>
  20. <p>
  21. The site is working. Don't forget to customize this homepage with your own. You typically have 3 choices :
  22. </p>
  23. <ul>
  24. <li><b>1. </b> Create an _index.md document in <b>content</b> folder and fill it with Markdown content</li>
  25. <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>
  26. <li><b>3. </b> Configure your server to automatically redirect home page to one your documentation page</li>
  27. </ul>
  28. {{end}}
  29. {{ end }}
  30. {{ partial "footer.html" . }}