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
|
||||
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
|
||||
|
@ -29,8 +29,8 @@ utterancesLabel = "" # optional
|
||||
name = "gohugoio"
|
||||
|
||||
[[params.social]]
|
||||
id = "telegram1"
|
||||
url = "https://ya.ru"
|
||||
id = "docs"
|
||||
url = "https://gohugo.io/documentation/"
|
||||
|
||||
[menu]
|
||||
|
||||
|
@ -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"
|
||||
|
@ -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 -->
|
||||
|
Loading…
Reference in New Issue
Block a user