Commit Graph

171 Commits (a3120f0534fbf1686cf18cc8d83f78b1d273e22f)

Author SHA1 Message Date
Vitaly Potyarkin a3120f0534 Update Bootstrap to v4.3.1 2019-10-18 14:52:39 +03:00
Vitaly Potyarkin d2066d2e5c Support paths relative to site root in LINKS and ICONS 2019-10-18 14:43:23 +03:00
Vitaly Potyarkin f4189db4de Support external URL values for SITEIMAGE
Fixes #72
2019-10-18 14:33:48 +03:00
Vitaly Potyarkin 5251f12a56 Use macro for URLs that may be relative to site root
There are multiple places in the theme where URL value may be either
relative to site root or pointing to a third-party resource. Separating
the handler logic into a macro makes sense.

Now BOOTSTRAP_CSS may contain paths relative to site root - that allows
users to apply custom Boostwatch themes without depending on third party
resources (custom theme may be included as static file and referenced via
relative path).
2019-10-17 18:02:36 +03:00
Vitaly Potyarkin c66ac71cf7 Enable installation with pip 2019-09-27 12:20:52 +03:00
Raymond Wanyoike 0c6fd9e5c3
Merge pull request #80 from sio/override-css
Add configuration parameter to override the stylesheet 👍
2019-09-27 11:48:50 +03:00
Raymond Wanyoike 555da7992c
Merge pull request #79 from sio/boostwatch
Enable alternative themes for Bootstrap (e.g. Boostwatch)
2019-09-27 11:47:22 +03:00
Vitaly Potyarkin 63e4576c4a Add configuration parameter to override the stylesheet
This commit adds new configuration parameter, THEME_CSS_OVERRIDES, which
can contain a sequence (list, tuple, etc) of URLs to extra stylesheets
that will be used to override default theme appearance. Both absolute and
relative URLs are supported.

It makes the theme more flexible by allowing small stylesheet tweaks
without requiring to maintain a fork of the whole theme.

When this parameter is not set the theme behaves same as before.
2019-09-19 14:24:09 +03:00
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 6a3e2bb31a
Merge pull request #74 from jershon/master
Remove positional argument formatting on object-related feed URLs
2019-04-07 12:01:38 +03:00
Julien Jershon 31f4f705d6 Remove positional argument formatting on object-related feed URLs to be complient with pelican 4.0 2018-12-20 10:23:48 +01:00
Alan Orth 8e2377f8f9
Merge pull request #68 from alanorth/bootstrap-4.0-final
Update to Bootstrap v4.0.0 Final
2018-01-28 12:10:35 +02:00
Alan Orth afad3c0149
Update to Bootstrap v4.0.0 Final
See: https://blog.getbootstrap.com/2018/01/18/bootstrap-4/
2018-01-28 12:08:30 +02:00
Alan Orth 9a5cf6caf2
Merge pull request #67 from alanorth/bootstrap-v4.0b3
Update to Bootstrap 4 Beta 3
2018-01-28 11:56:48 +02:00
Alan Orth 9360b56f46
README.md: Update link to Bootstrap website
As of the betas the Bootstrap project is now listing version 4.0 on the
main homepage, rather than a subdomain.
2018-01-16 08:46:49 +02:00
Alan Orth 8eb587461b
Bump Bootstrap to version 4 Beta 3
See: https://blog.getbootstrap.com/2017/12/28/bootstrap-4-beta-3/
2018-01-16 08:40:27 +02:00
Alan Orth b63bbd5645
Merge pull request #66 from voipmeister/master
Small typo fix
2017-12-30 17:15:03 +02:00
voipmeister 33a0d277a4
Typo fix 2017-12-29 12:02:01 +01:00
Raymond Wanyoike 5dfdeeb084 Update to Bootstrap v4.0.0-beta.2, official release 2017-11-22 16:52:52 +02:00
Alan Orth e20de1fc78
Merge pull request #62 from rwanyoike/maintenance
Maintenance 🔧💪
2017-11-22 16:46:09 +02:00
Raymond Wanyoike 6c66a2427d Maintenance, new screenshot, update README
- How to Contribute
- Highlight features
2017-11-21 15:51:26 +03:00
Raymond Wanyoike 38201b83a8 Add missing copyright year 2017-11-21 15:25:36 +03:00
Raymond Wanyoike d5ff4004ce Refresh code of conduct 2017-11-21 15:25:00 +03:00
Raymond Wanyoike 413bb6e5ae Make header image edges ~1px rounded 2017-11-21 15:22:29 +03:00
Raymond Wanyoike 75a023e04c Indent jinja code blocks, allow editors to collapse regions 2017-11-21 15:22:16 +03:00
Raymond Wanyoike 4aee394acb Move header, footer, xml_feeds to include; reason base.html 2017-11-21 15:22:11 +03:00
Raymond Wanyoike 1c944d0f3d Rename style.css -> theme.css 2017-11-21 15:21:48 +03:00
Raymond Wanyoike a98451f689 Remove unused, unminified, external static stylesheets 2017-11-21 15:19:58 +03:00
Raymond Wanyoike 7cb1173b22 Uppercase project title 2017-04-08 23:16:33 +03:00
Raymond Wanyoike 73b80845b1 Merge branch 'weeheavy-master' 2017-04-08 23:15:29 +03:00
Raymond Wanyoike 11b6b9fd9a Merge branch 'master' of https://github.com/weeheavy/pelican-alchemy into weeheavy-master
Don't quote the <img /> src=, some Pelican configs pass width/height to
{{ SITEIMAGE }}, and an unquoted src= allows the browser to that up.
2017-04-08 23:14:48 +03:00
Raymond Wanyoike 3dbd814502 Update README, add CoC
http://contributor-covenant.org
2017-04-08 22:23:21 +03:00
Raymond Wanyoike 78383734c1 Drop license year
Don't keep updating it every year

