The minimalist Pelican theme. https://flex.alxd.me/
Find a file
Trolli Schmittlauch 6d821518f1 Fix: correct custom CSS URL for I18N pages
problem description:
When using the i18n_subsites plugin – which is somehow supported by this
theme – the SITEURL is modified for all but the default language,
causing the construction {{ SITEURL }}/{{ CUSTOM_CSS }} to change as
well.
This in principle affects all such template constructions where SITEURL
is prepended to a custom loading path.
One exception is {{ THEME_STATIC_DIR }}, which is adjusted by the
i18n_subsites code to still match for translations.

solution:
The i18n plugin introduces an additional context variable
{{ main_siteurl }}, which always points at the original unmodified
SITEURL. As unfortunately this variable is not present in non-i18n
sites, it's existence is checked first, taking SITEURL as a fallback.
This special handling is acceptable IMHO, as at first glance I could not
find any other affected URLs in templates.

follow-up to #192
2022-03-01 03:41:15 +01:00
.github Here we go again 2020-09-19 21:36:51 +02:00
docs Cleanup 2021-02-04 22:43:39 +01:00
pygments Fixed pygments for reStructuredText 2020-04-14 10:55:41 -06:00
static Overflow fix 2021-02-04 23:59:54 +01:00
templates Fix: correct custom CSS URL for I18N pages 2022-03-01 03:41:15 +01:00
translations Update translations 2021-02-04 21:53:16 +01:00
.gitignore Ignore package-lock.json 2020-04-20 23:42:03 +02:00
.travis.yml Test with newer Python 2020-09-19 19:40:16 +02:00
CHANGELOG.md Changelog: add version 2.4.0 2021-10-02 19:02:10 +02:00
gulpfile.js Rename files 2020-04-20 23:19:01 +02:00
LICENSE Initial commit 2015-07-18 06:27:29 -03:00
package.json Update packages 2020-09-19 22:13:12 +02:00
README.md Add support for SEO Pelican plugin 2021-04-21 22:58:07 +02:00
screenshot.png Update screenshots. 2017-03-14 01:01:47 -03:00
transifex.py Add transifex helper 2020-09-19 22:04:37 +02:00
translate.sh Update transle script. 2017-03-14 00:12:22 -03:00

Flex Build Status

The minimalist Pelican theme.

Notes

  • If you have questions open an issue
  • The theme is not under huge development anymore, it's stable and has a lot of features already
  • If you want a Hugo theme check out Soho

Features

Integrations

Plugins Support

Install

The best way to install is over pelican-themes.

The alternative way is to clone this repository. The master branch is stable and is safe to checkout, but I would recommend you to checkout a tag branch.

Documentation

The documentation covers most of the settings available and how to use this theme. If something is missing or broken you can open a PR or fix the documentation by yourself.

Flex Wiki

Live example

You can see how this theme looks like at http://flex.alxd.me/.

The code is available in this project under docs folder.

Contributing

ALWAYS open an issue before sending a PR. Discuss the problem/feature that you want to code. After discussing, send a PR with your changes.

As always, if you want something that only makes sense to you, fork Flex and create a new theme.

Translations

Translate this theme to new languages at Transifex.

Read more about Translation Support in the Wiki.

License

MIT