{{ 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 }}
