Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/curttimson/hugo-theme-dopetrope.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/post/sidebar.html')
-rw-r--r--layouts/partials/post/sidebar.html17
1 files changed, 9 insertions, 8 deletions
diff --git a/layouts/partials/post/sidebar.html b/layouts/partials/post/sidebar.html
index 203043a..83726ac 100644
--- a/layouts/partials/post/sidebar.html
+++ b/layouts/partials/post/sidebar.html
@@ -1,21 +1,22 @@
+{{ $sidebar := .Site.Params.Sidebar }}
<!-- Sidebar -->
<section class="box">
- {{ if .Site.Params.Sidebar.image }}
- <a href="#" class="image featured"><img src="{{ .Site.BaseURL }}{{ .Site.Params.Sidebar.image }}" alt="" /></a>
+ {{ if $sidebar.image1 }}
+ <a href="{{ $sidebar.imagelink1 }}" class="image featured"><img src="{{ .Site.BaseURL }}{{ $sidebar.image1 }}" alt="" /></a>
{{ end }}
<header>
- <h3>Sed etiam lorem nulla</h3>
+ <h3>{{ $sidebar.title1 }}</h3>
</header>
- <p>Lorem ipsum dolor sit amet sit veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat phasellus tempus dolore ipsum lorem dolore.</p>
+ <p>{{ $sidebar.description1 }}</p>
<footer>
- <a href="#" class="button alt">Magna sed taciti</a>
+ <a href="{{ $sidebar.buttonlink1 }}" class="button alt">{{ $sidebar.buttontext1 }}</a>
</footer>
</section>
<section class="box">
<header>
- <h3>Feugiat consequat</h3>
+ <h3>{{ $sidebar.title2 }}</h3>
</header>
- <p>Veroeros sed amet blandit consequat veroeros lorem blandit adipiscing et feugiat sed lorem consequat feugiat lorem dolore.</p>
+ <p>{{ $sidebar.description2 }}</p>
<ul class="divided">
<li><a href="#">Sed et blandit consequat sed</a></li>
<li><a href="#">Hendrerit tortor vitae sapien dolore</a></li>
@@ -23,6 +24,6 @@
<li><a href="#">Aptent taciti sociosqu ad litora</a></li>
</ul>
<footer>
- <a href="#" class="button alt">Ipsum consequat</a>
+ <a href="{{ $sidebar.buttonlink2 }}" class="button alt">{{ $sidebar.buttontext2 }}</a>
</footer>
</section> \ No newline at end of file