blob: 01e8124f33c5ba657d275be8d3c157166e45847c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<header class="article-info clearfix">
<h1 itemprop="name">
<a href="{{ .Permalink }}" title="{{ .Title }}" itemprop="url">{{ .Title }}</a>
</h1>
<p class="article-author">By
{{ if and (isset .Params "Author") (isset .Params "AuthorHomepage") }}
<a href="{{ .Params.AuthorHomepage }}" title="{{ .Params.Author }}">{{ .Params.Author }}</a>
{{ else }}
<a href="{{ .Site.Params.AuthorHomepage }}" title="{{ .Site.Params.Author }}">{{ .Site.Params.Author }}</a>
{{ end }}
</p>
<p class="article-time">
<time datetime="{{ .Date }}" itemprop="datePublished">{{ .Date.Format .Site.Params.DateFormat }}</time>
</p>
</header>
|