Formatting
This commit is contained in:
parent
813c12d1d9
commit
9ec66412aa
|
@ -8,16 +8,16 @@
|
||||||
</article>
|
</article>
|
||||||
<ul>
|
<ul>
|
||||||
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||||
{{- if not .Params.hidden }}
|
{{- if not .Params.hidden }}
|
||||||
<li>
|
<li>
|
||||||
<div class="mb:16 py:24 f:fade-30 f:fade-10:hover transition:150ms;ease-in">
|
<div class="mb:16 py:24 f:fade-30 f:fade-10:hover transition:150ms;ease-in">
|
||||||
<a class="f:24 font:semibold" href="{{ .Permalink }}">
|
<a class="f:24 font:semibold" href="{{ .Permalink }}">
|
||||||
<div>{{ .Title }}</div>
|
<div>{{ .Title }}</div>
|
||||||
</a>
|
</a>
|
||||||
<div class="mt:12 f:fade-70"><time>{{ .Date | time.Format (":date_medium") }}</time></div>
|
<div class="mt:12 f:fade-70"><time>{{ .Date | time.Format (":date_medium") }}</time></div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,4 +1,7 @@
|
||||||
<footer class="py:24">
|
<footer class="py:24">
|
||||||
<div class="f:fade-30 f:14 mb:8">{{ .Site.Params.copyright }}</div>
|
<div class="f:fade-30 f:14 mb:8">{{ .Site.Params.copyright }}</div>
|
||||||
<div class="f:fade-60 f:12">Theme <a class="f:bold" href="https://github.com/serkodev/holy" _target="_blank">Holy</a></div>
|
<div class="f:fade-60 f:12">
|
||||||
|
Theme
|
||||||
|
<a class="f:bold" href="https://github.com/serkodev/holy" _target="_blank">Holy</a>
|
||||||
|
</div>
|
||||||
</footer>
|
</footer>
|
|
@ -10,11 +10,11 @@
|
||||||
">
|
">
|
||||||
<div>
|
<div>
|
||||||
<a href="/" class="mr-3 font:extralight">
|
<a href="/" class="mr-3 font:extralight">
|
||||||
{{ if not .Site.Params.HeaderTitle }}
|
{{ if not .Site.Params.HeaderTitle }}
|
||||||
{{ .Site.Title }}
|
{{ .Site.Title }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ .Site.Params.HeaderTitle }}
|
{{ .Site.Params.HeaderTitle }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
<div class="mb:12 py:8">
|
<div class="mb:12 py:8">
|
||||||
<a class="f:18! font:semibold! f:fade-30! text-decoration:none f:fade-10!:hover transition:150ms;ease-in" href="{{ .url }}">
|
<a class="f:18! font:semibold! f:fade-30! text-decoration:none f:fade-10!:hover transition:150ms;ease-in"
|
||||||
|
href="{{ .url }}">
|
||||||
{{ .title }}
|
{{ .title }}
|
||||||
</a>
|
</a>
|
||||||
<div class="mt:12 f:14 f:fade-60"><time>{{ .subTitle }}</time></div>
|
<div class="mt:12 f:14 f:fade-60"><time>{{ .subTitle }}</time></div>
|
||||||
|
|
Loading…
Reference in New Issue