feat: add support for hiding "Recent posts" block
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<nav class="col-md-3">
|
||||
{{ if $.Site.Params.codeeditor_menu_mostrecentposts | default true }}
|
||||
<h3 class="home-link"><a href="{{ index .Site.Params "rootlink" | default .Site.BaseURL }}">{{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).root }}</a></h3>
|
||||
<div id="last-posts" class="open">
|
||||
<h3 data-open="last-posts">{{ .Site.Title }} - {{ ( index $.Site.Data.translations (default $.Site.Params.locale "en-US") ).mostrecentposts }}</h3>
|
||||
@@ -8,6 +9,7 @@
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
{{ end }}
|
||||
|
||||
{{ with .Site.Taxonomies.tags }}
|
||||
<div id="tags" class="open">
|
||||
|
||||
Reference in New Issue
Block a user