A web blog and personal homepage engine written in Go.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

32 lines
731 B

{{ define "title" }}{{ or .V.title "Blog" }}{{ end }}
{{ define "content" }}
<h1>{{ or .V.title "Blog" }}</h1>
{{ if .V.Multitag.Is }}
<div class="alert alert-secondary">
<small><em>
{{ if .V.Multitag.Include }}
<span class="mr-2">
<strong>Tags:</strong>
{{ range $tag := .V.Multitag.Include }}
<a href="/tagged/{{ $tag }}" class="ml-2">#{{ $tag }}</a>
{{ end }}
</span>
{{ end }}
{{ if .V.Multitag.Exclude }}
<span class="mr-2">
<strong>Not:</strong>
{{ range $tag := .V.Multitag.Exclude }}
<a href="/tagged/{{ $tag }}" class="ml-2">#{{ $tag }}</a>
{{ end }}
</span>
{{ end }}
</em></small>
</div>
{{ end }}
{{ BlogIndex .Request .V.tag .V.privacy }}
{{ end }}