1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-15 01:42:10 +00:00
seirdy.one/layouts/partials/full-article.html
Rohan Kumar 97baa0bd51
Fix: add redundant author metadata
Some article extractors get confused when the article body references
another author with microdata. Declare the author itemprop a second time
to make them happy.
2022-05-28 16:30:28 -07:00

14 lines
594 B
HTML

<article class="h-entry hentry"><!--Once WAI-ARIA 1.3 gains traction, I'll add aria-details for webmentions.-->
<header>
<h1 itemprop="name headline" class="p-name entry-title">{{ .Title }}</h1>
{{- if not .Params.disableMeta }}
{{ partial "post-meta.html" . }}
{{- end }}
<hr>
</header>
<div class="e-content entry-content" itemprop="articleBody">
<meta itemprop="author" content="Rohan Kumar" itemid="https://seirdy.one/#seirdy">
<!--That was needed bc some reading modes get confused by other authors referenced in the text-->
{{- partial "processed-content" . -}}
</div>
</article>