improve appearance

This commit is contained in:
2025-06-09 11:45:49 -06:00
parent d4ac24c869
commit 97a31721d0
32 changed files with 8340 additions and 103 deletions

View File

@ -1,26 +1,32 @@
{{ define "main" }}
<h1>{{ .Title }}</h1>
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>
<div id="page-header">
<h1>{{ .Title }}</h1>
{{ if .Params.subtitle }}
<span class="subtitle">{{ .Params.subtitle }}</span>
{{ end }}
{{ with .Params.links }}
<!-- <section id="quick-links"> -->
<!-- <h2>Quick Links</h2> -->
<div id="link-list">
<ul>
{{ range . }}
<li><a href="{{ .url }}" target="_blank" rel="noopener">{{ if .icon }}<i class="{{ .icon }}"></i>&nbsp;&nbsp;{{ end }}{{ .title }}</a></li>
{{ end }}
</ul>
</div>
<!-- </section> -->
{{ end }}
</div>
{{ .Content }}
<section>
<ul id="taxonomies">
{{ range $taxonomyname, $taxonomy := .Site.Taxonomies }}
<li>{{ $taxonomyname | strings.FirstUpper }}
<!-- <li><a href="{{ "/" | relLangURL}}{{ $taxonomyname | urlize }}">{{ $taxonomyname }}</a> -->
<ul>
{{ range $key, $value := $taxonomy }}
<li><a href="{{ "/" | relLangURL}}{{ $taxonomyname | urlize }}{{ "/" | relLangURL}}{{ $key | urlize }}">{{ $key }}</a></li>
{{ end }}
</ul>
</li>
{{ end }}
</ul>
{{ .Content }}
</section>
{{ if .Date }}
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ $dateHuman := .Date | time.Format ":date_long" }}
<p class="time">Updated <time datetime="{{ $dateMachine }}">{{ $dateHuman }}</time></p>
{{ end }}
{{ end }}