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

github.com/tummychow/lanyon-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBhavin Gandhi <bhavin7392@gmail.com>2020-01-25 16:25:28 +0300
committerBhavin Gandhi <bhavin7392@gmail.com>2020-03-28 21:10:22 +0300
commit1ab1a785bdaf5aa6c62c8309a7a03176977b99c5 (patch)
treec369de4a4d46f965dfc4b7661d604d755d93335c
parent0bfd561f44a8528e70da1f3dd4be3b0a846c1084 (diff)
Show .Site.Params.description in sidebar
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
-rw-r--r--layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 43d3c7c..70b42f4 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -5,7 +5,7 @@
<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<div class="sidebar-item">
- <p>A reserved <a href="http://jekyllrb.com" target="_blank">Jekyll</a> theme that places the utmost gravity on content with a hidden drawer. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a>.</p>
+ <p>{{ if .Site.Params.description }}{{ .Site.Params.description }}{{ else }}A reserved <a href="http://jekyllrb.com" target="_blank">Jekyll</a> theme that places the utmost gravity on content with a hidden drawer. Made by <a href="https://twitter.com/mdo" target="_blank">@mdo</a>.{{ end }}</p>
</div>
<nav class="sidebar-nav">