Formatting

This commit is contained in:
ekzyis 2024-04-13 12:31:46 +02:00
parent 813c12d1d9
commit 9ec66412aa
8 changed files with 27 additions and 23 deletions

View File

@ -13,4 +13,4 @@
</div>
</body>
</html>
</html>

View File

@ -8,17 +8,17 @@
</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>
{{ end }}
{{ end }}

View File

@ -14,4 +14,4 @@
</header>
{{- partial "prose.html" . -}}
</article>
{{ end }}
{{ end }}

View File

@ -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>
</footer>
<div class="f:fade-60 f:12">
Theme
<a class="f:bold" href="https://github.com/serkodev/holy" _target="_blank">Holy</a>
</div>
</footer>

View File

@ -26,6 +26,6 @@
--font-sans: "Inter var", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Helvetica Neue, Arial, Noto Sans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
}
</style>
{{- partial "head-extra.html" . -}}
</head>

View File

@ -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>

View File

@ -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>

View File

@ -37,4 +37,4 @@
_:where(hr){h:2;_bg:fade-10;_bg:fade-70@dark;_my:3em}
">
{{- .Content -}}
</div>
</div>