initial commit
This commit is contained in:
parent
2012aa8834
commit
9ddfa58ace
2289 changed files with 11217 additions and 0 deletions
19
themes/hugo-ficurinia/layouts/partials/iconlink.html
Normal file
19
themes/hugo-ficurinia/layouts/partials/iconlink.html
Normal file
|
@ -0,0 +1,19 @@
|
|||
<a
|
||||
{{ if eq (lower .Identifier) "mastodon" }}
|
||||
rel="me"
|
||||
{{ else }}
|
||||
rel="noreferrer"
|
||||
{{ end }}
|
||||
target="_blank"
|
||||
class="nerdlink"
|
||||
href="{{ .URL | safeURL }}">
|
||||
{{ $icon := index site.Data.supported_icons (lower .Identifier) | safeHTML }}
|
||||
{{ if $icon }}
|
||||
{{ $icon | safeHTML }}
|
||||
{{ else }}
|
||||
{{ .Name }}
|
||||
{{ end }}
|
||||
<span>
|
||||
{{ .Name }}
|
||||
</span>
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue