Skip to content

Commit 16f86ac

Browse files
committed
Add blog authors with profile pics from GitHub!
1 parent d1b607b commit 16f86ac

4 files changed

Lines changed: 27 additions & 0 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ picks it up, newest first.
2525
```markdown
2626
---
2727
date: 2026-10-10
28+
authors:
29+
- xarlos
2830
description: One sentence.
2931
categories:
3032
- Python releases
@@ -42,6 +44,21 @@ The rest of the post.
4244
`date` and the `<!-- more -->` line are required, and the build fails without them. Reuse an
4345
existing category before inventing one.
4446

47+
`authors` puts your name and picture on the post. Each entry is a key from
48+
`docs/blog/.authors.yml`, so add yourself there in the same pull request as your first post:
49+
50+
```yaml
51+
authors:
52+
yourkey:
53+
name: Your Name
54+
description: A few words about you
55+
avatar: https://github.com/your-username.png
56+
url: https://github.com/your-username
57+
```
58+
59+
`name` and `avatar` are required. A key that isn't in the file fails the build. A post written by
60+
two people lists both keys.
61+
4562
### Nav conventions
4663

4764
The nav is written out rather than derived from the folder structure. Zensical can derive it, but it

‎docs/blog/.authors.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
authors:
2+
xarlos:
3+
name: Xarlos
4+
description: Practical Python
5+
avatar: https://github.com/Xarlos89.png
6+
url: https://github.com/Xarlos89

‎docs/blog/posts/python-3-15.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
date: 2026-10-10
3+
authors:
4+
- xarlos
35
description: Python 3.15 is out. Lazy imports, frozendict, unpacking in comprehensions, UTF-8 by default and a new profiler.
46
categories:
57
- Python releases

‎docs/blog/posts/welcome.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
---
22
date: 2026-10-10
3+
authors:
4+
- xarlos
35
description: Why practicalpython.org has a blog now, and what will be posted on it.
46
categories:
57
- Site news

0 commit comments

Comments
 (0)