Embedding images
For embedding images put your images at "src/images" directory
Then in your Rmd files embed image as per images section on following link
https://rmarkdown.rstudio.com/authoring_basics.html
Embedding videos
For embedding youtube videos paste iframe embed code in Rmd file as follow
Blog listing page (Full content or Teaser)
For showing full content or teaser on blog listing page there is an option for setting in "src/content/blogs_list/blogs.Rmd"
teaser: "full" (For full content)
teaser: "half" (For content as teaser)
Path Settings
For resolving relative path issue user can adjust some configuration variables in config.toml as follow
-
for a domain setup
publishDir = ""
logoLink = "/"
[[mainMenu]]
name = "Home"
url = "/"
[[mainMenu]]
name = "About"
url = "/content/pages/about"
[[mainMenu]]
name = "Blogs"
url = "/content/pages/blogs" -
for github pages (when user's github page repo is "tamahagane.website")
publishDir = "/tamahagane.website"
logoLink = "/tamahagane.website"
[[mainMenu]]
name = "Home"
url = "/tamahagane.website"
[[mainMenu]]
name = "About"
url = "/tamahagane.website/content/pages/about"
[[mainMenu]]
name = "Blogs"
url = "/tamahagane.website/content/pages/blogs"