feat: basic website with basic content

This commit is contained in:
Matthieu Bessat 2023-10-28 10:20:52 +02:00
parent 3379242f31
commit ba403c815f
76 changed files with 2167 additions and 4 deletions

View file

@ -0,0 +1,8 @@
{{ $link := printf "https://%s.wikipedia.org/wiki/%s" (.Get "lang") (.Get "name") }}
<a href="{{ $link }}" class="btn wikipedia-btn" title="Voir l'article &quot;{{.Get "name"}}&quot; sur Wikipedia">
{{ partial "helpers/svg" (dict "path" "icons/wikipedia_globe" "class" "btn__icon") }}
<div>Voir l'article sur Wikipedia
{{ partial "helpers/svg" (dict "path" "icons/external" "class" "icon_inline") }}
</div>
</a>