Formatting
This commit is contained in:
parent
813c12d1d9
commit
9ec66412aa
|
@ -8,16 +8,16 @@
|
|||
</article>
|
||||
<ul>
|
||||
{{- range where site.RegularPages "Type" "in" site.Params.mainSections }}
|
||||
{{- if not .Params.hidden }}
|
||||
<li>
|
||||
<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 }}">
|
||||
<div>{{ .Title }}</div>
|
||||
</a>
|
||||
<div class="mt:12 f:fade-70"><time>{{ .Date | time.Format (":date_medium") }}</time></div>
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
{{- if not .Params.hidden }}
|
||||
<li>
|
||||
<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 }}">
|
||||
<div>{{ .Title }}</div>
|
||||
</a>
|
||||
<div class="mt:12 f:fade-70"><time>{{ .Date | time.Format (":date_medium") }}</time></div>
|
||||
</div>
|
||||
</li>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -1,4 +1,7 @@
|
|||
<footer class="py:24">
|
||||
<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>
|
|
@ -10,11 +10,11 @@
|
|||
">
|
||||
<div>
|
||||
<a href="/" class="mr-3 font:extralight">
|
||||
{{ if not .Site.Params.HeaderTitle }}
|
||||
{{ .Site.Title }}
|
||||
{{ else }}
|
||||
{{ .Site.Params.HeaderTitle }}
|
||||
{{ end }}
|
||||
{{ if not .Site.Params.HeaderTitle }}
|
||||
{{ .Site.Title }}
|
||||
{{ else }}
|
||||
{{ .Site.Params.HeaderTitle }}
|
||||
{{ end }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<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 }}
|
||||
</a>
|
||||
<div class="mt:12 f:14 f:fade-60"><time>{{ .subTitle }}</time></div>
|
||||
|
|
Loading…
Reference in New Issue