chore: cleanup JS example; change posts to not use small

This commit is contained in:
Robert W. Pearce 2023-02-23 21:58:08 +13:00
parent 372422ab18
commit 38d96f5b1e
No known key found for this signature in database
GPG key ID: 8EE70FB52D805C55
2 changed files with 4 additions and 7 deletions

View file

@ -1,3 +1,3 @@
;(function(w, d) {
console.log('Hello, world!', w, d)
})(window, document);
;(function() {
console.log('Hello, world!');
})();

View file

@ -5,10 +5,7 @@
<a href=".$url$">$title$</a>
</h1>
<div>
<small>$date$</small>
$if(updated)$
<small>(updated: $updated$)</small>
$endif$
$date$ $if(updated)$(updated: $updated$)$endif$
</div>
</header>
<section>