I've been really digging the updates to the distill package for generating websites. I'm wondering if there is a YAML setting or a way to modify the CSS/HTML that would remove the entire header section (Title, Author, Date, etc.). I'm thinking this would be useful for a homepage of website, for example, where you don't necessarily want it.
You may try removing the entire header section by seting the value of display to none:
---
output: distill::distill_article
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
```{css}
d-title {
display: none;
}
```
Distill is a publication format for scientific and technical writing, native to the web.
Learn more about using Distill for R Markdown at <https://rstudio.github.io/distill>.
If you want to keep the empty header section use visibility instead:
---
title: "Introduction"
description: |
This document is a product of my internship at the World Agroforestry Centre, Nairobi, 2021.
author:
- first_name: "Magnus Kamau Katana"
last_name: "Lindhardt"
url: https://www.linkedin.com/in/magnus-kamau-lindhardt
affiliation: Intern at The World Agroforestry Centre, Nairobi & Msc student at the Wageningen University, The Netherlands
affiliation_url: https://www.linkedin.com/in/magnus-kamau-lindhardt
date: "`r Sys.Date()`"
output:
distill::distill_article:
toc: true
toc_float: true
toc_depth: 3
number_sections: true
code_folding: true
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
Distill is a publication format for scientific and technical writing, native to the web.
Learn more about using Distill for R Markdown at <https://rstudio.github.io/distill>.
simply delete the Title, Author, Date etc in the YAML
---
output:
distill::distill_article:
toc: true
toc_float: true
toc_depth: 3
number_sections: true
code_folding: true
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = FALSE)
```
Distill is a publication format for scientific and technical writing, native to the web.
Learn more about using Distill for R Markdown at <https://rstudio.github.io/distill>.