mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 00:12:09 +00:00
Add structured data for CC license
This commit is contained in:
parent
87da30d600
commit
dc27d47505
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="{{- default "" .Site.LanguageCode -}}" prefix="og: https://ogp.me/ns# article: https://ogp.me/ns/article#">
|
<html lang="{{- default "" .Site.LanguageCode -}}" prefix="og: https://ogp.me/ns# article: https://ogp.me/ns/article# profile: https://ogp.me/ns/profile# cc: http://creativecommons.org/ns#">
|
||||||
{{- partial "head.html" . -}}
|
{{- partial "head.html" . -}}
|
||||||
<body itemscope itemtype="https://schema.org/Blog https://schema.org/WebPage">
|
<body itemscope itemtype="https://schema.org/Blog https://schema.org/WebPage">
|
||||||
{{ partial "header.html" . -}}
|
{{ partial "header.html" . -}}
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
(btw this is all made of <span> cuz it is supposed to be inline)
|
(btw this is all made of <span> cuz it is supposed to be inline)
|
||||||
-->
|
-->
|
||||||
<span itemprop="author" itemscope itemtype="https://schema.org/Person" class="h-card p-author author vcard">
|
<span itemprop="author" itemscope itemtype="https://schema.org/Person" class="h-card p-author author vcard">
|
||||||
<a itemprop="url" href="https://seirdy.one" rel="author home" class="u-url url">
|
<a itemprop="url" href="https://seirdy.one" rel="author home cc:attributionURL" class="u-url url" property="cc:attributionName">
|
||||||
<img itemprop="image" class="u-photo photo" src="data:image/png;base64,{{ $favicon_base64 }}" alt="" width="16" height="16">
|
<img itemprop="image" class="u-photo photo" src="data:image/png;base64,{{ $favicon_base64 }}" alt="" width="16" height="16">
|
||||||
<span itemprop="name" class="p-name fn n">
|
<span itemprop="name" class="p-name fn n">
|
||||||
<span itemprop="givenName" class="p-given-name given-name">Rohan</span>
|
<span itemprop="givenName" class="p-given-name given-name">Rohan</span>
|
||||||
|
|
Loading…
Reference in a new issue