diff options
author | Stephen Jung <tummychow511@gmail.com> | 2021-01-23 07:37:23 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-23 07:37:23 +0300 |
commit | cd7b91420a90e8f5cba8e6fc68ac4ce0a558ea92 (patch) | |
tree | 2a07b6b7506166ad6968a650921543a37b10291a | |
parent | 7ecf978c5ec30d27f74b5d9337e5e5223393e8c5 (diff) | |
parent | c3362127f2836c80dc4dd8a1b9f2fd7e8c3bd2f9 (diff) |
Markdownify the .Site.Params.description
-rw-r--r-- | layouts/partials/sidebar.html | 8 |
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"> |