Edit index.Rmd for the homepage, not a post or page on defaulth lithuim theme using bookdown

I'm reading through the blogdown book.

After going through the getting started section I have a version of the sample site running in my viewer like this:

The section on editing content covers posts/pages and that makes sense. But what I want is really just a single home page, not any posts. I see a file in root index.Rmd:

---
site: blogdown:::blogdown_site
---

<!-- This file is for blogdown only. Please do not edit it. -->

Nevertheless, I tried to edit it by adding 'blablabla':

---
site: blogdown:::blogdown_site
---

<!-- This file is for blogdown only. Please do not edit it. -->

blablabla

I wasn;t sure what to expect, I hoped I might see the main homepage update with new text content blablabla but the new rendered page is the exact same as the screen above.

How can I work with the homepage, not a post page?

I had to add home:true to the yaml of a new index.Rmd file I added to the content dir. This set the rendered html /content/index.Rmd to be my home page.

/content/index.Rmd

---
title: Main Page
author: ''
date: ''
slug: ''
categories: []
tags: []
home: true
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)

# Bla
2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.