mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +00:00
Fix spelling errors
This commit is contained in:
parent
f94a4833f2
commit
9651b77ff6
2 changed files with 9 additions and 9 deletions
|
@ -40,7 +40,7 @@ theme = "introduction"
|
||||||
url = "https://linkedin.com/"
|
url = "https://linkedin.com/"
|
||||||
icon = "linkedin-in"
|
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]]
|
# [[menu.main]]
|
||||||
# name = "Home"
|
# name = "Home"
|
||||||
# url = "/"
|
# url = "/"
|
||||||
|
@ -55,7 +55,7 @@ theme = "introduction"
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
contentDir = "content/en"
|
contentDir = "content/en"
|
||||||
weigth = 2
|
weight = 2
|
||||||
title = "Introduction"
|
title = "Introduction"
|
||||||
firstName = "Hi, I'm Introduction" # First name shows in introduction on main page
|
firstName = "Hi, I'm Introduction" # First name shows in introduction on main page
|
||||||
tagLine = "I'm a theme for Hugo." # Appears after the introduction
|
tagLine = "I'm a theme for Hugo." # Appears after the introduction
|
||||||
|
@ -65,7 +65,7 @@ theme = "introduction"
|
||||||
languageName = "Español"
|
languageName = "Español"
|
||||||
languageCode = "es"
|
languageCode = "es"
|
||||||
contentDir = "content/es"
|
contentDir = "content/es"
|
||||||
weigth = 1
|
weight = 1
|
||||||
title = "Introducción"
|
title = "Introducción"
|
||||||
firstName = "Hola, Soy Introducción"
|
firstName = "Hola, Soy Introducción"
|
||||||
tagLine = "Soy un tema para Hugo."
|
tagLine = "Soy un tema para Hugo."
|
||||||
|
@ -75,7 +75,7 @@ theme = "introduction"
|
||||||
languageName = "Deutsch"
|
languageName = "Deutsch"
|
||||||
languageCode = "de"
|
languageCode = "de"
|
||||||
contentDir = "content/de"
|
contentDir = "content/de"
|
||||||
weigth = 0
|
weight = 0
|
||||||
title = "Vorstellung"
|
title = "Vorstellung"
|
||||||
firstName = "Hallo, ich bin Vorstellung"
|
firstName = "Hallo, ich bin Vorstellung"
|
||||||
tagLine = "Ich bin ein Hugo Theme"
|
tagLine = "Ich bin ein Hugo Theme"
|
||||||
|
|
|
@ -2,21 +2,21 @@
|
||||||
<div class="container markdown top-pad">
|
<div class="container markdown top-pad">
|
||||||
{{ with .Resources.ByType "image" }}
|
{{ with .Resources.ByType "image" }}
|
||||||
<div class="has-text-centered">
|
<div class="has-text-centered">
|
||||||
{{ $moreThenOneImage := gt (len .) 1 }}
|
{{ $moreThanOneImage := gt (len .) 1 }}
|
||||||
{{ if $moreThenOneImage }}
|
{{ if $moreThanOneImage }}
|
||||||
<div class="owl-carousel owl-theme">
|
<div class="owl-carousel owl-theme">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ range sort . "Params.weight" }}
|
{{ range sort . "Params.weight" }}
|
||||||
{{ $image := .Resize "1000x" }}
|
{{ $image := .Resize "1000x" }}
|
||||||
{{ if $moreThenOneImage }}
|
{{ if $moreThanOneImage }}
|
||||||
<div class="item owl-height">
|
<div class="item owl-height">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<img src="{{ $image.RelPermalink }}" class="img-responsive" alt="{{ $image.Name }}">
|
<img src="{{ $image.RelPermalink }}" class="img-responsive" alt="{{ $image.Name }}">
|
||||||
{{ if $moreThenOneImage }}
|
{{ if $moreThanOneImage }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if $moreThenOneImage }}
|
{{ if $moreThanOneImage }}
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in a new issue