update site

This commit is contained in:
Gabriel 2023-12-28 00:01:05 -05:00
parent fa1a96361c
commit f3f6178e00
3 changed files with 18 additions and 1 deletions

View file

@ -0,0 +1,5 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title>
<link rel="stylesheet" href="/theme.css?d={{.Date.Unix}}">
<script defer data-domain="cyberfreedom.ca" src="https://plausible.libresolutions.network/js/script.js"></script>

View file

@ -0,0 +1,12 @@
<header>
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'><img src="/logo.webp" style="max-height:5rem;"></a>
<h1>{{.Site.Title}}</h1>
<nav>
{{ partial "language-picker" .}}
</nav>
<nav>{{ range .Site.Sections.ByWeight}}
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>
</a> {{end}}
</nav>
</header>

@ -1 +1 @@
Subproject commit de798b599e95b23ffdb83da7ed6de4407a2b03e4 Subproject commit 8c847d47b75199cb7c3283b808f365a27b5919dc