uci-hugo-landingpage/layouts/shortcodes/lorem.html

8 lines
185 B
HTML
Executable File

<!-- https://github.com/f/loremjs
shorcode parameter
2p = 2 paragraphs
5s = 5 sentences
6w = 6 words
1-6w = between 1 and 6 words -->
<div data-lorem={{ .Get 0 | default "2p" }}></div>