diff --git a/content/contributeurs/TEMPLATE.md b/content/contributeurs/TEMPLATE.md index 362dfd5af3094e3bd0595a3812fae1346477cadd..683c8339c55b1cf9fe198912f4883c955bb8e9ca 100644 --- a/content/contributeurs/TEMPLATE.md +++ b/content/contributeurs/TEMPLATE.md @@ -1,7 +1,7 @@ +++ title = "TEMPLATE" # chaîne identique au nom de fichier et nom d'auteur description = "description courte" # pas de phrase -draft = true +draft = true # À SUPPRIMER ! [extra] full_name = "Templatus Lipsum" # nom complet @@ -14,6 +14,7 @@ phone = "+33 6 12 34 56 78" email = "mail@domaine.tld" xmpp = "pseudo@domaine.tld" gitduniter = "pseudo" +g1_map = false # (des)active le lien vers la carte ML [taxonomies] authors = ["TEMPLATE",] # chacun est auteur de sa propre page diff --git a/static/img/carte_ml.png b/static/img/carte_ml.png new file mode 100644 index 0000000000000000000000000000000000000000..d3375a90b7c542e297a65d073b330f708a0455b6 Binary files /dev/null and b/static/img/carte_ml.png differ diff --git a/templates/authors/content.html b/templates/authors/content.html index a66abd493ef26f3b4024ebb7dcec4b7cac4df784..b98736f80dfa0139241f2fc089789a6d7f804c1d 100644 --- a/templates/authors/content.html +++ b/templates/authors/content.html @@ -17,6 +17,10 @@ <li><a href="mailto:{{ page.extra.email }}"><i class="fa fa-envelope"></i> {{ page.extra.email }}</li></a>{% endif %} {% if page.extra.xmpp %} <li><a href="xmpp:{{ page.extra.xmpp }}"><i class="fa fa-xmpp"></i> {{ page.extra.xmpp }}</li></a>{% endif %} + {% if page.extra.g1_pubkey %} + <li><a href="https://demo.cesium.app/index.html#/app/wot/{{ page.extra.g1_pubkey }}/"><img class="icon" src="/img/gbrevedot.svg"/> {{ page.extra.g1_pubkey | truncate(length=8) }}</li></a>{% endif %} + {% if page.extra.g1_map %} + <li><a href="https://carte.monnaie-libre.fr?pubkey={{ page.extra.g1_pubkey }}"><img class="icon" src="/img/carte_ml.png"/> Carte Monnaie Libre</li></a>{% endif %} </ul> {{ page.content | safe }}