1
0
Fork 0
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:
Rohan Kumar 2022-02-15 21:42:01 -08:00
parent 87da30d600
commit dc27d47505
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
<!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" . -}}
<body itemscope itemtype="https://schema.org/Blog https://schema.org/WebPage">
{{ partial "header.html" . -}}

View file

@ -24,7 +24,7 @@
(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">
<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">
<span itemprop="name" class="p-name fn n">
<span itemprop="givenName" class="p-given-name given-name">Rohan</span>