diff options
| author | seth <[email protected]> | 2024-07-05 18:26:55 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2024-08-23 08:30:48 -0400 |
| commit | 67fba5edad38f8a4651a6a782c7abdc696a464ff (patch) | |
| tree | 1b2ad1572d8938a89e096955d5a46f519a16f5fb /src/_components | |
| parent | 9135c80ee930045c889f64269735b8319896e2f4 (diff) | |
back to lume for the 1000th time
Diffstat (limited to 'src/_components')
| -rw-r--r-- | src/_components/gif_row.vto | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/_components/gif_row.vto b/src/_components/gif_row.vto new file mode 100644 index 0000000..ebc56f8 --- /dev/null +++ b/src/_components/gif_row.vto @@ -0,0 +1,10 @@ +{{ for gif of gifs }} + {{ + set img = `<img src="/imgs/gifs/${gif.name}" alt="${gif.alt}" width="88" height="31" loading="lazy" decoding="async">` + }} + {{ if gif.href }} + <a href="{{ gif.href }}">{{ img }}</a> + {{ else }} + {{ img }} + {{ /if }} +{{ /for }} |
