Fix up the home page; make the font size bigger; clean up the layout

This commit is contained in:
Eryn Wells 2022-10-25 17:33:03 -04:00
parent 77d677afed
commit 782f613d5a
2 changed files with 43 additions and 33 deletions

View file

@ -1,22 +1,16 @@
{{ define "main" }}
<div class="platter">
<div class="grid">
<div id="title">
<h1 class="site">{{ .Title }}</h1>
</div>
<div id="content">
{{ .Content }}
</div>
{{ with site.Menus.main }}
{{ $url := $.RelPermalink }}
<div id="nav">
<nav class="site bulleted">
{{ range . }}
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
{{ end }}
</nav>
</div>
{{ end }}
<div class="platter grid">
<h1 class="site">{{ .Title }}</h1>
<div id="content">
{{ .Content }}
</div>
{{- with site.Menus.main -}}
{{- $url := $.RelPermalink -}}
<nav class="site bulleted">
{{- range . -}}
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
{{- end -}}
</nav>
{{ end }}
</div>
{{ end }}