Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jacobsun/edidor.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsun6eal <jacob.sun.meta@gmail.com>2019-05-30 14:50:42 +0300
committersun6eal <jacob.sun.meta@gmail.com>2019-05-30 14:50:42 +0300
commit4291959172c7b598e21a7b4ffed58aaf5f817043 (patch)
tree5af1ac3b361a6757dbf04edd11825b5757344cc8
parent32b3a5c58250ba6bd232e60c70b758e4552e1225 (diff)
fixed typo and deprecated variable, null custom css and js in example config file
-rw-r--r--layouts/partials/footer.html4
-rw-r--r--layouts/partials/head.html2
-rw-r--r--layouts/partials/sidebar_posts.html2
3 files changed, 4 insertions, 4 deletions
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
index 3984224..d2e301b 100644
--- a/layouts/partials/footer.html
+++ b/layouts/partials/footer.html
@@ -21,11 +21,11 @@
<li><a href="#" class="btn">Pages:
{{ len (where (where .Site.Pages "Section" "page") "Params.hidden" "!=" true) }}</a></li>
<li><a href="#" class="btn">{{ .Site.Language.Lang }}</a></li>
- <li><a href="https://gohugo.io" class="btn">Hugo, {{ $.Hugo.Version }}</a></li>
+ <li><a href="https://gohugo.io" class="btn">Hugo, {{ hugo.Version }}</a></li>
<li><a href="https://github.com/jacobsun/edidor" class="btn">Theme: Edidor</a></li>
<li>
<a href="#" class="btn">Last build: <time
- datetime="{{ dateFormat "2006-01-02T15:04:05Z0700" $.Hugo.BuildDate | safeHTML }}">{{ dateFormat "2006-01-02T15:04:05Z0700" $.Hugo.BuildDate | safeHTML }}</time>
+ datetime="{{ dateFormat "2006-01-02T15:04:05Z0700" hugo.BuildDate | safeHTML }}">{{ dateFormat "2006-01-02T15:04:05Z0700" hugo.BuildDate | safeHTML }}</time>
</a>
</li>
</ul>
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 7a9fc49..e15e3f1 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -5,7 +5,7 @@
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
- {{ $.Hugo.Generator }}
+ {{ hugo.Generator }}
<!-- Permalink & RSSlink -->
<link rel="canonical" href="{{ .Permalink }}" />
<meta name="description" content="{{ .Site.Params.Description }}">
diff --git a/layouts/partials/sidebar_posts.html b/layouts/partials/sidebar_posts.html
index 4e47f3f..7845f0f 100644
--- a/layouts/partials/sidebar_posts.html
+++ b/layouts/partials/sidebar_posts.html
@@ -1,5 +1,5 @@
<ul class="posts control">
- {{ range first 10 (where (where .Site.RegularPages.ByDate.Reverse "Type" "in" site.Params.mainSections ) "Params.hidden" "!=" true) }}
+ {{ range first 10 (where (where .Site.RegularPages.ByDate.Reverse "Type" "in" .Site.Params.mainSections ) "Params.hidden" "!=" true) }}
<li><a class="no-break btn" href='{{ .RelPermalink }}'><i class="icon icon-post"></i> {{- .Title -}}</a></li>
{{ end }}
</ul>