aboutsummaryrefslogtreecommitdiff
path: root/_includes/grid.html
diff options
context:
space:
mode:
Diffstat (limited to '_includes/grid.html')
-rw-r--r--_includes/grid.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/_includes/grid.html b/_includes/grid.html
index 588f708..89950b1 100644
--- a/_includes/grid.html
+++ b/_includes/grid.html
@@ -23,6 +23,8 @@
{% t index.final %}
{% elsif include.writings %}
{% t writings.intro %}
+ {% elsif include.misc %}
+ {% t misc.intro %}
{% else %}
{% t blog.intro %}
{% endif %}
@@ -41,11 +43,13 @@
<div id="posts-list" class="row">
{% if page.url == "/" %}
- {% assign posts = site.posts | where:"lang",site.lang %}
+ {% assign posts = site.posts | where:"lang",site.lang| where:"blogpost",true %}
{% elsif page.url == "/blog/" %}
{% assign posts = site.posts | where:"lang",site.lang | where:"blogpost",true %}
+ {% elsif page.url == "/misc/" %}
+ {% assign posts = site.posts | where:"lang",site.lang | where:"misc",true %}
{% else %}
- {% assign posts = site.posts | where:"lang",site.lang | where:"blogpost",false %}
+ {% assign posts = site.posts | where:"lang",site.lang | where:"blogpost",false | where:"misc",false %}
{% endif %}
{% capture posts_count %}{{ posts | size }}{% endcapture %}