aboutsummaryrefslogtreecommitdiff
path: root/config.toml
diff options
context:
space:
mode:
authorJieiku2022-07-21 13:18:15 -0700
committerJieiku2022-07-21 13:18:15 -0700
commit72ed630089e1aaa7d8ed88fd3b4d03d55af52326 (patch)
tree463d7986b0d12467515bdb2893fbc8bb00a827fb /config.toml
parentef6a407d837940704f5bb6137b77954f63eb74df (diff)
downloadabridge-72ed630089e1aaa7d8ed88fd3b4d03d55af52326.tar.gz
abridge-72ed630089e1aaa7d8ed88fd3b4d03d55af52326.tar.bz2
abridge-72ed630089e1aaa7d8ed88fd3b4d03d55af52326.zip
email obfuscation
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.toml b/config.toml
index 4bb8d87..beb8f22 100644
--- a/config.toml
+++ b/config.toml
@@ -99,6 +99,7 @@ js_search_index = "search_index.en.js" # Separate Always, generated each build
js_prestyle = "prestyle.js"# Bundleable - used to preload: FontAwesome, Katex, external Google Fonts
js_search = [ "elasticlunr.min.js", "search.js" ]# Bundleable
js_codecopy = "codecopy.js"# Bundleable
+js_email = "email.js"# Bundleable
########## Switcher ########## (comment this block out if NOT using switcher):
js_theme = "theme.min.js" # Separate Always, comment out if using -auto/-light/-dark stylesheet. (required for switcher)
@@ -130,8 +131,8 @@ stylesheets = [ "abridge-switcher.css" ] # Orange Automatic Dark/Light Theme bas
# You can include whatever js you want in your bundle. just generate your file like below and place in your sites root static directory:
# cd mysite/themes/abridge/static
# search: uglifyjs elasticlunr.min.js search.js -o search.min.js -c -m
-# noswitcher: uglifyjs prestyle.js codecopy.js elasticlunr.min.js search.js -o abridge.min.js -c -m
-# ALL: uglifyjs prestyle.js codecopy.js theme_button.js elasticlunr.min.js search.js -o abridge-switcher.min.js -c -m
+# noswitcher: uglifyjs prestyle.js email.js codecopy.js elasticlunr.min.js search.js -o abridge.min.js -c -m
+# ALL: uglifyjs prestyle.js theme_button.js email.js codecopy.js elasticlunr.min.js search.js -o abridge-switcher.min.js -c -m
# theme: uglifyjs theme.js -o theme.min.js -c -m
# katex_bundle: uglifyjs katex.min.js mathtex-script-type.min.js auto-render.min.js katexoptions.js -o katexbundle.min.js -c -m
@@ -203,6 +204,7 @@ seo = true # enable or disable seo-related meta tags: opengraph, facebook, twit
# Footer social links; full options listed in macros/social.html
[extra.social]
feed = true
+mail_encode = true # This obfuscates your email address, javascript is used to decode it at page load.
mail = "name@example.com"
mastodon = "@your-user-name"
element = "matrix.example.com"