feat(landing): timeline, comparaison

This commit is contained in:
Matthieu Bessat 2023-05-26 21:44:22 +02:00
parent 098f66df0e
commit 79b32519d5
25 changed files with 632 additions and 20 deletions

View file

@ -1,6 +1,7 @@
{{ $svg := .path }}
{{ $match := `<svg((\s|\S)*)>((\s|\S)*)</svg>` }}
{{ $replaceWith := printf `<svg class="%s" ${1}>${2}</svg>` .class }}
{{ $input := (printf "/assets/images/%s.svg" $svg | readFile) }}
{{ $replaceWith := printf `<svg class="%s" ${1}>${2}</svg>` .class }}
{{ return (replaceRE $match $replaceWith $input | safeHTML) }}