10 Commits

Author SHA1 Message Date
John Pursey
a70c2a11f3 Add tachyons-style class overrides for layouts
This change adds overrides for text scale, color, alignment, and padding
in all layouts. This can be configured in site or page parameters, and
can target the default for all layouts (mostly useful for scale and
color), or for a specific layout (home, post, list, page, or terms).

The parameters are named in the following way: <type>_<style>:
- default_scale: Defines default scale for content (aka f5)
- default_color: Defines default color for content (aka mid-gray)
- default_padding: Defines default padding for content (aka ph*/pv*)
- default_align: Defines default alignment for content (aka tc/tj)

This can be overridden for "home", "post", "list", "page", or "terms" by
using instead of "default". If a type-specific style is not specified,
then it will fall back on "default", and if default is not specified, it
will fall back on the Ananke theme default.

Of course, theme users may put whatever classes they want in these
settings, but it still is valuable to specify what will be overridden
from the theme.
2021-12-12 10:15:24 -08:00
Bud Parr
6c05a67995
Improve semantic structure of pages (#151)
Fixes #149
2019-01-07 19:41:02 -05:00
Bud Parr
1f3b6f5598
Pre-2.0 Enhancements (#94)
2.0 Enhancements

- Improve template structure
- Fixed issue where flexbox was configured improperly and the side column expanded with longer content.
- No longer assume that posts are called "post"
- Simplify tag handling
- Improve related posts handling
- Support native Table of contents (if declared in params)
- Add DISQUS commenting (if disqusShortname added to config)
- Uses Hugo's Related content feature 
- Add asset hashing to Webpack for performance
2018-04-09 12:33:10 -04:00
Russell Cohen
8b59adb79b Fix pagination (#76) 2018-01-08 23:03:52 -05:00
Bud Parr
2dfd957296
clean up 2017-04-14 21:58:31 -04:00
Bud Parr
6331805b90
clean up layouts 2017-04-13 23:01:23 -04:00
Bud Parr
426676fd3c
page layout [wip] 2017-04-11 22:22:06 -04:00
Bud Parr
91984fee72
tweak layouts 2017-04-11 08:53:11 -04:00
Bud Parr
77514eab9e
wip layout mobile 2017-04-10 23:48:09 -04:00
Bud Parr
98bc281a57
first commit 2017-04-10 21:27:13 -04:00