mirror of
https://github.com/LukeSmithxyz/based.cooking.git
synced 2025-02-08 17:05:29 +00:00
4f17b3d901
When storing metadata in an HTML node, you can use data attributes, which is more declarative, and doesn't require rendering an invisible node. See: https://developer.mozilla.org/en-US/docs/Learn/HTML/Howto/Use_data_attributes
6 lines
136 B
HTML
6 lines
136 B
HTML
<ul id=artlist>
|
|
{{range.Site.RegularPages}}
|
|
<li data-tags="{{.Params.Tags}}"><a href="{{.Permalink}}">{{.Title}}</a></li>
|
|
{{end}}
|
|
</ul>
|