mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2025-10-09 10:11:14 +00:00
Made webmention portion of code more generic
This commit is contained in:
parent
4d5f0f30cb
commit
a574a122a4
4 changed files with 7 additions and 9 deletions
|
@ -14,6 +14,7 @@
|
|||
<meta name="author" content="{{ .Site.Params.Author }}" />
|
||||
<meta name="robots" content="index,follow" />
|
||||
<link rel="manifest" href="/manifest.json" />
|
||||
<link rel="hub" href="https://pubsubhubbub.superfeedr.com/"/>
|
||||
<link rel="shortcut icon" type="image/x-icon" href="{{ .Site.BaseURL }}{{ .Site.Params.favicon }}">
|
||||
|
||||
<!-- Identities -->
|
||||
|
@ -22,8 +23,9 @@
|
|||
{{ end -}}
|
||||
|
||||
<!-- Webmentions -->
|
||||
<link rel="webmention" href="https://webmention.io/brandonrozek.com/webmention" />
|
||||
<link rel="pingback" href="https://webmention.io/brandonrozek.com/xmlrpc" />
|
||||
{{ $siteHost := (urls.Parse .Site.BaseURL).Host -}}
|
||||
<link rel="webmention" href="https://webmention.io/{{ $siteHost }}/webmention" />
|
||||
<link rel="pingback" href="https://webmention.io/{{ $siteHost }}/xmlrpc" />
|
||||
|
||||
<!-- RSS / Alternative Links -->
|
||||
{{- if .IsHome -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue