Personal-Website/layouts/til/single.html
Benjamin Hays 560e9200bb
All checks were successful
Build Hugo Site / build (push) Successful in 10s
Update content
2025-05-31 14:21:25 -04:00

22 lines
430 B
HTML

{{ define "main" }}
<article class="til-post">
<header>
<h1>{{ .Title }}</h1>
<time datetime="{{ .Date.Format "2006-01-02" }}">
{{ .Date.Format "January 2, 2006" }}
</time>
</header>
<div class="content">
{{ .Content }}
</div>
{{ if .Params.tags }}
<div class="tags">
{{ range .Params.tags }}
<span class="tag">#{{ . }}</span>
{{ end }}
</div>
{{ end }}
</article>
{{ end }}