<header class="flex-date">
    {{ .Inner }}
    <span class="date">
        {{ if .IsNamedParams }}
            {{ with .Get "from" }}
            <time datetime="{{ . }} ">{{ . }}</time>
            {{ end }}
            to
            {{ with .Get "to" }}
            <time datetime="{{ . }}">{{ . }}</time>
            {{ else }}
            present
            {{ end }}
        {{ else }}
            {{ .Get 0 }}
        {{ end }}
    </span>
</header>