aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/partials/sidebar.html
diff options
context:
space:
mode:
authorgabrielgio <gabriel.giovanini@pm.me>2020-07-12 20:54:52 +0200
committergabrielgio <gabriel.giovanini@pm.me>2020-07-12 20:54:52 +0200
commit31a09fcf1c0d7abf4791ca6e5bba37135d3305f7 (patch)
treeab2911083c5fca428fd009b20a24bdf36186b563 /themes/flamingo/layouts/partials/sidebar.html
parentbeccd4b2a4730325b18f52aae6f457b2c593dc85 (diff)
downloadgabrielgio.me-31a09fcf1c0d7abf4791ca6e5bba37135d3305f7.tar.gz
gabrielgio.me-31a09fcf1c0d7abf4791ca6e5bba37135d3305f7.tar.bz2
gabrielgio.me-31a09fcf1c0d7abf4791ca6e5bba37135d3305f7.zip
Add log and some others small fixes
Diffstat (limited to 'themes/flamingo/layouts/partials/sidebar.html')
-rw-r--r--themes/flamingo/layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/flamingo/layouts/partials/sidebar.html b/themes/flamingo/layouts/partials/sidebar.html
index 92bbd80..9070f56 100644
--- a/themes/flamingo/layouts/partials/sidebar.html
+++ b/themes/flamingo/layouts/partials/sidebar.html
@@ -5,7 +5,7 @@
</div>
<div>
<ul>
- {{ range first 5 (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
+ {{ range first 5 .Site.RegularPages }}
<li><a href="{{ .RelPermalink }}">{{ .Title }}</a></li>
{{ end }}
</ul>