armaninspace / tamahagane.website

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

<iframe class="youtube-player" type="text/html" src="https://www.youtube.com/embed/EjDwhcZq1z0" allowfullscreen="" height="385" frameborder="0" width="100%"> </iframe>

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

  1. for a domain setup
    publishDir = ""
    logoLink = "/"
    [[mainMenu]]
    name = "Home"
    url = "/"
    [[mainMenu]]
    name = "About"
    url = "/content/pages/about"
    [[mainMenu]]
    name = "Blogs"
    url = "/content/pages/blogs"

  2. 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"

About


Languages

Language:CSS 84.8%Language:HTML 7.5%Language:R 5.6%Language:JavaScript 2.0%Language:Shell 0.1%