Update homepage
This commit is contained in:
@@ -1,6 +1,23 @@
|
||||
{{ define "main" }}
|
||||
{{ .Content }}
|
||||
|
||||
<ul>
|
||||
{{ $recentDispatch := first 1 (where .Site.RegularPages "Params.tags" "intersect" (slice "dispatch")) }}
|
||||
{{ with index $recentDispatch 0 }}
|
||||
<li>
|
||||
<a href="{{ .Permalink }}">Read the latest dispatch</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
<li>
|
||||
<a href="/music">Music I’ve made</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="/about">More about me</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<section>
|
||||
<hr>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user