From a34386387ce84ba591c2a477ca42f04e2cc19492 Mon Sep 17 00:00:00 2001 From: kimcc <15278020+kimcc@users.noreply.github.com> Date: Sun, 23 Feb 2020 13:46:51 -0600 Subject: [PATCH] changed links to https & set raw html to display in example config --- exampleSite/config.toml | 4 ++ exampleSite/content/posts/emoji-support.md | 2 +- exampleSite/content/posts/placeholder-text.md | 2 +- layouts/index.html | 4 +- layouts/partials/social.html | 44 +++++++++---------- static/safari-pinned-tab.svg | 4 +- 6 files changed, 32 insertions(+), 28 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index ad60c83..1965858 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -12,6 +12,10 @@ summaryLength = 10 # Configure how long the post summary should be on the homepa [author] name = "kimcc" +# Set to false to disallow raw HTML in markdown files +[markup.goldmark.renderer] + unsafe = true + [params] math = true # Blog description at the top of the homepage. Supports markdown. diff --git a/exampleSite/content/posts/emoji-support.md b/exampleSite/content/posts/emoji-support.md index dc9025b..d64f744 100755 --- a/exampleSite/content/posts/emoji-support.md +++ b/exampleSite/content/posts/emoji-support.md @@ -17,7 +17,7 @@ To enable emoji globally, set `enableEmoji` to `true` in your site’s [configur

πŸ™ˆ :see_no_evil: πŸ™‰ :hear_no_evil: πŸ™Š :speak_no_evil:


-The [Emoji cheat sheet](http://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. +The [Emoji cheat sheet](https://www.emoji-cheat-sheet.com/) is a useful reference for emoji shorthand codes. *** diff --git a/exampleSite/content/posts/placeholder-text.md b/exampleSite/content/posts/placeholder-text.md index 16769e3..ebe992c 100755 --- a/exampleSite/content/posts/placeholder-text.md +++ b/exampleSite/content/posts/placeholder-text.md @@ -33,7 +33,7 @@ tractus malis. # Vagus elidunt - + [The Van de Graaf Canon](https://en.wikipedia.org/wiki/Canons_of_page_construction#Van_de_Graaf_canon) diff --git a/layouts/index.html b/layouts/index.html index a037f3f..59138e0 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -37,7 +37,7 @@
{{ if $paginator.HasPrev }} - + @@ -49,7 +49,7 @@ {{ if $paginator.HasNext }} Older - + diff --git a/layouts/partials/social.html b/layouts/partials/social.html index bbc230b..6fa4e12 100644 --- a/layouts/partials/social.html +++ b/layouts/partials/social.html @@ -1,7 +1,7 @@
{{ if isset .Site.Params "email" }} @@ -9,7 +9,7 @@ {{ if isset .Site.Params "facebook" }} @@ -17,7 +17,7 @@ {{ if isset .Site.Params "twitter" }} @@ -25,7 +25,7 @@ {{ if isset .Site.Params "instagram" }} @@ -33,7 +33,7 @@ {{ if isset .Site.Params "tumblr" }} @@ -41,7 +41,7 @@ {{ if isset .Site.Params "reddit" }} @@ -49,7 +49,7 @@ {{ if isset .Site.Params "pinterest" }} @@ -57,7 +57,7 @@ {{ if isset .Site.Params "youtube" }} @@ -65,7 +65,7 @@ {{ if isset .Site.Params "weibo" }} @@ -73,7 +73,7 @@ {{ if isset .Site.Params "vk" }} @@ -81,7 +81,7 @@ {{ if isset .Site.Params "linkedin" }} @@ -89,7 +89,7 @@ {{ if isset .Site.Params "medium" }} @@ -97,7 +97,7 @@ {{ if isset .Site.Params "blogger" }} @@ -105,7 +105,7 @@ {{ if isset .Site.Params "wordpress" }} @@ -113,7 +113,7 @@ {{ if isset .Site.Params "dribbble" }} @@ -121,7 +121,7 @@ {{ if isset .Site.Params "behance" }} @@ -129,7 +129,7 @@ {{ if isset .Site.Params "deviantart" }} @@ -137,7 +137,7 @@ {{ if isset .Site.Params "flickr" }} @@ -145,7 +145,7 @@ {{ if isset .Site.Params "github" }} @@ -153,7 +153,7 @@ {{ if isset .Site.Params "stackoverflow" }} @@ -161,7 +161,7 @@ {{ if isset .Site.Params "gitlab" }} @@ -169,7 +169,7 @@ {{ if isset .Site.Params "codepen" }} diff --git a/static/safari-pinned-tab.svg b/static/safari-pinned-tab.svg index 80ff2da..4198328 100755 --- a/static/safari-pinned-tab.svg +++ b/static/safari-pinned-tab.svg @@ -1,7 +1,7 @@ - +