Skip to content

Commit bbd9265

Browse files
committed
Document how to set up an author identity
Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 5482d6a commit bbd9265

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,25 @@ Verified to work on Linux Mint 21.3, based on Ubuntu 22.04 LTS:
2121
- [Install Jekyll](https://jekyllrb.com/docs/installation/)
2222
- Run `bundle` from the blog directory to install all deps
2323

24+
## Identity
25+
26+
All blog posts have one or more authors. Make sure your nick is added
27+
to the file `_data/authors.yml` on the format:
28+
29+
```yaml
30+
jacky:
31+
name: Jacky Switch
32+
url: https://infix-os.net
33+
```
34+
2435
## Blog
2536
2637
1. New blog posts go in `_posts/yyyy-mm-dd-brief-title.md`
2738
2. Add front matter at the top of your post
2839

2940
---
3041
title: Longer title of post
42+
author: jacky
3143
date: 2022-11-20 09:03:20 +0100
3244
categories: [examples]
3345
tags: [cli]
@@ -40,5 +52,8 @@ Verified to work on Linux Mint 21.3, based on Ubuntu 22.04 LTS:
4052

4153
jekyll serve -lIw
4254

55+
> **Tip:** for work in progress, use the top-level directory `_drafts/`
56+
> and add the `-D` option to `jekyll serve` to preview your post.
57+
4358
[0]: https://jekyllrb.com/
4459
[1]: https://chirpy.cotes.page/

_drafts/.empty

Whitespace-only changes.

0 commit comments

Comments
 (0)