From 72ed630089e1aaa7d8ed88fd3b4d03d55af52326 Mon Sep 17 00:00:00 2001 From: Jieiku Date: Thu, 21 Jul 2022 13:18:15 -0700 Subject: email obfuscation --- config.toml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config.toml') 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" -- cgit v1.3.1