Skip to main content

Authors

Blog authors are configured in blog/authors.yml. Every author has a profile, an avatar, and optionally a dedicated page.


File Location​

blog/authors.yml

Basic Structure​

axcora:
name: Axcora Technology
title: Sovereign Web Architect & AI Research Lab
url: https://axcora.com
image_url: https://avatars.githubusercontent.com/u/120108849?s=120&v=4
page: true
socials:
github: mesinkasir
newsletter: https://pycora.axcora.com

Fields​

FieldRequiredPurpose
nameYesAuthor display name
titleNoAuthor role or tagline
urlNoLink to author's website
image_urlNoAuthor avatar (URL or local path)
pageNotrue = create an author page
socialsNoSocial links

Adding an Author​

Add a new entry to authors.yml:

yourname:
name: Your Name
title: Your Role
url: https://your-site.com
image_url: https://your-site.com/avatar.jpg
page: true
socials:
github: your-github
twitter: your-twitter

The key (yourname) is what you reference in blog posts.


Using Authors in Blog Posts​

Add authors to the frontmatter:

---
title: "My Post"
authors:
- axcora
- mesinkasir
---

Multiple authors are supported. The blog post shows all of them.


Author Pages​

If page: true, Docusaurus creates a page at:

/blog/authors/yourname

The page lists all posts by that author.

If page: false, the author appears on posts but has no dedicated page.


Author Avatar​

Two options:

Option A — External URL:

image_url: https://avatars.githubusercontent.com/u/120108849?s=120&v=4

Option B — Local image:

image_url: /img/authors/yourname.jpg

Place local avatars in static/img/authors/.

Recommended size: 120×120px.


The socials field accepts any key-value pair:

socials:
github: your-github
twitter: your-twitter
linkedin: your-linkedin
newsletter: https://your-newsletter.com
KeyWhat It Does
githubLinks to GitHub profile
twitterLinks to Twitter profile
linkedinLinks to LinkedIn profile
newsletterCustom link (any label)

Default Authors​

Nocturne ships with three authors:

KeyName
axcoraAxcora Technology
mesinkasirMesin Kasir
creativitasCreativitas

You can edit, remove, or add to these.


Best Practices​

  • Use lowercase keys — axcora, not Axcora
  • Square avatars — works best with the circular mask
  • Short titles — 3–6 words
  • Enable pages for main authors — page: true
  • Disable pages for guest authors — page: false

Troubleshooting​

Author doesn't appear on a post​

  1. Check the key in authors.yml
  2. Check the frontmatter — must match exactly
  3. Restart the dev server

Author page returns 404​

Check that page: true in authors.yml.

Avatar doesn't load​

  1. Check the URL — must be accessible
  2. For local images, check that the file exists in static/img/authors/
  3. Check for typos in the path

Multiple authors — only one shows​

Check the frontmatter — it must be a list:

authors:
- axcora
- mesinkasir

Not:

authors: axcora, mesinkasir