Skip to content

Commit cc024af

Browse files
committed
Automatically list posts in index
1 parent bbd7165 commit cc024af

File tree

9 files changed

+23
-17
lines changed

9 files changed

+23
-17
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ tag_archive:
277277
# category: /categories/:name/
278278
# tag: /tags/:name/
279279

280-
categories: [communication, report]
280+
categories: [communication, report, cppcon]
281281

282282
# HTML Compression
283283
# - https://jch.penibelst.de/

_data/navigation.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ sidebar:
4646
url: /conferences/organising-conferences/
4747
- title: "Toolbox"
4848
url: https://github.com/include-cpp/toolboxes/blob/main/README.md
49+
- title: "Communications"
50+
url: /posts/
4951
- title: "Shop"
5052
url: /shop/
5153
children:

index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ toc: true
66

77
## CppCon Safety
88

9-
[#include <C++> update on CppCon](/posts/cppcon-update/)
10-
11-
[#include <C++> stands with Patricia](/posts/patricia-statement-of-support/)
12-
13-
[Our communication regarding CppCon 2021.](/posts/communication-cppcon/)
14-
15-
[About the unapproved release of some working documents.](/posts/communication-working-document/)
9+
<ul>
10+
{% for page in site.pages reversed %}
11+
{% if page.categories contains 'cppcon' %}
12+
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
13+
{% endif %} <!-- resource-p -->
14+
{% endfor %} <!-- page -->
15+
</ul>
1616

1717
{% include_relative conferences/current_funding_campaign.md %}
1818

posts/communication-working-document.md renamed to posts/20220308-communication-working-document.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: archive
33
title: "Communication about our working document"
4+
categories: [communication, cppcon]
45
---
56

67
8 March 2022
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: home
33
title: "#include <C++> Position on CppCon Safety"
44
toc: true
5+
categories: [communication, cppcon]
56
---
67

78
14 March 2022

posts/patricia-statement-of-support.md renamed to posts/20220318-patricia-statement-of-support.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: archive
33
title: "#include <C++> stands with Patricia"
4+
categories: [communication, cppcon]
45
---
56

67
18 March 2022
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
layout: home
33
title: "#include <C++> Update on CppCon"
44
toc: true
5+
categories: [communication, cppcon]
56
---
67

78
23 June 2022

posts/index.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
22
layout: home
3-
title: "Our Posts"
3+
title: "Our Communications"
44
---
55

6-
[#include <C++> update on CppCon](/posts/cppcon-update/)
7-
8-
[#include <C++> stands with Patricia](/posts/patricia-statement-of-support/)
9-
10-
[Our communication regarding CppCon 2021.](/posts/communication-cppcon/)
11-
12-
[About the unapproved release of some working documents.](/posts/communication-working-document/)
6+
<ul>
7+
{% for page in site.pages reversed %}
8+
{% if page.categories contains 'communication' %}
9+
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
10+
{% endif %} <!-- resource-p -->
11+
{% endfor %} <!-- page -->
12+
</ul>

reports/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: "Reports"
44
---
55

66
<ul>
7-
{% for page in site.pages %}
7+
{% for page in site.pages reversed %}
88
{% if page.categories contains 'report' %}
99
<li><a href="{{ page.url }}">{{ page.title }}</a></li>
1010
{% endif %} <!-- resource-p -->

0 commit comments

Comments
 (0)