Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

display author per post #54

Closed
martinclauss opened this issue Aug 26, 2024 · 2 comments
Closed

display author per post #54

martinclauss opened this issue Aug 26, 2024 · 2 comments

Comments

@martinclauss
Copy link

Hey :)

I have the following configuration in my posts:

---
title: "TITLE"
author: "AUTHOR"
date: 2024-08-26T15:46:53+02:00
draft: false
---

**foo**

Our blog has multiple authors. Currently the author's name (AUTHOR) is not rendered.

image

How can I fix this?

Thanks!

@tomowang
Copy link
Owner

Rendering author is not supported currently. I'll add such support.

@tomowang
Copy link
Owner

I add configuration for showing author (see https://github.com/tomowang/hugo-theme-tailwind/blob/main/exampleSite/config/_default/params.toml#L11). This is default set to false.
You can set global author in site params as (name will be used)

[author]
  name = "Xiaoliang Wang"
  email = "user@example.com"

and author in post will overwrite the global one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants