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

github.com/zerostaticthemes/hugo-serif-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter van Heusden <pvh@sanbi.ac.za>2020-10-28 13:03:11 +0300
committerPeter van Heusden <pvh@sanbi.ac.za>2020-10-28 13:03:11 +0300
commit0636bc25f9b690e74594aa16a59de33ed9d6c249 (patch)
treeba3a4abfd67dfd388e11e855652caf65b0c39137
parent95b9ecdee64af00e63eec164c7d0f54a964d4883 (diff)
Add view all servies / bio length options to config and stackbit
-rw-r--r--config.toml4
-rw-r--r--stackbit.yaml10
2 files changed, 14 insertions, 0 deletions
diff --git a/config.toml b/config.toml
index a7d5bd8..9b694ec 100644
--- a/config.toml
+++ b/config.toml
@@ -9,6 +9,7 @@ title = "Hugo Serif Theme"
[params.homepage]
show_call_box = true
+ hide_view_all_services = false # set to true to hide the View All Services button
[params.logo]
mobile = "images/logo/logo-mobile.svg"
@@ -27,6 +28,9 @@ title = "Hugo Serif Theme"
meta_twitter_site = "@zerostaticio"
meta_twitter_creator = "@zerostaticio"
+ [params.team]
+ summary_large_truncate = 120 # How many characters to include in the summary of the team bios (large layout) before truncating
+
[params.footer]
copyright_text = 'Free Hugo theme by <a class="zerostatic" href="https://www.zerostatic.io">www.zerostatic.io</a>'
diff --git a/stackbit.yaml b/stackbit.yaml
index 065eb36..252fe2d 100644
--- a/stackbit.yaml
+++ b/stackbit.yaml
@@ -55,6 +55,9 @@ models:
- type: boolean
name: show_call_box
label: Show Callbox on Homepage?
+ - type: boolean
+ name: hide_view_all_services
+ label: Show View All Services button on Homepage?
- type: object
name: logo
label: Params Logo
@@ -106,6 +109,13 @@ models:
name: meta_twitter_creator
label: meta_twitter_creator
- type: object
+ name: team
+ label: Team Page Params
+ fields:
+ - type: number
+ name: summary_large_truncate
+ label: Length (chars) of bio text
+ - type: object
name: footer
label: Footer
fields: