This commit is contained in:
2020-01-09 13:04:38 +08:00
parent cd085279f8
commit baa292f66a
7 changed files with 8 additions and 598 deletions

View File

@@ -8,7 +8,7 @@
{{ .Content }}
{{ $optBlock := dict "display" "block" }}
{{ "**精选:**" | markdownify }}
<p>{{ "**精选:**" | markdownify }}</p>
<ul>
{{ range (where .Site.RegularPages "Section" "!=" "") }}
{{ if .Params.spotlight }}
@@ -20,9 +20,9 @@
{{ end }}
</ul>
{{ "**分类:**" | markdownify }}
<div>
<p>{{ "**分类:**" | markdownify }}</p>
<p class="pl-4">
{{ range $tagName, $taxonomy := .Site.Taxonomies.categories }}
{{ with $.Site.GetPage (printf "%s/%s" "categories" $tagName) }}
<span class="inline-block mr-3">
@@ -30,8 +30,8 @@
</span>
{{ end }}
{{ end }}
</div>
{{ .Page.Site.Params.HomeDesc | markdownify }}
</p>
<p>{{ .Page.Site.Params.HomeDesc | markdownify }}</p>
</div>

View File

@@ -1,7 +1,7 @@
<header
class="flex flex-col relative border-black border-b-4 md:border-none pb-6 mx-4 md:mx-0 md:w-1/5 md:text-right md:pr-8 bg-white md:text-center">
<div class="">
<h1 class="text-4xl md:my-12 mt-4 md:mb-12"><a href="{{ .Site.BaseURL }}" style="font-family: AflB-FG_Virgil;">wrong.wang</a></h1>
<h1 class="text-3xl md:my-12 mt-4 md:mb-12"><a href="{{ .Site.BaseURL }}" style="font-family: AflB-FG_Virgil;">wrong.wang</a></h1>
<p class="font-thin italic">前进</p>
</div>
<input id="menu-check" type="checkbox" class="hidden" />