# Tufte Hugo Theme Hugo-Tufte is a minimalist blog-like theme for the [static site generator Hugo](https://gohugo.io) that attempts to be a faithful implementation of the [Tufte-css](https://githubcom/edwardtufte/tufte-css) project. It supports mathematical typesetting via [MathJax](https://www.mathjax.org). By utilizing copious partial templates the theme is largely customizable. ## Math TODO explain the different ways to write LaTeX. ## Site Parameters The site specific parameters that this theme recognizes are: - `subtitle` string: This is displayed under the main title. - `showPoweredBy` boolean: if true, display a shoutout to Hugo and this theme. - `copyrightHolder` string: Inserts the value in the default copyright notice. - `copyright` string: Custom copyright notice. ## Page Parameters - `hideDate` boolean: if true, do not display a page date. When `meta` is set to true, `hideDate` takes greater precedence. - `hideReadTime` boolean: if true, do not display the page's reading time estimate. When `meta` is set to true, `hideReadTime` takes greater precedence. - `math` boolean: if true, try to render the page's LaTeX code using MatheJax. - `meta` boolean: if true, display page meta-data author, date, categories provided these page parameters exist and are not overridden. Content in the `/post` directory, (i.e., pages of type "post") ignore this parameter. - `toc` boolean: if true, display the table of contents for the page. ## Shortcodes This theme provides the following shortcodes in an attempt to completely support all the features present in the [Tufte-css](https://github.com/edwardtufte/tufte-css) project. - `blockquote` - **Description**: Wrap text in a blockquote and insert optional `cite` or `footer` metadata. - **Usage**: Accepts the named parameters `cite` and `footer`. - **Example**: ```html {{% blockquote cite="www.shawnohare.com" footer="Shawn" %}} There is nothing more beautiful than an elegant mathematical proof. {{% /blockquote %}}` ``` - `div` - **Description**: This shortcode is provided as a work-around for wrapping complex blocks of markdown in div tags. The wrapped text can include other shortcodes - **Usage**: Identical to the `section` shortcode. Accepts the style parameters `class` and `id`. If no only the positional argument `"end"` is passed, a closing tag will be inserted. - **Example**: `{{< div class="my-class" >}}` inserts a `