mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-27 14:12:09 +00:00
Add Indieweb/RDFa structured data
This commit is contained in:
parent
8c63605d1a
commit
35642e698a
3 changed files with 25 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
||||||
# Seirdy
|
# Seirdy
|
||||||
|
|
||||||
It me! This is the personal website of Seirdy (online handle), a.k.a. Rohan (meatspace).
|
It me! This is the personal website of Rohan Kumar, a.k.a. Seirdy (online handle).
|
||||||
|
|
||||||
## Other versions of this site
|
## Other versions of this site
|
||||||
|
|
||||||
|
|
|
@ -5,19 +5,22 @@ outputs:
|
||||||
title: Seirdy's Home
|
title: Seirdy's Home
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<div class="h-card">
|
||||||
|
|
||||||
Seirdy
|
Seirdy
|
||||||
======
|
======
|
||||||
|
|
||||||
It me! This is the personal website of Seirdy (online handle), a.k.a. Rohan
|
It me! This is the personal website for
|
||||||
(meatspace).
|
<a class="p-author u-url" href="https://seirdy.one" rel="home"><span class="p-given-name">Rohan</span>
|
||||||
|
<span class="p-family-name">Kumar</span></a>, a.k.a. Seirdy (online handle).
|
||||||
|
|
||||||
Other versions of this website
|
Other versions of this website
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
In addition to its <a href="https://seirdy.one" rel="me">canonical URL</a>, a "rough
|
In addition to its <a class="u-url" href="https://seirdy.one" rel="me">canonical
|
||||||
draft" of this website also exists on my
|
URL</a>, a "rough draft" of this website also exists on my
|
||||||
<a href="https://envs.net/~seirdy" rel="me">Tildeverse page</a> and on my
|
<a class="u-url" href="https://envs.net/~seirdy" rel="me">Tildeverse page</a> and on
|
||||||
<a href="gemini://seirdy.one" rel="me">Gemini space</a>
|
my <a class="u-url" href="gemini://seirdy.one" rel="me">Gemini space</a>
|
||||||
|
|
||||||
About me
|
About me
|
||||||
--------
|
--------
|
||||||
|
@ -31,10 +34,13 @@ Git repos: <a href="https://sr.ht/~seirdy" rel="me">Sourcehut</a>,
|
||||||
Contact
|
Contact
|
||||||
-------
|
-------
|
||||||
|
|
||||||
Contact me via <a href="mailto:seirdy@seirdy.one" rel="me">email</a>, or on the
|
Contact me via <a class="u-email" href="mailto:seirdy@seirdy.one" rel="me">email</a>,
|
||||||
Fediverse via <a href="https://pleroma.envs.net/seirdy" rel="me">my Pleroma
|
or on the Fediverse via
|
||||||
|
<a class="u-url" href="https://pleroma.envs.net/seirdy" rel="me">my Pleroma
|
||||||
account</a>.
|
account</a>.
|
||||||
|
|
||||||
Chat with me: I prefer IRC, where my nick is usually Seirdy. Alternatively, I'm
|
Chat with me: I prefer IRC, where my nick is usually Seirdy. Alternatively, I'm
|
||||||
<a href="https://matrix.to/\#/@seirdy:envs.net" rel="me">@seirdy:envs.net</a> on
|
<a class="u-url" href="https://matrix.to/#/@seirdy:envs.net" rel="me">@seirdy:envs.net</a>
|
||||||
Matrix.
|
on Matrix.
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
|
@ -1,15 +1,18 @@
|
||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<article>
|
<article itemscope itemtype="https://schema.org/Article" class="h-entry">
|
||||||
<header id="post-header">
|
<header id="post-header">
|
||||||
<h1>{{ .Title }}</h1>
|
<h1 itemprop="name headline" class="p-hame">{{ .Title }}</h1>
|
||||||
{{ $lastmod := .Lastmod -}}
|
{{ $lastmod := .Lastmod -}}
|
||||||
{{ if lt .Date $lastmod -}}
|
{{ if lt .Date $lastmod -}}
|
||||||
Originally posted <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>. Last updated <time datetime="{{ $lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02" }}</time>. <a href="{{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }}">Changelog</a>
|
Originally posted <time class="dt-published" itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time> by <a itemprop="author" class="p-author h-card" href="https://seirdy.one" rel="author">{{ .Site.Author.name }}</a>.<br>
|
||||||
|
Last updated <time itemprop="dateModified" class="dt-updated" datetime="{{ $lastmod.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Lastmod.Format "2006-01-02" }}</time>. <a href="{{ .Site.Params.logUrlPrefix }}content/{{ .File.Path }}">Changelog</a>
|
||||||
{{ else -}}
|
{{ else -}}
|
||||||
Posted <time datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>.
|
Posted <time itemprop="datePublished" datetime="{{ .Date.Format "2006-01-02T15:04:05Z07:00" }}">{{ .Date.Format "2006-01-02" }}</time>.
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</header>
|
</header>
|
||||||
{{ .Content -}}
|
<section itemprop="articlebody">
|
||||||
|
{{ .Content -}}
|
||||||
|
</section>
|
||||||
</article>
|
</article>
|
||||||
<br>
|
<br>
|
||||||
<hr>
|
<hr>
|
||||||
|
|
Loading…
Reference in a new issue