feat(compatibility): improve compatibility for Hugo basic version (#352)

This commit is contained in:
Dillon
2020-05-13 00:45:19 +08:00
committed by GitHub
parent 6aa05a7f3e
commit 762a7e538d
26 changed files with 230 additions and 214 deletions

View File

@@ -1,9 +1,4 @@
@charset 'utf-8';
$home-profile: {{ if .Site.Params.home.profile.enable }}true{{ else }}false{{ end }};
$home-posts: {{ if ne .Site.Params.home.posts.enable false }}true{{ else }}false{{ end }};
$header-normal-mode-desktop: {{ if eq .Site.Params.header.desktopMode "normal" }}true{{ else }}false{{ end }};
$header-normal-mode-mobile: {{ if eq .Site.Params.header.mobileMode "normal" }}true{{ else }}false{{ end }};
@charset "utf-8";
@import "_variables";