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 charset="utf-8">
<meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=device-width">
<title>{{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }}</title> <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> <header>
<a href='{{if eq "fr" .Language.Lang }}/{{.Language.Lang}}{{end}}/'><img src="/logo.webp" style="max-height:5rem;"></a> <a href='/'>
<h1>{{.Site.Title}}</h1> <h1>{{.Site.Title}}</h1>
<nav> </a>
{{ partial "language-picker" .}}
</nav>
<nav>{{ range .Site.Sections.ByWeight}} <nav>{{ range .Site.Sections.ByWeight}}
<a href="{{.Permalink}}"> <a href="{{.Permalink}}">
<h2>{{.Title}}</h2> <h2>{{.Title}}</h2>