remove tag.html and whitespace fixes
This commit is contained in:
@@ -1,14 +1,11 @@
|
||||
{{ partial "header.html" . }}
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
{{ partial "header.html" . -}}
|
||||
<header><h1 id="tag_{{ .Title }}">{{ .Title | title }}</h1></header>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
{{ .Content -}}
|
||||
<ul>
|
||||
{{ range.Pages }}
|
||||
<li>
|
||||
<time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> –
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{- range.Pages }}
|
||||
<li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end -}}
|
||||
</ul>
|
||||
</article>
|
||||
{{ partial "footer.html" . }}
|
||||
{{- partial "footer.html" . }}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{{ partial "header.html" . }}
|
||||
<header><h1>{{ with .Params.icon }}<img src="/pix/{{ . }}" class=titleicon>{{ end }}{{ .Title }}</h1></header>
|
||||
<article>{{ with .Params.img }}<img src="/pix/{{ . }}" class=titleimg>{{ end }}
|
||||
{{ .Content }}
|
||||
{{ partial "header.html" . -}}
|
||||
<header><h1>{{ .Title }}</h1></header>
|
||||
<article>
|
||||
{{ .Content -}}
|
||||
</article>
|
||||
{{ partial "footer.html" . }}
|
||||
|
@@ -1,9 +0,0 @@
|
||||
{{ partial "header.html" . }}
|
||||
<header><h1 id="tag_{{ .Title }}">{{ .Title | title }}</h1></header>
|
||||
<article>
|
||||
{{ .Content }}
|
||||
<ul class=tagartlist>
|
||||
{{ range.Pages }}<li><time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006 Jan 02" }}</time> – <a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
|
||||
{{ end }}</ul>
|
||||
</article>
|
||||
{{ partial "footer.html" . }}
|
Reference in New Issue
Block a user