{{ define "main" }}
    <article>
        <h2>{{ .Title }}</h2>
        <p><small>Published: {{ .Date.Format "January 2, 2006" }}</small></p>
        {{ if .Params.tags }}
            <p>
                Tags: 
                {{ range .Params.tags }}
                    <a href="{{ "/tags/" | relLangURL }}{{ . | urlize }}">{{ . }}</a> 
                {{ end }}
            </p>
        {{ end }}
        <div>
            {{ .Content }}
        </div>
    </article>
{{ end }}
