fix errors on theme building

This commit is contained in:
Dmitry Kolosov 2021-06-17 13:18:18 +03:00
parent b3560b9aaa
commit d55cc982da
4 changed files with 20 additions and 17 deletions

View File

@ -67,12 +67,13 @@ params:
email: mail@example.org # used for microformats
avatar: "/images/me.png" # used for microformats
description: ""
images:
- images/og-featured.png # relative path to "static" directory
customCSS:
- css/my.css # relative path to "assets" directory (don't use main.css filename)
customJS:
- js/main.js # relative path to "assets" directory
# Uncomment if you need this
# images:
# - images/og-featured.png # relative path to "static" directory
# customCSS:
# - css/my.css # relative path to "assets" directory (don't use main.css filename)
# customJS:
# - js/main.js # relative path to "assets" directory
dateFormat: "2006-01-02"
paginationSinglePost: true
style: light-without-switcher

View File

@ -29,8 +29,8 @@ utterancesLabel = "" # optional
name = "gohugoio"
[[params.social]]
id = "telegram1"
url = "https://ya.ru"
id = "docs"
url = "https://gohugo.io/documentation/"
[menu]

View File

@ -30,8 +30,8 @@ utterancesLabel = "" # optional
name = "gohugoio"
[[params.social]]
id = "telegram1"
url = "https://ya.ru"
id = "docs"
url = "https://gohugo.io/documentation/"
[languages.en]
languageName = "English"

View File

@ -23,14 +23,16 @@
{{ template "_internal/opengraph.html" . }}
{{ template "_internal/twitter_cards.html" . }}
{{ if isset .Site.Params.webmentions "login" }}
{{ 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" }}
{{ end }}
{{ if isset .Site.Params.webmentions "url" }}
<link rel="webmention" href="{{.Site.Params.webmentions.url}}" />
{{ end }}
{{ end }}
<!-- Article tags -->