Restructures the templates
This commit is contained in:
parent
6b929ff8e0
commit
f4aa888a5c
14 changed files with 108 additions and 128 deletions
38
layouts/partials/sidebar/social.html
Normal file
38
layouts/partials/sidebar/social.html
Normal file
|
@ -0,0 +1,38 @@
|
|||
<section class="row text-center">
|
||||
{{ with .Site.Params.social.twitter -}}
|
||||
<a href="https://twitter.com/{{.}}"><i class="fab fa-twitter fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.facebook -}}
|
||||
<a href="https://facebook.com/{{.}}"><i class="fab fa-facebook-f"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.github -}}
|
||||
<a href="https://github.com/{{.}}"><i class="fab fa-github fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.bitbucket -}}
|
||||
<a href="https://bitbucket.org/{{.}}"><i class="fab fa-bitbucket fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.gitlab -}}
|
||||
<a href="https://gitlab.com/{{.}}"><i class="fab fa-gitlab fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.instagram -}}
|
||||
<a href="https://instagram.com/{{.}}"><i class="fab fa-instagram fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.linkedin -}}
|
||||
<a href="https://linkedin.com/in/{{.}}"><i class="fab fa-linkedin fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.stackoverflow -}}
|
||||
<a href="https://stackoverflow.com/users/{{.}}"><i class="fab fa-stack-overflow fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.medium}}
|
||||
<a href="https://medium.com/{{.}}"><i class="fab fa-medium fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.xing -}}
|
||||
<a href="https://www.xing.com/profile/{{.}}"><i class="fab fa-xing fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.keybase -}}
|
||||
<a href="https://keybase.io/{{.}}"><i class="fab fa-keybase fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
{{ with .Site.Params.social.email -}}
|
||||
<a href="mailto:{{.}}"><i class="fas fa-at fa-lg" aria-hidden="true"></i></a>
|
||||
{{- end }}
|
||||
</section>
|
Loading…
Add table
Add a link
Reference in a new issue