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

github.com/felicianotech/hugo-theme-lean-launch-page.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormibragimchayev <michael.ibragimchayev@gmail.com>2020-06-12 20:41:45 +0300
committerGitHub <noreply@github.com>2020-06-12 20:41:45 +0300
commite0a2045b6d2efa8c37bdd92a496e73eb5a297e09 (patch)
tree83387a2ca7b4b8f7774f0fa9b9308d9fa06b2da9
parent7ea8ee7f2796478388d2352382d25eeadfb61f2c (diff)
Updating theme to support Hugo v0.72.0 (#21)
-rw-r--r--.gitignore1
-rw-r--r--layouts/_default/list.html0
-rw-r--r--layouts/_default/single.html0
-rw-r--r--layouts/index.html12
-rw-r--r--theme.toml2
5 files changed, 9 insertions, 6 deletions
diff --git a/.gitignore b/.gitignore
index 01054bf..ff0372d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
exampleSite/themes/hugo-theme-lean-launch-page
+.DS_Store
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/_default/list.html
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/_default/single.html
diff --git a/layouts/index.html b/layouts/index.html
index c8ebb2f..82ecbe6 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -34,12 +34,14 @@
<p>{{ .Site.Params.tagline }}</p>
{{ if isset .Site.Params "mailchimpurl" }}{{ partial "mailchimp-signup" . }}{{ end }}
<div id="benefits">
- {{ range where .Data.Pages "Section" "benefits" }}
- <div>
- <h2><i class="fa {{ .Params.icon }}"></i>{{ .Title }}</h2>
- {{ .Content }}
- </div>
+ {{ range where .Site.Pages "Section" "benefits" }}
+ {{ if in .Path ".md" }}
+ <div>
+ <h2><i class="fa {{ .Params.icon }}"></i>{{ .Title }}</h2>
+ {{ .Content }}
+ </div>
{{ end }}
+ {{ end }}
</div>
</body>
</html>
diff --git a/theme.toml b/theme.toml
index b90bce2..899ef43 100644
--- a/theme.toml
+++ b/theme.toml
@@ -5,7 +5,7 @@ description = "A simple launch page useful for validing an idea in The Lean Star
homepage = "https://github.com/felicianotech/hugo-theme-lean-launch-page"
tags = ["simple", "launch page", "single page", "landing-page"]
features = ["mailchimp"]
-min_version = "0.35"
+min_version = "0.60"
[author]
name = "Ricardo N Feliciano"