File tree Expand file tree Collapse file tree 2 files changed +17
-4
lines changed
content/this-month/2022-07 Expand file tree Collapse file tree 2 files changed +17
-4
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,8 @@ date = 2022-08-10
4
4
5
5
[extra ]
6
6
month = " July 2022"
7
- authors = [
7
+ editors = [
8
8
" phil-opp" ,
9
- " ColinFinck" ,
10
9
# add yourself here
11
10
]
12
11
+++
Original file line number Diff line number Diff line change 5
5
{% block main %}
6
6
< h1 > {{ page.title | safe}}</ h1 >
7
7
8
- < span class ="post-authors post-date "> Written by
8
+ < span class ="post-authors post-date ">
9
+ {%- if page.extra.authors -%}
10
+ Written by
9
11
{% for author in page.extra.authors -%}
10
12
{%- if not loop.first -%}
11
13
{%- if loop.last %}{% if loop.index0 > 1 %}, and {% else %} and {% endif %}{% else %}, {% endif -%}
12
14
{%- endif -%}
13
15
< a href ="https://github.com/{{ author }} "> @{{ author }}</ a >
14
16
{%- endfor %}
17
+ < br >
18
+ {%- endif -%}
15
19
16
- < br > Published on < time datetime ="{{ page.date | date(format= "%Y-%m-%d ") }}">
20
+ Published on < time datetime ="{{ page.date | date(format= "%Y-%m-%d ") }}">
17
21
{{ page.date | date(format="%b %d, %Y") }}
18
22
{% if page.extra.updated %} (updated on {{ page.extra.updated | date(format="%b %d, %Y") }}) {% endif %}
19
23
</ time >
24
+ {%- if page.extra.editors -%}
25
+ (edited by
26
+ {% for author in page.extra.editors -%}
27
+ {%- if not loop.first -%}
28
+ {%- if loop.last %}{% if loop.index0 > 1 %}, and {% else %} and {% endif %}{% else %}, {% endif -%}
29
+ {%- endif -%}
30
+ < a href ="https://github.com/{{ author }} "> @{{ author }}</ a >
31
+ {%- endfor -%}
32
+ )
33
+ {%- endif -%}
20
34
</ span >
21
35
22
36
{{ page.content | safe }}
You can’t perform that action at this time.
0 commit comments