| | |
| | | # Ananke, A theme for [Hugo](http://gohugo.io/), a framework for building websites. |
| | | # Ananke, A theme for [Hugo](https://gohugo.io/), a framework for building websites. |
| | | |
| | | The intent of this theme is to provide a solid starting place for Hugo sites with basic features and include best practices for performance, accessibility, and rapid development. |
| | | |
| | |
| | | - `len` |
| | | - Conditionals |
| | | - `ge` (greater than or equal to) |
| | | - `.Site.Params.mainSections` to avoid hard-coding "blog," etc. [[release note](https://github.com/spf13/hugo/blob/66ec6305f6cb450ddf9c489854146bac02f7dca1/docs/content/meta/release-notes.md#enhancements)] |
| | | - `.Site.Params.mainSections` to avoid hard-coding "blog," etc. [[release note](https://github.com/gohugoio/hugo/blob/66ec6305f6cb450ddf9c489854146bac02f7dca1/docs/content/meta/release-notes.md#enhancements)] |
| | | |
| | | |
| | | This theme uses the "Tachyons" CSS library. This will allow you to manipulate the design of the theme by changing class names in HTML without touching the original CSS files. For more information see the [Tachyons website](http://tachyons.io/). |
| | | This theme uses the "Tachyons" CSS library. This will allow you to manipulate the design of the theme by changing class names in HTML without touching the original CSS files. For more information see the [Tachyons website](https://tachyons.io/). |
| | | |
| | | |
| | | |
| | |
| | | #### Other hero settings |
| | | If you would like to hide the header text on the featured image on a page, set `omit_header_text` to `true`. See `exampleSite/content/contact.md` for an example. |
| | | |
| | | You don't need an image though. The default background color is black, but you can change the color, by changing the default color class in the config.toml file. Choose a background color from any on the [Tachyons](http://tachyons.io/docs/themes/skins/) library site, and preface it with "bg-" |
| | | You don't need an image though. The default background color is black, but you can change the color, by changing the default color class in the config.toml file. Choose a background color from any on the [Tachyons](https://tachyons.io/docs/themes/skins/) library site, and preface it with "bg-" |
| | | |
| | | example: `background_color_class = "bg-blue"` or `background_color_class = "bg-gray"` |
| | | |
| | |
| | | |
| | | Ananke stylesheet is built with Hugo Pipes's [Asset Bundling](https://gohugo.io/hugo-pipes/bundling/#readout) alone to maximize compatibiliy. The theme simply bundles its several files into one minified and fingerprinted (in production) CSS file. |
| | | |
| | | Ananke uses [Tachyon.io](http://tachyons.io/) utility class library. |
| | | Ananke uses [Tachyon.io](https://tachyons.io/) utility class library. |
| | | |
| | | #### Custom CSS |
| | | |
| | |
| | | Individual Page (prioritized over global): |
| | | Set the `text_color` param in a page's markdown file front matter. |
| | | |
| | | note: The value of `text_color` must be a valid tachyons color class. Alist can be found [here](http://tachyons.io/docs/themes/skins/). |
| | | note: The value of `text_color` must be a valid tachyons color class. A list can be found [here](https://tachyons.io/docs/themes/skins/). |
| | | |
| | | |
| | | ### Localize date format |