fix errors on theme building
This commit is contained in:
parent
b3560b9aaa
commit
d55cc982da
4 changed files with 20 additions and 17 deletions
|
@ -23,14 +23,16 @@
|
|||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
{{ if isset .Site.Params.webmentions "login" }}
|
||||
<link rel="webmention" href="https://webmention.io/{{.Site.Params.webmentions.login}}/webmention" />
|
||||
{{ if eq .Site.Params.webmentions.pingback true }}
|
||||
<link rel="pingback" href="https://webmention.io/{{.Site.Params.webmentions.login}}/xmlrpc" />
|
||||
{{ if isset .Site.Params "webmentions" }}
|
||||
{{ if isset .Site.Params.webmentions "login" }}
|
||||
<link rel="webmention" href="https://webmention.io/{{.Site.Params.webmentions.login}}/webmention" />
|
||||
{{ if eq .Site.Params.webmentions.pingback true }}
|
||||
<link rel="pingback" href="https://webmention.io/{{.Site.Params.webmentions.login}}/xmlrpc" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if isset .Site.Params.webmentions "url" }}
|
||||
<link rel="webmention" href="{{.Site.Params.webmentions.url}}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if isset .Site.Params.webmentions "url" }}
|
||||
<link rel="webmention" href="{{.Site.Params.webmentions.url}}" />
|
||||
{{ end }}
|
||||
|
||||
<!-- Article tags -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue