dev-to icon added, footer text markdownify

This commit is contained in:
zzossig 2020-02-01 14:49:13 +09:00
parent a76f371a81
commit 48b5281a35
6 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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.

View File

@ -41,4 +41,5 @@ socialOptions:
whatsapp: ""
matrix: ""
xmpp: ""
dev-to: ""
---

View File

@ -142,6 +142,7 @@ commento = false
whatsapp = ""
matrix = ""
xmpp = ""
dev-to = ""
[donationOptions]
enable = false

View File

@ -13,9 +13,9 @@
{{ $rightString := replace (index (split $.Site.Copyright "{}") 1) "{year}" now.Year }}
{{ if and ($.Site.Params.copyrightOptions.copyrightLinkImage) ($.Site.Params.copyrightOptions.copyrightLinkText) }}
<a rel="license" href="{{ $.Site.Params.copyrightOptions.copyrightLink }}" class="footer__copyright--img"><img alt="{{ $.Site.Params.copyrightOptions.copyrightLinkText }}" style="border-width:0" src="{{ $.Site.Params.copyrightOptions.copyrightLinkImage }}"/></a>{{ $leftString }}<a rel="license" href="{{ $.Site.Params.copyrightOptions.copyrightLink }}">{{ $.Site.Params.copyrightOptions.copyrightLinkText }}</a>{{ $rightString }}
<a rel="license" href="{{ $.Site.Params.copyrightOptions.copyrightLink }}" class="footer__copyright--img"><img alt="{{ $.Site.Params.copyrightOptions.copyrightLinkText }}" style="border-width:0" src="{{ $.Site.Params.copyrightOptions.copyrightLinkImage }}"/></a>{{ $leftString | markdownify }}<a rel="license" href="{{ $.Site.Params.copyrightOptions.copyrightLink }}">{{ $.Site.Params.copyrightOptions.copyrightLinkText }}</a>{{ $rightString | markdownify }}
{{ else }}
{{ $leftString }}<a rel="license" href="{{ $.Site.Params.copyrightOptions.copyrightLink }}">{{ $.Site.Params.copyrightOptions.copyrightLinkText }}</a>{{ $rightString }}
{{ $leftString | markdownify }}<a rel="license" href="{{ $.Site.Params.copyrightOptions.copyrightLink }}">{{ $.Site.Params.copyrightOptions.copyrightLinkText }}</a>{{ $rightString | markdownify }}
{{ end }}
{{ else }}
{{ with $.Site.Copyright }}{{ replace . "{year}" now.Year | markdownify}}{{ end }}

View File

@ -0,0 +1 @@
<svg fill="currentColor" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="{{ .width }}" height="{{ .height }}"><path d="M 2 7 L 2 25 L 30 25 L 30 7 L 2 7 z M 4 9 L 28 9 L 28 23 L 4 23 L 4 9 z M 6 11 L 6 21 L 9 21 C 10.654 21 12 19.654 12 18 L 12 14 C 12 12.346 10.654 11 9 11 L 6 11 z M 16 11 C 14.897 11 14 11.897 14 13 L 14 19 C 14 20.103 14.897 21 16 21 L 18 21 L 18 19 L 16 19 L 16 17 L 18 17 L 18 15 L 16 15 L 16 13 L 18 13 L 18 11 L 16 11 z M 19.691406 11 L 21.775391 20.025391 C 21.907391 20.595391 22.415 21 23 21 C 23.585 21 24.092609 20.595391 24.224609 20.025391 L 26.308594 11 L 24.255859 11 L 23 16.439453 L 21.744141 11 L 19.691406 11 z M 8 13 L 9 13 C 9.552 13 10 13.448 10 14 L 10 18 C 10 18.552 9.552 19 9 19 L 8 19 L 8 13 z"/></svg>

After

Width:  |  Height:  |  Size: 763 B