angeliqueporciani / MEE-1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

title output
Readme
html_document
keep_md
true

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

About


Languages

Language:JavaScript 66.3%Language:HTML 24.0%Language:CSS 9.8%Language:R 0.0%