2025-06-09 11:45:49 -06:00

33 lines
891 B
HTML

{{ define "main" }}
<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>
<section>
{{ .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 }}