File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,8 +4,7 @@ date: 2024-08-23
44collection : publications
55header :
66 teaser : /assets/images/helmi-lumi-web-interface/thumbnail.png
7- published : true
8- hidden : true
7+ published : false
98author : Huyen Do
109layout : post
1110filters :
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ permalink: site.js
33---
44{%- capture publications -%}
55[
6- {%- for publication in site .publications %}
6+ {%- for publication in site .publications | where : "published" , true %}
77 {
88 "key": "{{ forloop .index }}",
99 "type": "{{ publication .filters .Type | default: 'Post' }}",
@@ -24,7 +24,7 @@ permalink: site.js
2424
2525{%- capture events -%}
2626[
27- {%- for event_post in site .events %}
27+ {%- for event_post in site .events | where : "published" , true %}
2828 {
2929 "key": "{{ forloop .index }}",
3030 "type": "Event",
You can’t perform that action at this time.
0 commit comments