mirror of
https://github.com/TrezOne/congo-hindi-gujarati.git
synced 2026-07-19 09:03:02 -04:00
🍱 Add support for more social icons
This commit is contained in:
@@ -8,43 +8,21 @@
|
||||
{{ . }}
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="flex text-lg text-gray-400 dark:text-gray-500">
|
||||
{{ with .Site.Author.twitter }}
|
||||
<a
|
||||
class="mr-2 hover:text-primary-700 dark:hover:text-primary-400"
|
||||
href="{{ . }}"
|
||||
target="_blank"
|
||||
title="Twitter"
|
||||
>{{ partial "icon.html" "twitter-brands" }}</a
|
||||
>
|
||||
{{ end }}
|
||||
{{ with .Site.Author.github }}
|
||||
<a
|
||||
class="mr-2 hover:text-primary-700 dark:hover:text-primary-400"
|
||||
href="{{ . }}"
|
||||
target="_blank"
|
||||
title="GitHub"
|
||||
>{{ partial "icon.html" "github-brands" }}</a
|
||||
>
|
||||
{{ end }}
|
||||
{{ with .Site.Author.keybase }}
|
||||
<a
|
||||
class="mr-2 hover:text-primary-700 dark:hover:text-primary-400"
|
||||
href="{{ . }}"
|
||||
target="_blank"
|
||||
title="Keybase"
|
||||
>{{ partial "icon.html" "keybase-brands" }}</a
|
||||
>
|
||||
{{ end }}
|
||||
{{ with .Site.Author.linkedin }}
|
||||
<a
|
||||
class="mr-2 hover:text-primary-700 dark:hover:text-primary-400"
|
||||
href="{{ . }}"
|
||||
target="_blank"
|
||||
title="Linkedin"
|
||||
>{{ partial "icon.html" "linkedin-brands" }}</a
|
||||
>
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ with .Site.Author.links }}
|
||||
<div class="flex text-lg text-gray-400 dark:text-gray-500">
|
||||
{{ range $links := . }}
|
||||
{{ range $name, $url := $links }}
|
||||
<a
|
||||
class="mr-2 hover:text-primary-700 dark:hover:text-primary-400"
|
||||
href="{{ $url }}"
|
||||
target="_blank"
|
||||
alt="{{ $name | title }}"
|
||||
rel="me"
|
||||
>{{ partial "icon.html" $name }}</a
|
||||
>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user