Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zzossig/hugo-theme-zzo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorzzossig <zzossig@gmail.com>2019-11-17 14:01:09 +0300
committerzzossig <zzossig@gmail.com>2019-11-17 14:01:09 +0300
commit3ef420597a103f30e2a8ffc8a974cdef602e5dd7 (patch)
tree817b060f5a85ef6c926607e12adaa2e0aee26747 /data
parent41460dd49bdf254670a5e8c4a9692bdd5b9802fa (diff)
gvatar support, sticky sidebar, archive pagination, number pagination support, pwa more score,
Diffstat (limited to 'data')
-rw-r--r--data/_config/_default/config.toml1
-rw-r--r--data/_config/_default/params.toml19
-rw-r--r--data/grid.toml12
-rw-r--r--data/lib.toml8
-rw-r--r--data/skin.toml3
5 files changed, 29 insertions, 14 deletions
diff --git a/data/_config/_default/config.toml b/data/_config/_default/config.toml
index ba5fe9f..f8e94c6 100644
--- a/data/_config/_default/config.toml
+++ b/data/_config/_default/config.toml
@@ -8,7 +8,6 @@ hasCJKLanguage = true
summaryLength = 70
-googleAnalytics = ""
copyright = "&copy;{year}, All Rights Reserved"
timeout = 10000
enableEmoji = true
diff --git a/data/_config/_default/params.toml b/data/_config/_default/params.toml
index c1568a0..413238c 100644
--- a/data/_config/_default/params.toml
+++ b/data/_config/_default/params.toml
@@ -1,11 +1,11 @@
logoText = "Zzo"
description = "The Zzo theme for Hugo example site."
-custom_css = ["css/custom.css", "scss/custom.scss"]
-custom_js = ["js/custom.js"]
+custom_css = []
+custom_js = []
# header
homeHeaderType = "slide" # text, img, slide
-swiperCount = 3 # only works homeHeaderType = slide
+swiperCount = 3 # only works when homeHeaderType = slide
# body
enableBreadcrumb = true
@@ -15,9 +15,18 @@ enableMark = true
enableGoToTop = true
enableWhoami = true
summaryShape = "card" # card, classic, compact
-archiveGroupByDate = "2006-01" # "2006-01": group by month, "2006": group by year
+archiveGroupByDate = "2006" # "2006-01": group by month, "2006": group by year
+archivePaginate = 20
+paginateWindow = 1
+
+# whoami
myname = "zzossig"
-whoami = "Let me introduce my self"
+email = "zzossig@gmail.com"
+whoami = "Web Developer"
+useGravatar = false
+location = "Seoul, Korea"
+organization = "Hugo"
+link = "https://github.com/zzossig/hugo-theme-zzo"
# sidebar
enableBio = true
diff --git a/data/grid.toml b/data/grid.toml
index d1b701e..d8a2f17 100644
--- a/data/grid.toml
+++ b/data/grid.toml
@@ -1,8 +1,10 @@
-grid_max_width = "960px"
+grid_max_width = "960"
+grid_max_unit = "px" # "px", "\"%\"" Using% is limited to using full width.
grid_main_main_width = "5"
-grid_main_main_unit = "fr"
+grid_main_main_unit = "fr" # "fr", "px"
grid_main_side_width = "2"
-grid_main_side_unit = "fr"
-grid_navbar_height = "50px"
-grid_column_gap = "1.5rem"
+grid_main_side_unit = "fr" # "fr", "px"
+grid_column_gap_width = "32"
+grid_column_gap_unit = "px" # "px"
+grid_navbar_height = "50px" # "px"
grid_row_gap = "0" \ No newline at end of file
diff --git a/data/lib.toml b/data/lib.toml
index 1de75c2..60fd1b4 100644
--- a/data/lib.toml
+++ b/data/lib.toml
@@ -23,7 +23,9 @@
sri = "sha256-3Fdoa5wQb+JYfEmTpQHx9sc/GuwpfC/0R9EpBki+mf8="
url = "https://cdn.jsdelivr.net/npm/mathjax@3.0.0/es5/tex-chtml.js"
-
+[js.swiper]
+ sri = "sha256-ZATCxHgcbalqi3AxHm7sPmwbfs3oZ4feGmCARVDmXig="
+ url = "https://cdn.jsdelivr.net/npm/swiper@5.2.0/js/swiper.min.js"
@@ -32,7 +34,9 @@
sri = "sha256-V8SV2MO1FUb63Bwht5Wx9x6PVHNa02gv8BgH/uH3ung="
url = "https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css"
-
+[css.swiper]
+ sri = "sha256-s2QA0JtYEOOqRUyzKN+k2a/RxcimDuF2HZBdsosQRbM="
+ url = "https://cdn.jsdelivr.net/npm/swiper@5.2.0/css/swiper.min.css"
diff --git a/data/skin.toml b/data/skin.toml
index 9cecd68..f62d970 100644
--- a/data/skin.toml
+++ b/data/skin.toml
@@ -98,4 +98,5 @@ subs_button_color = "inherit"
subs_button_background_color = "inherit"
subs_button_hover_background_color = "inherit"
gallery_mask_color = "inherit"
-gallery_mask_background_color = "inherit" \ No newline at end of file
+gallery_mask_background_color = "inherit"
+avatar_background_color = "inherit" \ No newline at end of file