Skip to content

Add a "page-type" front matter key #532

Closed Answered by teoli2003
wbamberg asked this question in Content
Discussion options

You must be logged in to vote

[Not sure how github discussions work: it looks that a question is asked in the initial entry, then people are proposing answers, the actual discussions happen in replies of these, and the answers get updates; people also vote for the proposed answered that are ordered by votes by default. Finally an answer is chosen as the answer and the discussion is close. A kind of StackOverflow]

I'm in favour of having page-type: in front-matter.

Rationale for page-type:

I see having quite a few advantages of having a page-type: directive in front-matter:

  • They will be the source of truth for the sidebars macro (or even later, if sidebars type are moved out of the text to front-matter too, as @hamish…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@wbamberg
Comment options

wbamberg May 20, 2021
Maintainer Author

@peterbe
Comment options

@peterbe
Comment options

@teoli2003
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by estelle
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
5 participants