gemini-capsule/capsule/templates/_default/index.html

41 lines
1.2 KiB
HTML
Raw Permalink Normal View History

2022-10-06 20:16:13 +00:00
<html>
<head>
<meta charset="utf-8">
<title>{{ .Title }}</title>
2022-10-15 16:47:52 +00:00
<link rel="stylesheet" href="/simple.css">
2022-10-06 20:16:13 +00:00
</head>
<body>
<header>
<nav>
<ul>
2023-04-20 20:53:40 +00:00
<li><a href="/">🏠 Acceuil</a></li>
<li><a href="/gemlog">📒 Mes billets</a></li>
<li><a href="https://wiki.valvin.fr">Mon wiki</a></li>
2023-04-22 04:30:50 +00:00
<li><a href="https://git.valvin.fr">Mes dépôts</a></li>
2023-04-20 20:53:40 +00:00
<li><a href="/contact">💬 Contact</a></li>
<li><a href="/atom.xml">📣 Flux Atom/RSS</a></li>
</ul>
</nav>
</header>
2022-10-06 20:16:13 +00:00
<h1>{{ .Title }}</h1>
2022-10-11 20:19:25 +00:00
{{ if .Content }}
{{ .Content | safeHTML }}{{ end }}
2022-10-11 20:19:25 +00:00
<ul>
{{ range .Pages }}<li><a href="{{ .Path }}">{{ if not .Date.IsZero -}}
{{ .Date.Format "2006-01-02" }} {{end}}{{ .Title }}</a></li>
{{ end -}}
</ul>
<p>Les derniers billets:</p>
<ul>
{{ with site.Root.GetPage "/gemlog" }}
{{ range $i, $page := .Pages }}{{if lt $i 5}}<li><a href="{{ $page.Path }}">{{ if not $page.Date.IsZero -}}
{{ $page.Date.Format "2006-01-02" }} {{end}}{{ $page.Title }}</a></li>{{end}}
{{ end -}}
{{ end }}
2022-10-15 16:47:52 +00:00
</ul>
2022-10-15 16:47:52 +00:00
<p><i>Le contenu de cette page est disponible sous licence CC-BY-SA</i></p>
2022-10-06 20:16:13 +00:00
</body>
</html>