Skip to content

Commit

Permalink
[ZZO] Add webmention.io link in page headers
Browse files Browse the repository at this point in the history
  • Loading branch information
szpak committed Mar 6, 2020
1 parent 35527c8 commit e7e5742
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions layouts/partials/head/meta.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@
<link href="{{ . }}" rel="me">
{{ end }}
{{ end}}
{{ if $.Site.Params.webmentionIo }}
{{ $parsedBaseUrl := urls.Parse .Site.BaseURL }}
{{ with $parsedBaseUrl.Host }}
<link rel="webmention" href="https://webmention.io/{{ . }}/webmention" />
{{ end }}
{{ end }}
{{ hugo.Generator }}
<meta name="msapplication-TileColor" content="{{ $.Scratch.Get "themeTitleColor" | default "#fff" }}">
<!-- Chrome, Firefox OS and Opera -->
Expand Down

0 comments on commit e7e5742

Please sign in to comment.