update site
This commit is contained in:
parent
fa1a96361c
commit
f3f6178e00
3 changed files with 18 additions and 1 deletions
5
layouts/partials/head.html
Normal file
5
layouts/partials/head.html
Normal 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>
|
12
layouts/partials/header.html
Normal file
12
layouts/partials/header.html
Normal 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
|
Loading…
Reference in a new issue