diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2024-04-02 13:59:48 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2024-04-02 13:59:48 +0300 |
| commit | 1ce2f74f5c8eb048ebd8099a067e38045c616c0f (patch) | |
| tree | 28d4824be13b850f86b7bdac92a1549f829f6177 /template.html | |
| parent | b4332a68d6109a9a4f9e6e12e0286322500408f6 (diff) | |
Add h-card and h-entry data to pages
Diffstat (limited to 'template.html')
| -rw-r--r-- | template.html | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/template.html b/template.html index c1f8211..116580f 100644 --- a/template.html +++ b/template.html @@ -119,5 +119,32 @@ document.querySelector("#dark-mode-btn").addEventListener("click", function () { }); </script> +$if(date)$ +$if(title)$ +$if(slug)$ +<div style="display: none;" class="h-entry"> + <div class="e-content p-name">$title$</div> + <a rel="author" class="p-author h-card" href="https://jan.systems"> + <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"> + Jan Tuomi + </a> + <a class="u-url" href="https://jan.systems/archive/$slug$"> + Published <time class="dt-published">$date$</time> + </a> +</div> +$endif$ +$endif$ +$endif$ + +<div style="display: none;" class="h-card"> + <a class="u-url" href="https://jan.systems">jan.systems</a> + <a class="u-url" href="https://github.com/jantuomi" rel="me">GitHub</a> + <p class="p-note">Digital gardener, senior software engineer by trade.</p> + <img class="u-photo" src="https://jan.systems/files/Jan_Tuomi_headshot.jpg"> + <p class="p-name"Jan Tuomi</p> + <p class="p-nickname">@jantuomi</p> + <p class="p-country-name">Finland</p> +</div> + </body> </html> |
