I think I broke IndieWebs h-entry

This commit is contained in:
Wouter Groeneveld 2022-11-13 16:14:41 +01:00
parent 32773558c5
commit c2f160ecb2
9 changed files with 23 additions and 26 deletions

View File

@ -30,14 +30,7 @@ Transforming knowledge into well-digestible material is my mission. As they say:
---
<a href='https://ko-fi.com/woutergroeneveld' class='inmargin'>
<img height='36' style='border:0px !important;height:36px;' src='/img/kofi.png' border='0' alt='Buy Me a Coffee' />
</a>
If you found my work amusing and/or helpful, you can buy me a coffee [via Ko-Fi](https://ko-fi.com/woutergroeneveld) or [via PayPal](https://www.paypal.com/donate/?hosted_button_id=R2WTKY7G9V2KQ)---if you don't mind I'll use it to drink a cup of tea instead. I also like to hear your feedback via:
- <svg class='icon icon-text'><use xlink:href='#discuss'></use></svg>Mastodon: [@wouter@chat.brainbaking.com](https://chat.brainbaking.com/@wouter)
- <svg class='icon icon-text'><use xlink:href='#mail'></use></svg>(encrypted) e-mail: <span class="link meel">say hello</span>.
If you found my work amusing and/or helpful, you can buy me a coffee [via PayPal](https://www.paypal.com/donate/?hosted_button_id=R2WTKY7G9V2KQ) or [via Ko-Fi](https://ko-fi.com/woutergroeneveld)---if you don't mind I'll use it to drink a cup of tea instead. I also like to hear your feedback via <svg class='icon icon-text'><use xlink:href='#discuss'></use></svg>Mastodon: [@wouter@chat.brainbaking.com](https://chat.brainbaking.com/@wouter) or <svg class='icon icon-text'><use xlink:href='#mail'></use></svg>e-mail: <span class="link meel">say hello</span>.
<noscript>
JavaScript is disabled. I use it to obfuscate my e-mail, keeping spambots at bay. <br/>

View File

@ -16,10 +16,14 @@
</div>
<ul class="small">
{{ $i := 0 }}
{{ range first $itms (where .Site.Pages "Section" "post").ByDate.Reverse }}
{{ $i = add $i 1 }}
<li class="flexgrid flexgrid-8020">
<h3>
{{ if eq $i 1}}<strong>{{ end }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if eq $i 1}}</strong>{{ end }}
</h3>
<small>
<time datetime='{{ .Date.Format "2006-01-02" }}'>
@ -69,6 +73,7 @@
{{ end }}
</ul>
</article>
<br/>
</div>
</main>
<div class="belowsingle">
@ -82,7 +87,7 @@
Hey! I'm <a class="p-name u-uid u-url" rel="me" href="{{ .Site.BaseURL }}">{{ .Site.Author.name }}</a>, a <em class="p-job-title">Brain Baker</em> living in <span class="p-locality">Belgium</span>. I currently find myself teaching, writing, programming, researching, and of course baking bread! <em>Brain Baking</em> is my way to inspire myself and others to ponder and learn. Read more <a class="u-url" href="about">about me here</a>.
</p>
<p>
If you found my bakings amusing and/or helpful, you can <a rel="me" href="https://ko-fi.com/woutergroeneveld"><strong>buy me a coffee</strong></a>—if you don't mind I'll use it to enjoy a cup of tea instead. I also like to hear about your own <em>bakings</em> via <svg class='icon icon-text'><title>chat icon</title><use xlink:href='#discuss'></use></svg><a rel="me" class="u-url" href="{{ .Site.Author.mastodonlink }}">Mastodon</a> or <svg class='icon icon-text'><title>mail icon</title><use xlink:href='#mail'></use></svg><span class="link meel">e-mail</span>. Thanks!
If you found my bakings amusing and/or helpful, you can support me <a rel="me" href="https://www.paypal.com/donate/?hosted_button_id=R2WTKY7G9V2KQ">via PayPal</a> or <a rel="me" href="https://ko-fi.com/woutergroeneveld">via Ko-Fi</a>—if you don't mind I'll use it to enjoy a cup of tea instead. I also like to hear about your own <em>bakings</em> via <svg class='icon icon-text'><title>chat icon</title><use xlink:href='#discuss'></use></svg><a rel="me" class="u-url" href="{{ .Site.Author.mastodonlink }}">Mastodon</a> or <svg class='icon icon-text'><title>mail icon</title><use xlink:href='#mail'></use></svg><span class="link meel">e-mail</span>. Thanks!
</p>
</article>
&nbsp;

View File

@ -30,7 +30,7 @@ document.addEventListener("DOMContentLoaded",function() {
new SimpleLightbox('.lbox');
const meel = document.querySelector('.meel');
const enc = "<o ofwo-zopsz='aowz orrfsgg' vfst='aowzhc:kcihsf@pfowbpoywbu.qca'>kcihsf@pfowbpoywbu.qca</o> <o ofwo-zopsz='sbqfmdhwcb DUD ysm' vfst='vhhdg://ysmg.cdsbdud.cfu/jyg/j1/pm-twbusfdfwbh/24O319TO8708OP6961997205S66Q99941091O46R' hwhzs='Sbqfmdh aowzg kwhv am UDU ysm'><gju qzogg='wqcb wqcb-hslh' kwrhv='24' vswuvh='24'><igs lzwby:vfst='#zcqy'></igs></gju></o>"
const enc = "<o ofwo-zopsz='aowz orrfsgg' vfst='aowzhc:kcihsf@pfowbpoywbu.qca'>kcihsf@pfowbpoywbu.qca</o>"
if(meel) {
meel.addEventListener('click', function() {

View File

@ -1,7 +1,7 @@
{{ partial "header" . }}
<a id="top"></a>
<main class="list h-entry">
<main class="list">
<header>
<h1 class="p-name" id="header">
<svg class='icon'><use xlink:href="#{{ .Params.icontag }}"></use></svg>&nbsp;{{ .Title }}

View File

@ -1,6 +1,6 @@
{{ partial "header" . }}
<main class="h-entry" data-pagefind-body>
<main data-pagefind-body>
{{ partial "single-header" . }}
<article class="single {{ .Section }}">
<div class="e-content content">
@ -23,15 +23,14 @@
</article>
</main>
{{ if (not .Params.disableComments) }}
<div class="belowsingle">
<div class="txtblock">
{{ partial "single-related" . }}
{{ partial "single-webmentions" . }}
{{ partial "single-comments" . }}
</div>
{{ if (not .Params.disableComments) }}
<div class="belowsingle">
<div class="txtblock">
{{ partial "single-related" . }}
{{ partial "single-webmentions" . }}
{{ partial "single-comments" . }}
</div>
{{ end }}
</main>
</div>
{{ end }}
{{ partial "footer.html" . }}

View File

@ -1,5 +1,5 @@
{{ partial "header" . }}
<main class="h-entry" data-pagefind-body>
<main data-pagefind-body>
<header>
<a id="top"></a>
<h1 id="header" class="p-name">

View File

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<html lang="{{ .Site.LanguageCode }}" class="h-entry">
<head>
{{ partial "head-meta" . }}
{{ if eq .Title .Site.Title }}

View File

@ -17,10 +17,10 @@
</div>
<div class="support">
<p class="p-note">
I'm <span class="p-name">{{ .Site.Author.name }}</span>, a <em>Brain Baker</em>, and I love the smell of freshly baked thoughts (and bread) in the morning. I sometimes convince others to bake their brain (and bread) too.
I'm <a class="p-name" href="/about">{{ .Site.Author.name }}</a>, a <em>Brain Baker</em>, and I love the smell of freshly baked thoughts (and bread) in the morning. I sometimes convince others to bake their brain (and bread) too.
</p>
<p>
If you found this article amusing and/or helpful, you can <a rel="me" href="https://ko-fi.com/woutergroeneveld"><strong>buy me a coffee</strong></a> - although I'm more of a tea fan myself. I also like to hear your feedback via <span class="nowrap"><svg class='icon icon-text'><use xlink:href='#discuss'></use></svg><a rel="me" href="{{ .Site.Author.mastodonlink }}">Mastodon</a></span> or <span class="nowrap"><svg class='icon icon-text'><use xlink:href='#mail'></use></svg><span class="link meel">e-mail</span></span>. Thanks!
If you found this article amusing and/or helpful, you can support me via <a rel="me" href="https://www.paypal.com/donate/?hosted_button_id=R2WTKY7G9V2KQ">PayPal</a> or <a rel="me" href="https://ko-fi.com/woutergroeneveld">Ko-Fi</a>. I also like to hear your feedback via <span class="nowrap"><svg class='icon icon-text'><use xlink:href='#discuss'></use></svg><a rel="me" href="{{ .Site.Author.mastodonlink }}">Mastodon</a></span> or <span class="nowrap"><svg class='icon icon-text'><use xlink:href='#mail'></use></svg><span class="link meel">e-mail</span></span>. Thanks!
</p>
<noscript>
JavaScript is disabled. I use it to obfuscate my e-mail, keeping spambots at bay. <br/>

View File

@ -1,4 +1,4 @@
<article class="h-entry">
<article>
<div class="content toot">
<div class="e-content">
{{ .Content }}