{{ define "title" }}{{ if .Items }}({{ len .Items }}) {{ end }}Intake{{ end }}

{{ define "content" -}}
<article class="center">
<span class="item-title">
<a href="/">Home</a>
[<a href="#">Active</a> | <a href="#">All</a>]
</span>
</article>

{{ if .Items }}
{{ range .Items }}
	{{ template "item" . }}
{{ end }}

<article class="center">
<button>Deactivate All</button>
</article>

{{ else }}
<article class="center">
    <span class="item-title">Feed is empty</span>
</article>
{{ end }}
{{/* end if .Items */}}

{{ end }}
{{/* end define "content" */}}