Commit Graph

8 Commits (505be9315eb0025e85953c6cef9be19f8af9e3c5)

Author SHA1 Message Date
Vitaly Potyarkin 18996a6c1d Enable alternative themes for Bootstrap (e.g. Boostwatch)
Alchemy is a great theme, but it was not using the full potential of
underlying technology. Bootstrap provides an easy way to customize look
and feel of rendered pages, and a lot of themes for Bootstrap are freely
available, e.g. at <https://boostwatch.com>

This commit introduces a new configuration variable BOOTSTRAP_CSS to make
use of any existing Bootstrap skins. All incompatibilities in `theme.css`
were fixed:

- Instead of using constant color values we use Bootstrap css variables for
  colors:
  <https://getbootstrap.com/docs/4.3/getting-started/theming/#css-variables>
- The only hardcoded color value left is the color for header/footer
  borders. It was moved into a variable `--alchemy-border` for easier
  overriding if needed. I have tested the current value against both dark
  and light Boostwatch themes, it works ok.
- Pagination template was slightly changed to avoid producing invisible
  text with some of Bootstrap skins
2019-09-18 17:52:08 +03:00
Raymond Wanyoike 75a023e04c Indent jinja code blocks, allow editors to collapse regions 2017-11-21 15:22:16 +03:00
Raymond Wanyoike b2ab9b8041 Bootstap v4.0.0-alpha.5 \o/ compatible
I couldn't resist
2016-11-30 23:49:26 +03:00
Raymond Wanyoike bfb5895c63 Hide footer tags link if no tags exist
Hide meta description if DESCRIPTION is undefined

Minor improvements
2016-11-16 15:17:40 +03:00
Raymond Wanyoike 99c13a39c7 Fix up inconsistencies
Fix style inconsistencies
2016-11-07 10:09:32 +03:00
Raymond Wanyoike 23ef8ca9cc Simplify jinja2 base templates, update theme options
- New realfavicongenerator.net packages (https://realfavicongenerator.net/blog/new-favicon-package-less-is-more/)
- Support all possible Pelican feed links
- Add recommended HEAD elements (https://github.com/joshbuchea/HEAD)
- Use minified css assets
- Link to boostrap, clean-blog and font-awesome stylesheets
- Add theme options, better options names

Template consistency, update structure on base.html

Fix missing article summary on index.html

Show the article.summary for teasers
2016-11-06 22:32:20 +03:00
Raymond Wanyoike 288e6464bd Reduce html files (space) tab size 4 -> 2 2014-10-29 12:03:00 +03:00
Raymond Wanyoike 96409841d8 Trivial: organize templates 2014-06-21 15:56:03 +03:00