Skip to content

Commit

Permalink
Preliminary support of h-card
Browse files Browse the repository at this point in the history
  • Loading branch information
martignoni committed Jan 1, 2025
1 parent b0c679a commit 7f760d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,8 @@
{{ if .NextInSection }}<link rel="next" href="{{ .NextInSection.Permalink }}">{{ end }}
{{ end }}
{{ partial "favicon" . }}
<link rel="me" href="{{ site.Params.mastodon }}" />
<link rel="me" href="https://twitter.com/{{ site.Params.twitter }}" />

<link rel="me" href="{{ site.Params.mastodon }}" class="u-url" />
<link rel="me" href="https://twitter.com/{{ site.Params.twitter }}" class="u-url" />
{{ partial "css" . }}
{{ block "style" . }}{{ end }}
{{ $lazylist := findRE "class=\".*?\\blazyload\\b.*?\"|class=lazyload\b" .Content }}
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/meta/name-author.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

{{ if isset .Params "author" }}
<meta name="author" content="{{ index .Params "author" }}">
<meta name="author" content="{{ index .Params "author" }}" class="p-name">
{{ else }}
<meta name="author" content="{{ site.Params.author }}">
<meta name="author" content="{{ site.Params.author }}" class="p-name">
{{ end }}

0 comments on commit 7f760d0

Please sign in to comment.