summaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorFrancesco <tomaselli.fr@gmail.com>2025-05-16 19:34:51 +0200
committerFrancesco <tomaselli.fr@gmail.com>2025-05-16 19:34:51 +0200
commitab3d2d785758aebf0da5a59c3aed6a172a71f59d (patch)
treeb36dcf9b7ab9e4633be6cc7b8b7159f930ed04a6 /wiki
parent02934adef1e55ad9ce16f9eba62d96f69a39e401 (diff)
Add author rendering
Diffstat (limited to 'wiki')
-rw-r--r--wiki/features/single-page-parameters.md10
-rw-r--r--wiki/setup.md2
2 files changed, 12 insertions, 0 deletions
diff --git a/wiki/features/single-page-parameters.md b/wiki/features/single-page-parameters.md
index 0bf62b0..8ebb3c6 100644
--- a/wiki/features/single-page-parameters.md
+++ b/wiki/features/single-page-parameters.md
@@ -12,6 +12,16 @@ showTags: false
The following parameters apply to single pages, they are meant to be inserted in the `.md` files introductions, apart from the date format.
+## Author
+
+You can specify an author name to display and avatar path to use. Here is an example
+using an image from /static:
+
+```md
+author: "Francesco"
+authorAvatarPath: "/avatar.jpeg"
+```
+
## Table of Contents
Show a table of contents at the beginning of the post.
diff --git a/wiki/setup.md b/wiki/setup.md
index ef17db8..b93f21d 100644
--- a/wiki/setup.md
+++ b/wiki/setup.md
@@ -169,6 +169,8 @@ Sample post config.
```markdown
---
title: "Log-Structured Merge Tree"
+author: "Francesco"
+authorAvatarPath: "/avatar.jpeg"
date: "2023-11-12"
summary: "An LSM Tree overview and Java implementation."
description: "An LSM Tree overview and Java implementation."