From 211d08f9804c70943d7395175f25096483f006d0 Mon Sep 17 00:00:00 2001
From: Jieiku
Date: Sat, 19 Aug 2023 10:39:52 -0700
Subject: Version 2.0.0 Refactor, Add PWA Support
---
config.toml | 28 ++++++++++++++++++----------
1 file changed, 18 insertions(+), 10 deletions(-)
(limited to 'config.toml')
diff --git a/config.toml b/config.toml
index 495a088..09c414d 100644
--- a/config.toml
+++ b/config.toml
@@ -58,13 +58,10 @@ Sitemap = "Plan du site"
404_try_search = "Essayez de rechercher ou"
### go to homepage
404_go_home = "allez à la page d'accueil"
+copyright_override = '© $CURRENT_YEAR $SITE_TITLE • Le contenu du site Web est sous licence CC BY 4.0.'
#[languages.es.translations]
#flag = "🇪🇸"
-#about = "Acerca de"
-#posts = "Publicaciones"
-#categories = "Categorías"
-#tags = "Etiquetas"
[search] # Options specific to elasticlunr search.
index_format = "elasticlunr_json" # elasticlunr_json, elasticlunr_javascript
@@ -138,11 +135,11 @@ sitedesc = false # enables or disables the display of the site description below
headhr = false # show or hide horizontal rule below header
foothr = true # show or hide horizontal rule above footer
-#copyright_start_string = "©"
-#copyright_start_year = 2019 # optional
-#copyright_end_year = "" # optional, recommend leaving unset, zola build will set this to current year by default, can use empty string to omit the year.
-#copyright_entity = "MyName." # optional, if ommited then the config.title is used.
-#copyright_end_string = 'Unless otherwise noted, the content in this website is available under the CC BY-ND 3.0 license.'
+### $CURRENT_YEAR and $SITE_TITLE can be used anywhere within the copyright, you can change their position or you can also delete them and type whatever you want instead.
+#copyright = false # set to false to disable the copyright.
+#copyright_override = '© 2019-$CURRENT_YEAR $SITE_TITLE'
+#copyright_override = '© $CURRENT_YEAR $SITE_TITLE • Website content is licensed CC BY 4.0.'
+
###############################################################################
### meta/seo/analytic tags
@@ -193,6 +190,15 @@ youtube = "channel/your-channel-id"
researchgate = "your-profile-id"
+###############################################################################
+### Commenting System for visitors to leave comments on pages.
+### hyvor talk
+###############################################################################
+
+#comments.hyvor = "9366" # hyvor website id, comment out to disable.
+#comments.hyvorcolor = "os" # set the color property for hyvor
+
+
###############################################################################
### Resource Files
### You can load extra css files if you need to, just separate by comma:
@@ -217,9 +223,12 @@ search_library = 'elasticlunr'
#js_prestyle = "js/prestyle.js"# Bundleable - used to preload: FontAwesome, Katex, external Google Fonts
#js_codecopy = "js/codecopy.js"# Bundleable - copy code block to clipboard button
#js_email = "js/email.js"# Bundleable - obfuscates email address in footer
+#js_swload = "js/sw_load.min.js" # loads the PWA service worker
stylesheets = ["abridge.css"]
+pwa = true # true to load the service worker
+webmanifest = "manifest.json" # Required for PWAs
###############################################################################
### Favicons, comment out a line to disable loading some or all of these if needed.
@@ -227,7 +236,6 @@ stylesheets = ["abridge.css"]
favicon_theme_color = "#333333"
favicon_ms_color = "#333333"
-favicon_webmanifest = "site.webmanifest" # Used for android-chrome-512x512.png and android-chrome-192x192.png
favicon_mask = "safari-pinned-tab.svg" # safari-pinned-tab.svg
favicon_mask_color = "#ff9900"
favicon_svg = "favicon.svg" # favicon.svg
--
cgit v1.3.1