mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-12 16:29:44 +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/"
|
||||
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"
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue