From 48b5281a35aa54a55689db913f0529bb5623bb45 Mon Sep 17 00:00:00 2001 From: zzossig Date: Sat, 1 Feb 2020 14:49:13 +0900 Subject: [PATCH] dev-to icon added, footer text markdownify --- README.ko.md | 1 + README.md | 1 + archetypes/author.md | 1 + exampleSite/config/_default/params.toml | 1 + layouts/partials/footer/site-footer.html | 4 ++-- layouts/partials/svgs/social/dev-to.svg | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/svgs/social/dev-to.svg diff --git a/README.ko.md b/README.ko.md index 1817e27..0147ed1 100644 --- a/README.ko.md +++ b/README.ko.md @@ -373,6 +373,7 @@ commento = false whatsapp = "" matrix = "" xmpp = "" + dev-to = "" [donationOptions] enable = false # if set, the donation button will show up on the single page. diff --git a/README.md b/README.md index 08aeabc..497fb97 100644 --- a/README.md +++ b/README.md @@ -364,6 +364,7 @@ commento = false whatsapp = "" matrix = "" xmpp = "" + dev-to = "" [donationOptions] enable = false # if set, the donation button will show up on the single page. diff --git a/archetypes/author.md b/archetypes/author.md index 5f6f0e2..115f30a 100644 --- a/archetypes/author.md +++ b/archetypes/author.md @@ -41,4 +41,5 @@ socialOptions: whatsapp: "" matrix: "" xmpp: "" + dev-to: "" --- diff --git a/exampleSite/config/_default/params.toml b/exampleSite/config/_default/params.toml index 6f8f98d..107fc84 100644 --- a/exampleSite/config/_default/params.toml +++ b/exampleSite/config/_default/params.toml @@ -142,6 +142,7 @@ commento = false whatsapp = "" matrix = "" xmpp = "" + dev-to = "" [donationOptions] enable = false diff --git a/layouts/partials/footer/site-footer.html b/layouts/partials/footer/site-footer.html index 5ff521c..6b63efe 100644 --- a/layouts/partials/footer/site-footer.html +++ b/layouts/partials/footer/site-footer.html @@ -13,9 +13,9 @@ {{ $rightString := replace (index (split $.Site.Copyright "{}") 1) "{year}" now.Year }} {{ if and ($.Site.Params.copyrightOptions.copyrightLinkImage) ($.Site.Params.copyrightOptions.copyrightLinkText) }} - {{ $.Site.Params.copyrightOptions.copyrightLinkText }}{{ $leftString }}{{ $.Site.Params.copyrightOptions.copyrightLinkText }}{{ $rightString }} + {{ $.Site.Params.copyrightOptions.copyrightLinkText }}{{ $leftString | markdownify }}{{ $.Site.Params.copyrightOptions.copyrightLinkText }}{{ $rightString | markdownify }} {{ else }} - {{ $leftString }}{{ $.Site.Params.copyrightOptions.copyrightLinkText }}{{ $rightString }} + {{ $leftString | markdownify }}{{ $.Site.Params.copyrightOptions.copyrightLinkText }}{{ $rightString | markdownify }} {{ end }} {{ else }} {{ with $.Site.Copyright }}{{ replace . "{year}" now.Year | markdownify}}{{ end }} diff --git a/layouts/partials/svgs/social/dev-to.svg b/layouts/partials/svgs/social/dev-to.svg new file mode 100644 index 0000000..b3c5a58 --- /dev/null +++ b/layouts/partials/svgs/social/dev-to.svg @@ -0,0 +1 @@ + \ No newline at end of file