最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

r markdown - want to use Bootstrap .nav-tabs class in RMarkdown _site.yaml file for website on GitHub pages - Stack Overflow

programmeradmin2浏览0评论

I was wondering if there was an argument I could add to my _site.yaml file so that the rendered nav would have class = nav nav-tabs for formatting by Bootstrap (like this).

I thought there was a class: argument I could add under the navbar: section, or something like that, but I can't seem to find any documentation.

Here's what my current _site.yaml looks like, if that's relevant:

name: "my-website"
output_dir: docs
navbar:
  title: "My Website"
  left:
    - text: "Home"
      icon: fa-house
      href: index.html
    - text: "About"
      icon: fa-circle-info
      href: about.html
output:
  html_document:
    css: custom.css
    includes:
      in_header: header.html
      after_body: footer.html

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论