theme changes

This commit is contained in:
Gabriel 2023-12-28 00:00:46 -05:00
parent de798b599e
commit 8c847d47b7
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
<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">
<link rel="stylesheet" href="/theme.css?d={{.Date.Unix}}">

View file

@ -1,9 +1,7 @@
<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>
<a href='/'>
<h1>{{.Site.Title}}</h1>
</a>
<nav>{{ range .Site.Sections.ByWeight}}
<a href="{{.Permalink}}">
<h2>{{.Title}}</h2>