<header class="article-header">
    <a href="{{ .Permalink }}">
    <h1 class="article-title" itemprop="name">
        {{ .Title }}
    </h1>
    </a>
    <div class="article-meta">
        <div class="article-date">
            <i class="fa fa-calendar"></i>
            <time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.date_format }}</time>
            &middot;
            {{ .WordCount }}
            {{ with .Site.Data.l10n.articles.words }}{{.}}{{end}}
            &middot;
            {{ .ReadingTime }}
            {{ with .Site.Data.l10n.articles.readingtime }}{{.}}{{end}}
        </div>
        <div class="article-category">
            {{ range .Params.categories }}
            <i class="fa fa-folder"></i>
            <a class="article-category-link" href="{{ $.Site.BaseURL }}categories/{{ . | urlize | lower }}">{{ . }}</a>
            {{ end }}
        </div>
    </div>
</header>

<header class="article-header">
    <a href="{{ .Permalink }}">
    <h1 class="article-title" itemprop="name">
        {{ .Title }}
    </h1>
    </a>
    <div class="article-meta">
        <div class="article-date">
            <i class="fa fa-calendar"></i>
            <time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.date_format }}</time>
            &middot;
            {{ .WordCount }}
            {{ with .Site.Data.l10n.articles.words }}{{.}}{{end}}
            &middot;
            {{ .ReadingTime }}
            {{ with .Site.Data.l10n.articles.readingtime }}{{.}}{{end}}
        </div>
        {{ $categoryLen := len .Params.categories }}
        {{ if gt $categoryLen 0 }}
        <div class="article-category">
            <i class="fa fa-folder"></i>
            {{ range $k, $v := .Params.categories }}
            <a class="article-category-link" href="{{ $.Site.BaseURL }}categories/{{ . | urlize | lower }}">{{ . }}</a>
            {{ if lt $k (sub $categoryLen 1) }}&middot;{{ end }}
            {{ end }}
        </div>
        {{ end }}

        {{ $tagsLen := len .Params.tags }}
        {{ if gt $tagsLen 0 }}
        <div class="article-category">
            <i class="fa fa-tags"></i>
            {{ range $k, $v := .Params.tags }}
            <a class="article-category-link" href="{{ $.Site.BaseURL }}tags/{{ . | urlize | lower }}">{{ . }}</a>
            {{ if lt $k (sub $tagsLen 1) }}&middot;{{ end }}
            {{ end }}
        </div>
        {{ end }}
    </div>
</header>

Add tags to post header
Add tags to post header
