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

github.com/runningstream/hugograyscale.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrunningstream <runningstreamllc@gmail.com>2020-01-19 08:32:06 +0300
committerrunningstream <runningstreamllc@gmail.com>2020-01-19 08:44:52 +0300
commit37140466ce87f61f4533b922d469471ae6662246 (patch)
treeeaa73ad3943cbdfeb7356e85e9659582957a2bb3
parent47c1ae7ef552dc9a20f1e421da0dc7884ac1ffdd (diff)
Update for Hugo changes and small bug
-rw-r--r--exampleSite/config.toml2
-rw-r--r--exampleSite/config_for_github_pages.toml2
-rw-r--r--layouts/index.html6
-rw-r--r--layouts/partials/head.html2
-rw-r--r--theme.toml2
5 files changed, 9 insertions, 5 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index ed6f0cb..b3db28b 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -3,6 +3,8 @@ languageCode = "en-us"
title = "Hugo Grayscale Theme"
theme = "hugograyscale"
#googleAnalytics = ""
+disableKinds = ["taxonomy", "taxonomyTerm"]
+
[params]
# Provide some metadata for search and indexing services
description = "A port of the Grayscale theme to Hugo"
diff --git a/exampleSite/config_for_github_pages.toml b/exampleSite/config_for_github_pages.toml
index 909e93d..a33af1d 100644
--- a/exampleSite/config_for_github_pages.toml
+++ b/exampleSite/config_for_github_pages.toml
@@ -3,6 +3,8 @@ languageCode = "en-us"
title = "Hugo Grayscale Theme"
theme = "hugograyscale"
#googleAnalytics = ""
+disableKinds = ["taxonomy", "taxonomyTerm"]
+
[params]
# Provide some metadata for search and indexing services
description = "A port of the Grayscale theme to Hugo"
diff --git a/layouts/index.html b/layouts/index.html
index 80f9aaf..c644be5 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,7 +1,7 @@
{{- define "main" -}}
- {{- $.Scratch.Add "about" "about" -}}
- {{- $.Scratch.Add "download" "download" -}}
- {{- $.Scratch.Add "contact" "contact" -}}
+ {{- $.Scratch.Set "about" "about" -}}
+ {{- $.Scratch.Set "download" "download" -}}
+ {{- $.Scratch.Set "contact" "contact" -}}
{{- range $pagesect := (slice "about" "download" "contact") -}}
{{- if isset $.Params $pagesect -}}
{{- $param_pagesect := index $.Params $pagesect -}}
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index cc58ec0..848dfe5 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -13,7 +13,7 @@
{{- if isset .Site.Params "msvalidate" -}}<meta name="msvalidate.01" content="{{ .Site.Params.msValidate }}">{{- end -}}
<!-- Site Generator -->
- <meta name="generator" content="Hugo {{ .Hugo.Version }}">
+ <meta name="generator" content="Hugo {{ hugo.Version }}">
<!-- Bootstrap core CSS -->
<link href="{{ "vendor/bootstrap/css/bootstrap.min.css" | relURL }}" rel="stylesheet">
diff --git a/theme.toml b/theme.toml
index eb00907..5c4051b 100644
--- a/theme.toml
+++ b/theme.toml
@@ -6,7 +6,7 @@ license = "MIT"
licenselink = "https://github.com/runningstream/hugograyscale/blob/master/LICENSE"
description = "Grayscale is a multi-section single page theme intended as a landing page."
homepage = "https://github.com/runningstream/hugograyscale/"
-tags = ["minimal", "simple", "landing-page", "one-page"]
+tags = ["minimal", "simple", "landing-page", "one-page", "responsive"]
features = []
min_version = "0.40.1"