Including A Blog Within My Website #2949
-
Hi there! This is a very noob-level question. My apologies in advance. Just began learning how to use Quarto. I am creating a personal website and wish to create a blog within it. Should I do this within the main website directory (mysite)? Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Welcome! If you're adding a Quarto blog to an existing Quarto website, it should be largely about creating a 'listing' page. Just make a ---
title: "My Blog"
listing:
contents: posts
sort: "date desc"
type: default
categories: true
--- And the place your post Does this make sense? |
Beta Was this translation helpful? Give feedback.
-
This is somewhat helpful. There are utilities in packages like Does quarto support the structure of having 1 folder per post? Are there utilities to create a new post with the appropriate organization? |
Beta Was this translation helpful? Give feedback.
Welcome! If you're adding a Quarto blog to an existing Quarto website, it should be largely about creating a 'listing' page. Just make a
blog.qmd
page with this yaml:And the place your post
qmd
files in the posts folder (including in subfolders). Learn more here: https://quarto.org/docs/websites/website-listings.htmlDoes this make sense?