This commit is contained in:
wangbudui 2020-01-09 09:34:04 +08:00
parent 792d47afbc
commit cd085279f8
9 changed files with 35 additions and 5 deletions

View File

@ -8,7 +8,7 @@
{{ .Content }}
{{ $optBlock := dict "display" "block" }}
{{ "**精选:**" | .RenderString $optBlock }}
{{ "**精选:**" | markdownify }}
<ul>
{{ range (where .Site.RegularPages "Section" "!=" "") }}
{{ if .Params.spotlight }}
@ -20,7 +20,7 @@
{{ end }}
</ul>
{{ "**分类:**" | .RenderString $optBlock }}
{{ "**分类:**" | markdownify }}
<div>
{{ range $tagName, $taxonomy := .Site.Taxonomies.categories }}
@ -31,7 +31,7 @@
{{ end }}
{{ end }}
</div>
{{ .Page.Site.Params.HomeDesc | .RenderString $optBlock }}
{{ .Page.Site.Params.HomeDesc | markdownify }}
</div>

View File

@ -5,4 +5,6 @@
{{ $style := resources.Get "css/styles.css" | postCSS (dict "config" "./assets/css/postcss.config.js") | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}">
{{ end }}
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" type="text/css" href="/AflB-FG_Virgil-embed.css">

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 }}">Wrong.Wang</a></h1>
<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>
<p class="font-thin italic">前进</p>
</div>
<input id="menu-check" type="checkbox" class="hidden" />

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,14 @@
@font-face {
font-family: "AflB-FG_Virgil";
src: url("AflB-FG_Virgil.eot"); /* IE9 */
src: url("AflB-FG_Virgil.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */
url("AflB-FG_Virgil.woff") format("woff"), /* chrome、firefox */
url("AflB-FG_Virgil.ttf") format("truetype"), /* chrome、firefox、opera、Safari, Android, iOS 4.2+ */
url("AflB-FG_Virgil.svg#AflB-FG_Virgil") format("svg"); /* iOS 4.1- */
font-style: normal;
font-weight: normal;
}

Binary file not shown.

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Binary file not shown.