From 9651b77ff65fffa35418a74d6458490421a46fa2 Mon Sep 17 00:00:00 2001 From: Vicky Date: Sun, 15 Jul 2018 17:10:01 -0400 Subject: [PATCH] Fix spelling errors --- exampleSite/config.toml | 8 ++++---- 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 @@
{{ with .Resources.ByType "image" }}
- {{ $moreThenOneImage := gt (len .) 1 }} - {{ if $moreThenOneImage }} + {{ $moreThanOneImage := gt (len .) 1 }} + {{ if $moreThanOneImage }} {{ end }}