Commit fd217bc
authored
Unify news posts and blog posts, and standardise "authors" vs "author" in frontmatter (#695)
Closes #128; this PR adds author and date icons to news posts.
There has been some inconsistency in how authors are mentioned in the
YAML frontmatter, which we have standardised with this PR.
#### use of `authors: ["foo"]`
https://github.com/search?q=%22authors%3A+%5B%22+%28org%3Ascientific-python+OR+repo%3Anumpy%2Fnumpy.org+OR+repo%3Ascipy%2Fscipy.org%29+language%3AMarkdown&type=code
#### use of `author: ["foo"]`
https://github.com/search?q=%22author%3A+%5B%22+%28org%3Ascientific-python+OR+repo%3Anumpy%2Fnumpy.org+OR+repo%3Ascipy%2Fscipy.org%29+language%3AMarkdown&type=code
This PR makes it `authors:` only, which can imply either a single author
or multiple authors.1 parent 5ce2c33 commit fd217bc
File tree
4 files changed
+13
-1
lines changed- layouts
- news
- partials
- posts
- section
4 files changed
+13
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
1 | 4 | | |
2 | 5 | | |
3 | | - | |
| 6 | + | |
4 | 7 | | |
5 | 8 | | |
6 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
13 | 16 | | |
14 | 17 | | |
| |||
0 commit comments