fix errors on theme building
This commit is contained in:
parent
b3560b9aaa
commit
d55cc982da
13
README.md
13
README.md
@ -67,12 +67,13 @@ params:
|
|||||||
email: mail@example.org # used for microformats
|
email: mail@example.org # used for microformats
|
||||||
avatar: "/images/me.png" # used for microformats
|
avatar: "/images/me.png" # used for microformats
|
||||||
description: ""
|
description: ""
|
||||||
images:
|
# Uncomment if you need this
|
||||||
- images/og-featured.png # relative path to "static" directory
|
# images:
|
||||||
customCSS:
|
# - images/og-featured.png # relative path to "static" directory
|
||||||
- css/my.css # relative path to "assets" directory (don't use main.css filename)
|
# customCSS:
|
||||||
customJS:
|
# - css/my.css # relative path to "assets" directory (don't use main.css filename)
|
||||||
- js/main.js # relative path to "assets" directory
|
# customJS:
|
||||||
|
# - js/main.js # relative path to "assets" directory
|
||||||
dateFormat: "2006-01-02"
|
dateFormat: "2006-01-02"
|
||||||
paginationSinglePost: true
|
paginationSinglePost: true
|
||||||
style: light-without-switcher
|
style: light-without-switcher
|
||||||
|
@ -29,8 +29,8 @@ utterancesLabel = "" # optional
|
|||||||
name = "gohugoio"
|
name = "gohugoio"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
id = "telegram1"
|
id = "docs"
|
||||||
url = "https://ya.ru"
|
url = "https://gohugo.io/documentation/"
|
||||||
|
|
||||||
[menu]
|
[menu]
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ utterancesLabel = "" # optional
|
|||||||
name = "gohugoio"
|
name = "gohugoio"
|
||||||
|
|
||||||
[[params.social]]
|
[[params.social]]
|
||||||
id = "telegram1"
|
id = "docs"
|
||||||
url = "https://ya.ru"
|
url = "https://gohugo.io/documentation/"
|
||||||
|
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
|
@ -23,14 +23,16 @@
|
|||||||
{{ template "_internal/opengraph.html" . }}
|
{{ template "_internal/opengraph.html" . }}
|
||||||
{{ template "_internal/twitter_cards.html" . }}
|
{{ template "_internal/twitter_cards.html" . }}
|
||||||
|
|
||||||
{{ if isset .Site.Params.webmentions "login" }}
|
{{ if isset .Site.Params "webmentions" }}
|
||||||
<link rel="webmention" href="https://webmention.io/{{.Site.Params.webmentions.login}}/webmention" />
|
{{ if isset .Site.Params.webmentions "login" }}
|
||||||
{{ if eq .Site.Params.webmentions.pingback true }}
|
<link rel="webmention" href="https://webmention.io/{{.Site.Params.webmentions.login}}/webmention" />
|
||||||
<link rel="pingback" href="https://webmention.io/{{.Site.Params.webmentions.login}}/xmlrpc" />
|
{{ 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 }}
|
||||||
{{ end }}
|
|
||||||
{{ if isset .Site.Params.webmentions "url" }}
|
|
||||||
<link rel="webmention" href="{{.Site.Params.webmentions.url}}" />
|
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
<!-- Article tags -->
|
<!-- Article tags -->
|
||||||
|
Loading…
Reference in New Issue
Block a user