6d821518f1
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 |
||
---|---|---|
.github | ||
docs | ||
pygments | ||
static | ||
templates | ||
translations | ||
.gitignore | ||
.travis.yml | ||
CHANGELOG.md | ||
gulpfile.js | ||
LICENSE | ||
package.json | ||
README.md | ||
screenshot.png | ||
transifex.py | ||
translate.sh |
Flex
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
- Mobile First
- Responsive
- Semantic
- SEO Best Practices
- Open Graph
- Rich Snippets (JSON-LD)
- Related Posts (via plugin or AddThis)
- Minute read (via plugin)
- Multiple Code Highlight Styles
- Translation Support
- Dark Mode
Integrations
- AddThis
- Disqus
- Gauges Analytics
- Google AdSense
- Google Analytics
- Google Tag Manager
- Matomo Analytics (formerly Piwik)
- StatusCake
- Isso
- Microsoft Clarity
Plugins Support
- Github Corners
- I18N Sub-sites
- Minute read
- Related Posts
- Representative image
- Neighbors
- Tipue Search
- SEO
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.
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