https://github.com/Microsoft/vscode-generator-code/issues/13#issuecomment-159125937
2017-04-08 22:12:48 +03:00
Raymond Wanyoike b898e81be5 Bump license year 2017-03-07 12:09:12 +03:00
Raymond Wanyoike c58d9cf8eb Update README 2017-03-07 12:09:00 +03:00
Oliver Ladner b3440bdf9b Fix path building for empty or "/" SITEURL configurations
Add quotes to img src element
2017-02-20 19:03:15 +01:00
Raymond Wanyoike 905a967172 Merge pull request #56 from rwanyoike/fix-pages-context
Remove PAGES; use pages instead
2017-01-06 18:55:36 +03:00
Raymond Wanyoike 7a79a67fc7 Update README 2017-01-05 20:16:08 +03:00
Raymond Wanyoike d35b46995a Remove PAGES; use pages instead
Remove PAGES from context as "pages" is available

See: ec5c77b251

Closes: #55
2017-01-05 19:10:43 +03:00
Raymond Wanyoike 7598a3ba87 Update README 2017-01-05 19:03:42 +03:00
Raymond Wanyoike f235c81bf3 Merge pull request #54 from rwanyoike/master
pelican-alchemy Version 2.0 🔥🚀
2016-12-11 20:32:43 +03:00
Raymond Wanyoike 73bbb4adb8 Final touches 2016-12-11 20:29:58 +03:00
Raymond Wanyoike c78c3e5a43 Revert links to 👉 to @nairobilug 2016-12-02 23:10:21 +03:00
Raymond Wanyoike cc8f22d1b7 Merge branch 'bstrap4' 2016-12-02 23:02:58 +03:00
Raymond Wanyoike 722eafd38d 🦄 Update setup instructions 2016-12-01 14:52:06 +03:00
Raymond Wanyoike a00eaab125 Pixels must! align 🐺
Remove rounded, keep consistent design
2016-12-01 02:47:09 +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 9241e9a7c2 Remove webfonts, use native font stacks
http://v4-alpha.getbootstrap.com/content/reboot/#native-font-stack
2016-11-30 23:44:54 +03:00
Raymond Wanyoike 14b409a27d Switch to bootstap v4.0.0-alpha.5 \o/ 2016-11-30 23:43:53 +03:00
Raymond Wanyoike 8b0903ec8e Add missing HTML img alt attribute
Wrap content body in div

Add title class to titles

Show icons with the teaser metadata

Visual improvements
2016-11-30 21:46:02 +03:00