change theme again :D

This commit is contained in:
naoufal zerai
2022-08-18 15:20:15 -04:00
parent dee5809c1a
commit 5dba10766d
287 changed files with 28330 additions and 1506 deletions

View File

@@ -0,0 +1,18 @@
{{ $title := "Diagram" }}
{{ if .IsNamedParams }}
{{ with .Get "title" }}
{{ $title = . }}
{{ end }}
{{ else }}
{{ with .Get 0 }}
{{ $title = . }}
{{ end }}
{{ end }}
<figure>
<img
src='https://g.gravizo.com/svg?{{ .Inner }}'
alt='{{ $title }}'
/>
<figcaption>{{ $title }}</figcaption>
</figure>