gohugo-theme-ananke/readme.md

38 lines
1.2 KiB
Markdown
Raw Normal View History

2017-04-15 05:08:11 +02:00
### A Base theme for [Hugo](http://gohugo.io/), a framework for building websites.
2017-04-15 04:44:42 +02:00
2017-04-15 05:08:11 +02:00
[DEMO](http://gohugo-default-theme.surge.sh/)
2017-04-11 03:27:13 +02:00
2017-04-15 04:44:42 +02:00
The intent of this theme is to provide a solid starting place for Hugo sites and include best practices for performance, accessibility, and rapid development.
2017-04-11 03:27:13 +02:00
2017-04-15 14:55:48 +02:00
The demo sites contains a section called "Unit Tests," which are a work in progress, but eventually will allow theme developers to test against various edge cases that a theme's users might publish.
2017-04-11 03:27:13 +02:00
Features
2017-04-15 05:08:11 +02:00
- Responsive
- Accessible
Includes examples of
- Custom Robots.txt (changes values based on environment)
- Internal templates for meta data and google analytics
- Pagination (internal template)
- Archetypes
- Custom shortcode
- Hugo built-in menu
- `with`
- `HUGO_ENV`
- `first`
- `after`
- `sort`
- Site LanguageCode
- `where`
2017-04-11 03:27:13 +02:00
- Content Views
2017-04-15 05:08:11 +02:00
- Partials
- Template layouts (type "article" uses a special list template, single template, and a content view)
- Tags
- `len`
- Conditionals
- `ge` (greater than or equal to)
2017-04-11 03:27:13 +02:00
2017-04-14 18:53:13 +02:00
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/).