feat(landing): timeline, comparaison
This commit is contained in:
parent
098f66df0e
commit
79b32519d5
25 changed files with 632 additions and 20 deletions
|
|
@ -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) }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue