The minimalist Pelican theme. https://flex.alxd.me/
Find a file
saagit c205163fd7 Fix compatibility with Pelican 4.5.0 when PLUGINS is not set in pelicanconf.py
Pelican 4.5.0 changed the plugins mechanism and the default for
PLUGINS is now None.  The following type of construct is used in a
number of places in Flex:

    {% if 'tipue_search' in PLUGINS %}

If PLUGINS is not set in pelicanconf.py, the following exception will
be triggered under Pelican 4.5.0:

    TypeError: argument of type 'NoneType' is not iterable

The Pelican maintainers did not intend the examination of PLUGINS by
templates to be a stable API (per a discussion on IRC).  Per their
request, an enhancement request for a mechanism to do this has been
submitted here: https://github.com/getpelican/pelican/issues/2797

This commit changes the problematic constructs in Flex to be in the
style of:

    {% if PLUGINS and 'tipue_search' in PLUGINS %}

This allows Flex to work with Pelican 4.5.0 even if users do not
define PLUGINS.  Note that to use the new namespace plugins in Pelican
4.5.0, PLUGINS will have to be left at its default of None.

Resolves #245
2020-09-10 08:42:20 -07:00
.github Create FUNDING.yml 2019-10-09 00:16:25 +02:00
docs Update docs 2020-04-20 23:38:29 +02:00
pygments Fixed pygments for reStructuredText 2020-04-14 10:55:41 -06:00
static Add style to figure element (#225) 2020-05-12 17:51:27 +02:00
templates Fix compatibility with Pelican 4.5.0 when PLUGINS is not set in pelicanconf.py 2020-09-10 08:42:20 -07:00
translations Update translations 2020-04-21 18:55:22 +02:00
.gitignore Ignore package-lock.json 2020-04-20 23:42:03 +02:00
.travis.yml Fixes 2019-10-19 22:01:40 +02:00
CHANGELOG.md Update. 2018-06-24 00:51:22 -03: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-04-20 23:19:01 +02:00
README.md Merge pull request #213 from sumnerevans/support-dark-theme 2020-04-20 22:24:45 +02:00
screenshot.png Update screenshots. 2017-03-14 01:01:47 -03: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.
  • This theme is not under development anymore, it's stable and has a lot of features. This means that new requests (not bug fixes) will be discussed and have lower priorities.
  • If you want a version of this theme to Jekyll or Hugo open an issue and let's discuss it.

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/blog/.

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