From 8384f0248367febcf961d2eb2d0c2adff5292d97 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=B6rner?= Date: Thu, 14 Sep 2017 17:11:46 +0200 Subject: fix: allow all url protocols in social and menu links (#4) Adding "| safeURL" allows the usage of "unsafe" url protocols such as irc:// or xmpp:// --- exampleSite/config.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'exampleSite') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 970a32f..71e8c06 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -84,7 +84,7 @@ copyright = "" # default: author.name ↓ # 默认为下面配 alipay = "/path/to/your/alipay-qr-code.png" # 支付宝二维码 [params.social] # 社交链接 - a-email = "your@email.com" + a-email = "mailto:your@email.com" b-stack-overflow = "http://localhost:1313" c-twitter = "http://localhost:1313" d-facebook = "http://localhost:1313" -- cgit v1.2.3