crumplab_blog_index | R Documentation |
This function replaces 'pkgdown::build_articles_index' which does not allow override of site-wide settings in'_pkgdown.yml'. This function allows overrides for 'articles/index.html', which I am currently using to list blog posts. As a result, it is possible to have unique meta tags (or other unique features) specified through overrides for this page that are different from the site-wide tags.
crumplab_blog_index(pkg = ".", override = yaml::read_yaml("_blog.yml"))
pkg |
The package name |
override |
a list of overrides, defaults to the overrides specified in '_blog.yml' |
builds the 'articles/index.html' page
## Not run:
crumplab_blog_index()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.