remove tag.html and whitespace fixes
This commit is contained in:
parent
c9145df04f
commit
07c8d9debf
@ -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" . }}
|
@ -1,4 +1,4 @@
|
||||
{{ partial "taglist.html" . }}
|
||||
{{ partial "taglist.html" . -}}
|
||||
</main>
|
||||
<footer>
|
||||
<a href="{{ .Site.BaseURL }}">{{ .Site.BaseURL }}</a><br><br>
|
||||
|
@ -15,7 +15,7 @@
|
||||
<meta charset="utf-8">
|
||||
</head>
|
||||
<body>
|
||||
{{ if .Site.Menus.main -}}
|
||||
{{- if .Site.Menus.main }}
|
||||
{{ partial "nav.html" . }}
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
<main>
|
||||
|
Loading…
Reference in New Issue
Block a user