Added a links section

This commit is contained in:
Leon Mika 2024-03-16 10:09:48 +11:00
parent 0a0c5f9acf
commit b20a1e836a
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,10 @@
<div class="sidebar-item">
<header>
<h1>{{ .title }}</h1>
</header>
<ul class="blogroll">
{{ range .links }}
<li><a href="{{ .url }}">{{ .name }}: <span>{{ (urls.Parse .url).Hostname }}</span></a></li>
{{ end }}
</ul>
</div>