Add gravatar
This commit is contained in:
parent
04b24a37ea
commit
bbd71e6796
4 changed files with 15 additions and 2 deletions
|
@ -5,3 +5,4 @@ github: mckmonster
|
|||
gitlab: mckmonster
|
||||
crapaudfou: trenty
|
||||
email: mckmonster@mailo.com
|
||||
gravatar: 13dac7dbbf38756e6b11fe35e1f1db44
|
5
layouts/partials/head_custom.html
Normal file
5
layouts/partials/head_custom.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<!--
|
||||
If you want to include any custom html just before </head>, put it in /layouts/head_custom.html
|
||||
Do not put anything in this file - it's only here so that hugo won't throw an error if /layouts/head_custom.html doesn't exist.
|
||||
-->
|
||||
<link rel="stylesheet" href="{{ "css/tisseurs.css" | absURL }}" />
|
7
static/css/tisseurs.css
Normal file
7
static/css/tisseurs.css
Normal file
|
@ -0,0 +1,7 @@
|
|||
.avatar {
|
||||
display: inline;
|
||||
vertical-align: middle;
|
||||
/* width: 50px;
|
||||
height: 50px; */
|
||||
border-radius: 50%;
|
||||
}
|
|
@ -4,7 +4,7 @@
|
|||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{{ range $tisseur := .Site.Data.tisseurs }}
|
||||
<div class="well">
|
||||
<h3>{{ $tisseur.nom }}</h3>
|
||||
<h3><img class="avatar" src="https://www.gravatar.com/avatar/{{ $tisseur.gravatar }}?d=robohash&r=g"/>{{ $tisseur.nom }}</h3>
|
||||
{{ if $tisseur.info }}
|
||||
<p>{{ $tisseur.info }}</p>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue