armaninspace / armaninspace-blog-v2

Arman's blog moved to the HRocket engine

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 "armaninspace-blog-v2")
    publishDir = "/armaninspace-blog-v2"
    logoLink = "/armaninspace-blog-v2"
    [[mainMenu]]
    name = "Home"
    url = "/armaninspace-blog-v2"
    [[mainMenu]]
    name = "About"
    url = "/armaninspace-blog-v2/content/pages/about"
    [[mainMenu]]
    name = "Blogs"
    url = "/armaninspace-blog-v2/content/pages/blogs"

About

Arman's blog moved to the HRocket engine


Languages

Language:CSS 84.9%Language:HTML 7.5%Language:R 5.6%Language:JavaScript 1.9%Language:Shell 0.1%