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:
authorStephen Jung <tummychow511@gmail.com>2021-01-23 07:37:23 +0300
committerGitHub <noreply@github.com>2021-01-23 07:37:23 +0300
commitcd7b91420a90e8f5cba8e6fc68ac4ce0a558ea92 (patch)
tree2a07b6b7506166ad6968a650921543a37b10291a
parent7ecf978c5ec30d27f74b5d9337e5e5223393e8c5 (diff)
parentc3362127f2836c80dc4dd8a1b9f2fd7e8c3bd2f9 (diff)
Merge pull request #34 from bhavin192/descriptionHEADmaster
Markdownify the .Site.Params.description
-rw-r--r--layouts/partials/sidebar.html8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 12a0a09..3281257 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -5,7 +5,13 @@
<!-- Toggleable sidebar -->
<div class="sidebar" id="sidebar">
<div class="sidebar-item">
- <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>
+ <p>
+ {{- with .Site.Params.description }}
+ {{ . | markdownify }}
+ {{- 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">