Przeglądaj źródła

refactor: move fallback theme from config to theme parser

George Cushen 3 lat temu
rodzic
commit
273bbe2370

+ 5 - 3
starters/markdown-slides/config/_default/params.yaml

@@ -6,9 +6,9 @@
 # Appearance
 
 appearance:
-  theme_day:
-  theme_night:
-  font:
+  theme_day: minimal
+  theme_night: minimal
+  font: minimal
   font_size: L
 
 # SEO
@@ -48,6 +48,8 @@ locale:
 features:
   privacy_pack: false
 
+require_isotope: false
+
 marketing:
   google_analytics: ''
   google_tag_manager: ''

+ 0 - 2
wowchemy/config.yaml

@@ -52,8 +52,6 @@ security:
       - ^HUGO_
       - ^WC_
 params:
-  theme: minimal
-  font: native
   locale:
     date_format: 'Jan 2, 2006'
     time_format: '3:04 PM'

+ 0 - 1
wowchemy/layouts/index.json

@@ -2,7 +2,6 @@
 {{- $index := slice -}}
 {{- $pages := site.RegularPages -}}
 {{- /* Add the index page of multi-page content separately since it's not in RegularPages above. */ -}}
-{{- $pages := $pages | union (where (where site.Pages "Kind" "section") "Type" "docs") -}}
 {{- $pages := $pages | union (where (where site.Pages "Kind" "section") "Type" "book") -}}
 {{- /* Add author pages to index so their bios can be searched. Hide empty `/authors/` node. */ -}}
 {{- $pages := $pages | union (where (where site.Pages "Section" "authors") "Params.superuser" "!=" nil) -}}