Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matsuyoshi30/harbor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlomion0815 <lomion@aon.at>2020-12-01 21:39:20 +0300
committerlomion0815 <lomion@aon.at>2020-12-01 21:42:25 +0300
commit13a93b3df7096542bd6c00d20a52f1cac5648494 (patch)
tree72a360fdd040642b6188b6908554c96e9fbd99d6 /layouts
parent1e9fd96ea6ac8f2dd1b93f8519fec43978481908 (diff)
Styling social items
Diffstat (limited to 'layouts')
-rw-r--r--layouts/partials/social.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/social.html b/layouts/partials/social.html
index b269912..b813efb 100644
--- a/layouts/partials/social.html
+++ b/layouts/partials/social.html
@@ -1,15 +1,15 @@
{{ if .Site.Params.social }}
<div>
{{ range $social := .Site.Params.social }}
- <a href="{{ $social.url }}" name="{{ $social.name }}"><em class="{{ $social.icon }}"></em></a>
- {{end}}
-</div>
+ <a class="social-icon" href="{{ $social.url }}" name="{{ $social.name }}"
+ ><em class="{{ $social.icon }}"></em
+ ></a>
+ {{ end }}
{{ end }}
{{ if .Site.Params.social_static }}
-<div>
{{ $base := .Site.BaseURL }}
{{ range $social := .Site.Params.social_static }}
- <a href="{{ $social.url }}" name="{{ $social.name }}">
+ <a class="social-icon" href="{{ $social.url }}" name="{{ $social.name }}">
<img src="{{ $base }}images/{{ $social.icon }}"
width="20"
height="20"