Add crapaud-fou social network

This commit is contained in:
Mickael 2019-05-11 21:48:54 +02:00
parent 6904758ebd
commit 77aab8e9fc
3 changed files with 8 additions and 7 deletions

View file

@ -3,3 +3,4 @@ nom: mckmonster
github: mckmonster github: mckmonster
gitlab: mckmonster gitlab: mckmonster
crapaudfou: trenty crapaudfou: trenty
email: mckmonster@mailo.com

View file

@ -118,4 +118,9 @@ url = "https://www.goodreads.com/%s"
title = "Goodreads" title = "Goodreads"
icon = "fab fa-goodreads" icon = "fab fa-goodreads"
[[social_icons]]
id = "crapaudfou"
url = "https://coa.crapaud-fou.org/direct/%s"
title = "crapaud-fou"
icon = "fab fa-rocketchat"

View file

@ -4,7 +4,7 @@
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1"> <div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
{{ range $tisseur := .Site.Data.tisseurs }} {{ range $tisseur := .Site.Data.tisseurs }}
<div class="well"> <div class="well">
<div>{{ $tisseur.nom }}</div> <h3>{{ $tisseur.nom }}</h3>
<ul class="list-inline"> <ul class="list-inline">
{{ range $social := $.Site.Data.beautifulhugo.social.social_icons }} {{ range $social := $.Site.Data.beautifulhugo.social.social_icons }}
{{- if isset $tisseur $social.id }} {{- if isset $tisseur $social.id }}
@ -18,11 +18,6 @@
</li> </li>
{{- end -}} {{- end -}}
{{ end }} {{ end }}
{{ if .crapaudfou }}
<li>
<a href="https://coa.crapaud-fou.org/direct/{{ .crapaudfou }}">crapaud-fou</a>
</li>
{{ end }}
</ul> </ul>
</div> </div>
{{ end }} {{ end }}