mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 20:16:48 +00:00
refactor: move fallback theme from config to theme parser
This commit is contained in:
1 parent
6d6b4b4c83
commit
273bbe2370
3 files changed
+5
-6
No files matched your search
@@ -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: ''
|
||||
|
||||
@@ -52,8 +52,6 @@ security:
|
||||
- ^HUGO_
|
||||
- ^WC_
|
||||
params:
|
||||
theme: minimal
|
||||
font: native
|
||||
locale:
|
||||
date_format: 'Jan 2, 2006'
|
||||
time_format: '3:04 PM'
|
||||
|
||||
@@ -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) -}}
|
||||
|
||||
Reference in new issue
Block a user