no need to be global here
This commit is contained in:
parent
4bb3052d17
commit
bfe749bfdb
@ -2,7 +2,7 @@
|
|||||||
<div class="article-meta">
|
<div class="article-meta">
|
||||||
<h1><span class="title">{{ .Title }}</span></h1>
|
<h1><span class="title">{{ .Title }}</span></h1>
|
||||||
{{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }}
|
{{ with .Params.author }}<h2 class="author">{{ . }}</h2>{{ end }}
|
||||||
{{ if .Params.date }}<h2 class="date">{{ $.Date.Format "2006/01/02" }}</h2>{{ end }}
|
{{ if .Params.date }}<h2 class="date">{{ .Date.Format "2006/01/02" }}</h2>{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
Loading…
Reference in New Issue
Block a user