File tree 9 files changed +73
-65
lines changed
9 files changed +73
-65
lines changed Original file line number Diff line number Diff line change 9
9
</ div >
10
10
11
11
< div class ="home ">
12
- {% for post in paginator.posts %}
12
+ {% assign sorted = (paginator.posts | sort: 'date' | reverse) %}
13
+ {% for post in sorted %}
13
14
14
15
< article class ="post--card ">
15
16
Original file line number Diff line number Diff line change @@ -5,5 +5,5 @@ permalink: tentang_kami.html
5
5
---
6
6
7
7
PHP Indonesia Chapter Jakarta merupakan sub-regional dari komunitas PHP Indonesia.
8
- Kami memiliki beberapa programm kerja seperti Kuliah WhatsApp setiap malam minggu, meetupu rutin yang menjadi sharing knowledge juga bagi member yang ada.
8
+ Kami memiliki beberapa program kerja seperti Kuliah WhatsApp setiap malam minggu, meetup rutin yang menjadi sharing knowledge juga bagi member yang ada.
9
9
Original file line number Diff line number Diff line change @@ -10,17 +10,18 @@ permalink: arsip.html
10
10
{% assign nt = cat[ 0] %}
11
11
12
12
#### {{ nt }} {#cat-{{nt}}}
13
- <ul >
14
- {% for post in site.posts %}
15
- {% for pt in post.categories %}
16
- {% if nt == pt %}
17
- <li >
18
- {{ post.date | date: "%b %-d, %Y" }} -
19
- <a href =" {{ post.url }} " >{{ post.title }}</a >
20
- </li >
21
- {% endif %}
22
- {% endfor %}
23
- {% endfor %}
13
+ <ul >
14
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
15
+ {% for post in sorted %}
16
+ {% for pt in post.categories %}
17
+ {% if nt == pt %}
18
+ <li>
19
+ {{ post.date | date: "%b %-d, %Y" }} -
20
+ <a href="{{ post.url }}">{{ post.title }}</a>
21
+ </li>
22
+ {% endif %}
23
+ {% endfor %}
24
+ {% endfor %}
24
25
</ul >
25
26
{% endfor %}
26
27
@@ -31,7 +32,8 @@ permalink: arsip.html
31
32
32
33
#### {{ nt }} {#tag-{{nt | downcase | replace: ' ', '_ '}}}
33
34
<ul >
34
- {% for post in site.posts %}
35
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
36
+ {% for post in sorted %}
35
37
{% for pt in post.tags %}
36
38
{% if nt == pt %}
37
39
<li >
Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ title: Artikel Kategori Komunitas
4
4
permalink : category/community.html
5
5
---
6
6
7
- <ul >
8
- {% for post in site.posts %}
9
- {% for pt in post.categories %}
10
- {% if pt == "community" %}
11
- <li >
12
- {{ post.date | date: "%b %-d, %Y" }} - <a href =" {{ post.url }} " >{{ post.title }}</a >
13
- </li >
14
- {% endif %}
15
- {% endfor %}
16
- {% endfor %}
7
+ <ul >
8
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
9
+ {% for post in sorted %}
10
+ {% for pt in post.categories %}
11
+ {% if pt == "community" %}
12
+ <li>
13
+ {{ post.date | date: "%b %-d, %Y" }} - <a href="{{ post.url }}">{{ post.title }}</a>
14
+ </li>
15
+ {% endif %}
16
+ {% endfor %}
17
+ {% endfor %}
17
18
</ul >
Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ title: Artikel Kategori Kulwap
4
4
permalink : category/kulwap.html
5
5
---
6
6
7
- <ul >
8
- {% for post in site.posts %}
9
- {% for pt in post.categories %}
10
- {% if pt == "kulwap" %}
11
- <li >
12
- {{ post.date | date: "%b %-d, %Y" }} - <a href =" {{ post.url }} " >{{ post.title }}</a >
13
- </li >
14
- {% endif %}
15
- {% endfor %}
16
- {% endfor %}
7
+ <ul >
8
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
9
+ {% for post in sorted %}
10
+ {% for pt in post.categories %}
11
+ {% if pt == "kulwap" %}
12
+ <li>
13
+ {{ post.date | date: "%b %-d, %Y" }} - <a href="{{ post.url }}">{{ post.title }}</a>
14
+ </li>
15
+ {% endif %}
16
+ {% endfor %}
17
+ {% endfor %}
17
18
</ul >
Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ title: Artikel Kategori Meetup
4
4
permalink : category/meetup.html
5
5
---
6
6
7
- <ul >
8
- {% for post in site.posts %}
9
- {% for pt in post.categories %}
10
- {% if pt == "meetup" %}
11
- <li >
12
- {{ post.date | date: "%b %-d, %Y" }} - <a href =" {{ post.url }} " >{{ post.title }}</a >
13
- </li >
14
- {% endif %}
15
- {% endfor %}
16
- {% endfor %}
7
+ <ul >
8
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
9
+ {% for post in sorted %}
10
+ {% for pt in post.categories %}
11
+ {% if pt == "meetup" %}
12
+ <li>
13
+ {{ post.date | date: "%b %-d, %Y" }} - <a href="{{ post.url }}">{{ post.title }}</a>
14
+ </li>
15
+ {% endif %}
16
+ {% endfor %}
17
+ {% endfor %}
17
18
</ul >
Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ title: Artikel Kategori Tutorial
4
4
permalink : category/tutorial.html
5
5
---
6
6
7
- <ul >
8
- {% for post in site.posts %}
9
- {% for pt in post.categories %}
10
- {% if pt == "tutorial" %}
11
- <li >
12
- {{ post.date | date: "%b %-d, %Y" }} - <a href =" {{ post.url }} " >{{ post.title }}</a >
13
- </li >
14
- {% endif %}
15
- {% endfor %}
16
- {% endfor %}
7
+ <ul >
8
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
9
+ {% for post in sorted %}
10
+ {% for pt in post.categories %}
11
+ {% if pt == "tutorial" %}
12
+ <li>
13
+ {{ post.date | date: "%b %-d, %Y" }} - <a href="{{ post.url }}">{{ post.title }}</a>
14
+ </li>
15
+ {% endif %}
16
+ {% endfor %}
17
+ {% endfor %}
17
18
</ul >
Original file line number Diff line number Diff line change @@ -4,14 +4,15 @@ title: Artikel Kategori Komunitas
4
4
permalink : category-community.html
5
5
---
6
6
7
- <ul >
8
- {% for post in site.posts %}
9
- {% for pt in post.categories %}
10
- {% if pt == "community" %}
11
- <li >
12
- {{post.published}} <a href =" {{ post.url }} " >{{ post.title }}</a >
13
- </li >
14
- {% endif %}
15
- {% endfor %}
16
- {% endfor %}
7
+ <ul >
8
+ {% assign sorted = (site.posts | sort: 'date' | reverse) %}
9
+ {% for post in sorted %}
10
+ {% for pt in post.categories %}
11
+ {% if pt == "community" %}
12
+ <li>
13
+ {{post.published}} <a href="{{ post.url }}">{{ post.title }}</a>
14
+ </li>
15
+ {% endif %}
16
+ {% endfor %}
17
+ {% endfor %}
17
18
</ul >
Original file line number Diff line number Diff line change @@ -14,4 +14,4 @@ permalink: daftar_isi.html
14
14
{% endfor %}
15
15
</ul >
16
16
17
- </div >
17
+ </div >
You can’t perform that action at this time.
0 commit comments