Overview

tidytemplate provides a custom pkgdown template for core tidyverse packages (i.e. packages hosted by the tidyverse organisation). Please don’t use it for your own package.

The theme is built on top of the paper bootswatch theme.

Using tidytemplate

Make sure your _pkgdown.yaml contains:

You can customise the “part of” in the header, and the footer text with template parameters:

To work properly, tidytemplate requires the css files in inst/pkgdown/assets/. Because of this, you should not set default_assets: false in your _pkgdown.yaml.

If you deploy to github pages automatically using travis, add the following to your .travis.yml:

CSS files

Three CSS files play a role in styling the site:

Lorem Ipsum

Added to make the readme long enough that I can check scrolling.

Lorem ipsum dolor sit amet, ea pri paulo facete, in mel choro volumus. Dolore labitur cum no, vis copiosae appareat ex, vix antiopam iudicabit consequat in. Has equidem graecis et. Ea est partem altera, ius id agam debitis. Ex mea minim utroque, harum choro at has.

Vim rebum denique ad. Vocent dignissim ea qui, mea no vocent eruditi. At vix soleat bonorum comprehensam, qui nibh sale epicurei te, ex ullum dicta sit. Sed te vide nostrud. Denique delicata ut vim.

Nec no nobis scaevola, ad his commodo qualisque liberavisse. Sed porro propriae repudiare et, enim viris definitionem mei an. Ridens deserunt conceptam usu et. Cu has eros dicit, ex nec idque fabulas. Eum ei sensibus mnesarchum dissentias.

Eum id essent pericula salutandi, cu mazim congue molestiae usu. No has omnesque conclusionemque, no eos nusquam offendit expetendis. Alii oratio ad usu. Et pri feugait recusabo salutandi, ius ad commune salutandi. Ut graece vivendum vim, decore qualisque mediocritatem vix cu.

Ei nullam postea interesset vix, vix eu case fugit graeco, nec ut ponderum deserunt. Has ex amet neglegentur, eos et porro debet eirmod. Te pri lorem persius facilisis. Eos liber mentitum nominavi id.