mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-12-25 02:02:11 +00:00
1aed7a66d4
The site now has polygot markup and can handle both XHTML5 and HTML5 parsing rules. My staging site will be XHTML but my main site will be HTML5, just in case of parse errors. If other tools (e.g. LightHouse) end up supporting XHTML5, I'll consider switching the content-type to XHTML.
14 lines
562 B
HTML
14 lines
562 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" />
|
|
<!--That was needed bc some reading modes get confused by other authors referenced in the text-->
|
|
{{- partial "processed-content" . -}}
|
|
</div>
|
|
</article>
|