diff options
author | mibragimchayev <michael.ibragimchayev@gmail.com> | 2020-06-12 20:41:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-12 20:41:45 +0300 |
commit | e0a2045b6d2efa8c37bdd92a496e73eb5a297e09 (patch) | |
tree | 83387a2ca7b4b8f7774f0fa9b9308d9fa06b2da9 | |
parent | 7ea8ee7f2796478388d2352382d25eeadfb61f2c (diff) |
Updating theme to support Hugo v0.72.0 (#21)
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | layouts/_default/list.html | 0 | ||||
-rw-r--r-- | layouts/_default/single.html | 0 | ||||
-rw-r--r-- | layouts/index.html | 12 | ||||
-rw-r--r-- | theme.toml | 2 |
5 files changed, 9 insertions, 6 deletions
@@ -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> @@ -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" |