Add Medium social
This commit is contained in:
parent
baeb33f114
commit
d9e9863721
3 changed files with 7 additions and 0 deletions
|
@ -53,6 +53,7 @@ cardsPerRow = 2 # Possible values: 1, 2, 3
|
||||||
#gitlab = "username"
|
#gitlab = "username"
|
||||||
#stackoverflow = "numberid"
|
#stackoverflow = "numberid"
|
||||||
#mastodon = "username"
|
#mastodon = "username"
|
||||||
|
#medium = "username"
|
||||||
|
|
||||||
[outputFormats]
|
[outputFormats]
|
||||||
[outputFormats.MANIFEST]
|
[outputFormats.MANIFEST]
|
||||||
|
|
|
@ -60,5 +60,10 @@
|
||||||
{{ partial "svg/mastodon.svg" . }}
|
{{ partial "svg/mastodon.svg" . }}
|
||||||
</a>
|
</a>
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- with .Param "social.medium" }}
|
||||||
|
<a class="social__link" target="_blank" rel="noopener noreferrer" href="https://medium.com/@{{ . }}">
|
||||||
|
{{ partial "svg/medium.svg" . }}
|
||||||
|
</a>
|
||||||
|
{{- end }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
1
layouts/partials/svg/medium.svg
Normal file
1
layouts/partials/svg/medium.svg
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<svg class="social__icon" aria-label="Medium" role="img" width="32" height="32" viewBox="0 0 512 512"><path d="M125 173c0-4-2-9-5-11l-31-38v-6h98l75 166 67-166h93v6l-27 26c-2 1-3 4-3 7v190c0 3 1 6 3 8l27 25v6H289v-6l27-26c3-3 3-4 3-8V193l-76 192h-10l-88-192v129c-1 5 1 11 5 15l35 43v5H85v-5l35-43c4-4 6-10 5-15z"/></svg>
|
After Width: | Height: | Size: 320 B |
Loading…
Reference in a new issue