Skip to content

Author name and url slug #2264

Answered by chrede88
jeremygibbs asked this question in Q&A
Apr 16, 2021 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Just tested this locally on a test site. The url shouldn't depend on the title (display name) defined in _index.md, but reflects the folder name, which also should be the defined authors field.

Example:
Author with display name Christian J. S. Olsen, on path ./content/authors/christian-olsen/.
_index.md:

title: 'Christian J. S. Olsen'
authors:
  - 'christian-olsen'

The url will be <site>/authors/christian-olsen/

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@jeremygibbs
Comment options

@chrede88
Comment options

@jeremygibbs
Comment options

Answer selected by jeremygibbs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants