article microformats2 author link

This commit is contained in:
Marvin Steadfast 2020-03-12 10:30:28 +01:00
parent 37b9067f05
commit 8d99139b81
3 changed files with 6 additions and 1 deletions

View File

@ -4,6 +4,7 @@
<p>
<small>
<time class="dt-published" datetime="{{ .Date.Format "2006-01-02 15:04:05" }}">{{ .Date.Format "02.01.2006 15:04" }}</time>
<a rel="author" class="p-author h-card" href="{{ .Site.BaseURL }}">{{ .Site.Params.AuthorName }}</a>
{{ if .GitInfo }}/// <a href="https://github.com/xsteadfastx/blog/commit/{{ .GitInfo.Hash }}">{{ .GitInfo.AbbreviatedHash }}</a>{{ end }}
{{ if .Params.tags }}///{{ end }}
{{ range .Params.tags }}

View File

@ -1,6 +1,6 @@
<div class="meta">
<p class="h-card">
<a class="p-name u-url p-author" rel="me author" href="http://xsteadfastx.org/">{{ .Site.Params.AuthorName }}</a>
<a class="p-name u-url" rel="me" href="http://xsteadfastx.org/">{{ .Site.Params.AuthorName }}</a>
<img class="u-photo" src="https://xsteadfastx.org/images/xsfxmarat1000.png" alt="xsteadfastx photo">
</p>
<link rel="pgpkey" href="/key.txt">

View File

@ -185,3 +185,7 @@ header .upsidedown {
body .meta {
display: none;
}
article .p-author.h-card {
display: none;
}