diff options
author | Vicky <vicky@vickylai.com> | 2018-07-16 00:10:01 +0300 |
---|---|---|
committer | Vicky <vicky@vickylai.com> | 2018-07-16 00:10:01 +0300 |
commit | 9651b77ff65fffa35418a74d6458490421a46fa2 (patch) | |
tree | e3df4fa35e0ef80ca7909edb09cc6c5fc2c6fd05 | |
parent | f94a4833f21c723814ab5bd9a01d5489812bd35d (diff) |
Fix spelling errors
-rw-r--r-- | exampleSite/config.toml | 8 | ||||
-rw-r--r-- | layouts/projects/single.html | 10 |
2 files changed, 9 insertions, 9 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 0c65fea..0748e03 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -40,7 +40,7 @@ theme = "introduction" url = "https://linkedin.com/" icon = "linkedin-in" -# If you don`t want to use the default menu, you can define one by yoursel +# If you don't want to use the default menu, you can define one by yourself # [[menu.main]] # name = "Home" # url = "/" @@ -55,7 +55,7 @@ theme = "introduction" languageName = "English" languageCode = "en-us" contentDir = "content/en" - weigth = 2 + weight = 2 title = "Introduction" firstName = "Hi, I'm Introduction" # First name shows in introduction on main page tagLine = "I'm a theme for Hugo." # Appears after the introduction @@ -65,7 +65,7 @@ theme = "introduction" languageName = "Español" languageCode = "es" contentDir = "content/es" - weigth = 1 + weight = 1 title = "Introducción" firstName = "Hola, Soy Introducción" tagLine = "Soy un tema para Hugo." @@ -75,7 +75,7 @@ theme = "introduction" languageName = "Deutsch" languageCode = "de" contentDir = "content/de" - weigth = 0 + weight = 0 title = "Vorstellung" firstName = "Hallo, ich bin Vorstellung" tagLine = "Ich bin ein Hugo Theme" diff --git a/layouts/projects/single.html b/layouts/projects/single.html index 557aa98..01cd002 100644 --- a/layouts/projects/single.html +++ b/layouts/projects/single.html @@ -2,21 +2,21 @@ <div class="container markdown top-pad"> {{ with .Resources.ByType "image" }} <div class="has-text-centered"> - {{ $moreThenOneImage := gt (len .) 1 }} - {{ if $moreThenOneImage }} + {{ $moreThanOneImage := gt (len .) 1 }} + {{ if $moreThanOneImage }} <div class="owl-carousel owl-theme"> {{ end }} {{ range sort . "Params.weight" }} {{ $image := .Resize "1000x" }} - {{ if $moreThenOneImage }} + {{ if $moreThanOneImage }} <div class="item owl-height"> {{ end }} <img src="{{ $image.RelPermalink }}" class="img-responsive" alt="{{ $image.Name }}"> - {{ if $moreThenOneImage }} + {{ if $moreThanOneImage }} </div> {{ end }} {{ end }} - {{ if $moreThenOneImage }} + {{ if $moreThanOneImage }} </div> {{ end }} </div> |