title | output | ||||
---|---|---|---|---|---|
Readme |
|
In order to build the site, you should install some packages : blogdown, leaflets and magrittr. You should also install Hugo.
devtools::install_deps(upgrade="never")
blogdown::install_hugo()
The you need these commands to build the site, add contents and build new posts :
blogdown::new_site()
blogdown::new_content("content.Rmd")
blogdown::new_post("Title", ext = 'Rmd')
When adding a new content, in the config.toml file you should add
[[menu.main]]
name = "New_content"
url = "/new_content/"
We modified some things :
-
Added an images folder in static and put our icon in it
-
The logo in config.toml
url = "Image_MEE.png"
- The icon in config.toml
# path to the favicon, under "static"
favicon = "Image_MEE.png"
- The path of the posts folder in config.toml
name = "Editions"
url = "/post"
- The order of the different contents
[[menu.main]]
name = "New_content"
url = "/new_content/"
weight = 1
- We deployed the site with Netlify : https://meeseminar.netlify.app/home/