Compare commits

...

No commits in common. "gh-pages" and "master" have entirely different histories.

258 changed files with 5397 additions and 7671 deletions

1
.github/CODEOWNERS vendored Normal file
View file

@ -0,0 +1 @@
* @alexandrevicenzi

12
.github/FUNDING.yml vendored Normal file
View file

@ -0,0 +1,12 @@
# These are supported funding model platforms
github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: https://www.alexandrevicenzi.com/donate

25
.github/workflows/pelican-publish.yml vendored Normal file
View file

@ -0,0 +1,25 @@
name: Pelican Build
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Create requirements.txt
uses: 1arp/create-a-file-action@0.2
with:
file: requirements.txt
content: |
pelican
markdown
- name: Build and Publish
uses: iranzo/gh-pages-pelican-action@1.0.1
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
SOURCE_FOLDER: docs/content
PELICAN_CONFIG_FILE: docs/publishconf.py

28
.github/workflows/pelican-test.yaml vendored Normal file
View file

@ -0,0 +1,28 @@
name: Pelican test
on:
- push
- pull_request
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
steps:
- name: Checkout
uses: actions/checkout@v2
with:
submodules: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
pip install tox tox-gh-actions
- name: Test with tox
run: tox

64
.gitignore vendored Normal file
View file

@ -0,0 +1,64 @@
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
# C extensions
*.so
# Distribution / packaging
.Python
env/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg
# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec
# Installer logs
pip-log.txt
pip-delete-this-directory.txt
# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover
tests/output
# Django stuff:
*.log
# Sphinx documentation
docs/_build/
# PyBuilder
target/
venv
# NPM
node_modules
package-lock.json
# Pelican
output
plugins

87
CHANGELOG.md Normal file
View file

@ -0,0 +1,87 @@
## 2.5.0
- Support Stork Search plugin [#298](https://github.com/alexandrevicenzi/Flex/pull/298)
- Support SEO plugin [#254](https://github.com/alexandrevicenzi/Flex/issues/254)
- Support Series plugin [#290](https://github.com/alexandrevicenzi/Flex/pull/290)
- Support Microsoft Clarity [#261](https://github.com/alexandrevicenzi/Flex/pull/261)
- Support for Google Analytics v4 [#257](https://github.com/alexandrevicenzi/Flex/pull/257)
- Updated translations
- Improved styles for Table of Contents and Figure with captions, as well other small fixes
## 2.4.0
- Update translations (Italian, Spanish, Portuguese, German, Turkish)
- Include settings for canonical URLS [#238](https://github.com/alexandrevicenzi/Flex/issues/238)
- Remove pelican plugins dependency [#255](https://github.com/alexandrevicenzi/Flex/issues/255)
This version includes cs, de, en, es, es_ES, et, fa_IR, fr, hu_HU, id, it, nl_NL, pl_PL, pt, pt_BR, pt_PT, ro_RO, ru, tr_TR, zh_CN translations.
## 2.3.0
- Support dark theme [#213](https://github.com/alexandrevicenzi/Flex/pull/213)
- Support Isso comments [#200](https://github.com/alexandrevicenzi/Flex/pull/200)
- Support Pelican 4.5 [#248](https://github.com/alexandrevicenzi/Flex/pull/248)
- Support Tipue search [#193](https://github.com/alexandrevicenzi/Flex/pull/193)
- Upgrade Font-Awesome to 5 [#156](https://github.com/alexandrevicenzi/Flex/pull/156)
- Add social icons (keybase, twitch, mastodon, diaspora, flickr, last.fm
- Fix layouts
- Update translations (zh)
This version includes cs, de, en, es, es_ES, et, fa_IR, fr, hu_HU, id, it, nl_NL, pl_PL, pt, pt_BR, pt_PT, ro_RO, ru, tr_TR, zh_CN translations.
## 2.2.0
- Update Pygments - New themes available!
- Fix code highlight [#125](https://github.com/alexandrevicenzi/Flex/pull/125)
- New social icons
- Remove duoshuo integration [#139](https://github.com/alexandrevicenzi/Flex/pull/139)
- Other small bug fixes
This version includes de, en, es, es_ES, et, fa_IR, fr, hu_HU, it, nl_NL, pl_PL, pt_BR, ru, tr_TR, zh_CN translations.
## 2.1.0
- Italian translation [#60](https://github.com/alexandrevicenzi/Flex/issues/60)
- Hungarian transltion [#59](https://github.com/alexandrevicenzi/Flex/issues/59)
- Russian transltion [#58](https://github.com/alexandrevicenzi/Flex/issues/58)
- [Google AdSense support](https://github.com/alexandrevicenzi/Flex/issues/47)
## 2.0.0
- [Minute read like Medium](https://github.com/alexandrevicenzi/Flex/issues/48) (via plugin)
- [Theme translations](https://github.com/alexandrevicenzi/Flex/wiki/Translation-support)
- Updated font-awesome
- Changed `Cover` metadata to use relative path
This version includes de, fr and pt_BR translations.
Special thanks to @marcelhuth.
## 1.2.0
- [Update font-awesome](https://github.com/alexandrevicenzi/Flex/issues/31)
- [Added browser color configuration](https://github.com/alexandrevicenzi/Flex/pull/34)
- [Related posts](https://github.com/alexandrevicenzi/Flex/pull/27)
- [More Pygments Styles](https://github.com/alexandrevicenzi/Flex/issues/38)
- [Add StatusCake RUM support](https://github.com/alexandrevicenzi/Flex/issues/16)
## 1.1.1
- [Bug in CSS with placement of "Newer Posts" button](https://github.com/alexandrevicenzi/Flex/issues/21)
- [Posts preview on main page](https://github.com/alexandrevicenzi/Flex/issues/14)
- [Strip HTML tags from title](https://github.com/alexandrevicenzi/Flex/pull/25)
- [Added style for reddit social link](https://github.com/alexandrevicenzi/Flex/pull/23)
## 1.1.0
- [Allow custom CSS stylesheets to override the default one](https://github.com/alexandrevicenzi/Flex/pull/9)
- [Add Windows-specific font variants](https://github.com/alexandrevicenzi/Flex/pull/8)
- [Move the "tagged" bullet inside the conditional](https://github.com/alexandrevicenzi/Flex/pull/7)
- [Add stack-overflow to supported social icons](https://github.com/alexandrevicenzi/Flex/pull/6)
- [Use THEME_STATIC_DIR for asset URL's](https://github.com/alexandrevicenzi/Flex/pull/5)
- [show summary for articles in index.html](https://github.com/alexandrevicenzi/Flex/pull/4)
- [Fixed email icon bug](https://github.com/alexandrevicenzi/Flex/pull/3)
## 1.0.0
First release.

22
LICENSE Normal file
View file

@ -0,0 +1,22 @@
The MIT License (MIT)
Copyright (c) 2015 Alexandre Vicenzi
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

104
README.md Normal file
View file

@ -0,0 +1,104 @@
# Flex
The minimalist [Pelican](http://blog.getpelican.com/) theme.
## Flex 3.0 and upcoming breaking changes
Flex 2.6 will be the last release without breaking changes.
Flex 3.0 is under development and will introduce breaking changes.
The breaking changes will include:
* Removal of deprecated plugins and integrations
* Removal and renaming of configuration variables
* Removal of Less.js and Gulp.js
* Refactoring of multiple templates
Flex has grown beyond expectation over the last few years and is hard to maintain and accept new features.
You can check the current progress in the `v3` branch.
New features won't be accepted unless submited to `v3` branch, bug fixes will still be accepted in the `master` branch.
Once 2.6 is out, the `v3` branch will be merged into `master`.
## Features
- Mobile First
- Responsive
- Semantic
- SEO Best Practices
- Open Graph
- Rich Snippets (JSON-LD)
- Related Posts (via [plugin](https://github.com/getpelican/pelican-plugins/tree/master/related_posts) or AddThis)
- Series (via [plugin](https://github.com/pelican-plugins/series))
- Minute read (via [plugin](https://github.com/getpelican/pelican-plugins/tree/master/post_stats))
- [Multiple Code Highlight Styles](https://github.com/alexandrevicenzi/Flex/wiki/Code-Highlight)
- [Translation Support](https://github.com/alexandrevicenzi/Flex/wiki/Translations)
- [Dark Mode](https://github.com/alexandrevicenzi/Flex/wiki/Dark-Mode)
## Integrations
- [AddThis](http://www.addthis.com/)
- [Disqus](https://disqus.com/)
- [Gauges Analytics](http://get.gaug.es/)
- [Google AdSense](https://www.google.com.br/adsense/start/)
- [Google Analytics](https://www.google.com/analytics/web/)
- [Google Tag Manager](https://www.google.com/tagmanager/)
- [Matomo Analytics (formerly Piwik)](https://matomo.org/)
- [Cloudflare Web Analytics](https://www.cloudflare.com/web-analytics/)
- [Plausible](https://plausible.io/)
- [StatusCake](https://www.statuscake.com/)
- [Isso](https://posativ.org/isso/)
- [Microsoft Clarity](https://clarity.microsoft.com)
## Plugins Support
- [Github Corners](https://github.com/tholman/github-corners)
- [I18N Sub-sites](https://github.com/getpelican/pelican-plugins/tree/master/i18n_subsites)
- [Minute read](https://github.com/getpelican/pelican-plugins/tree/master/post_stats)
- [Related Posts](https://github.com/getpelican/pelican-plugins/tree/master/related_posts)
- [Series](https://github.com/pelican-plugins/series)
- [Representative image](https://github.com/getpelican/pelican-plugins/tree/master/representative_image)
- [Neighbors](https://github.com/getpelican/pelican-plugins/tree/master/neighbors)
- [Pelican Search](https://github.com/pelican-plugins/search)
- [Tipue Search](https://github.com/getpelican/pelican-plugins/blob/master/tipue_search/) (deprecated)
- [SEO](https://github.com/pelican-plugins/seo)
## Install
The best way to install is over [pelican-themes](https://github.com/getpelican/pelican-themes).
The alternative way is to clone this repository and 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](https://github.com/alexandrevicenzi/Flex/wiki)
## Live example
You can see how this theme looks like at [http://flex.alxd.me/](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 solve.
If things make sense, 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](https://www.transifex.com/alexandrevicenzi/flex-pelican/).
Read more about [Translation Support](https://github.com/alexandrevicenzi/Flex/wiki/Translations) in the Wiki.
## License
MIT

View file

@ -1,276 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; Archives</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="archives">Archives</h1>
</header>
<div>
<dl>
<dt>August 31, 2022</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">Flex 2.5.0</a>
</dd>
<dt>December 01, 2020</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-2-4.html">Flex 2.4.0</a>
</dd>
<dt>September 19, 2020</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">Flex 2.3.0</a>
</dd>
<dt>June 24, 2018</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-2-2.html">Flex 2.2.0</a>
</dd>
<dt>November 16, 2016</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">Flex 2.1.0</a>
</dd>
<dt>September 13, 2016</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">Flex 2.0</a>
</dd>
<dt>June 10, 2016</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">Flex 1.2.0</a>
</dd>
<dt>February 27, 2016</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html">Flex 1.1.1</a>
</dd>
<dt>October 07, 2015</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">Flex 1.1.0</a>
</dd>
<dt>July 22, 2015</dt>
<dd>
<a href="https://flex.alxd.me/flex-pelican-theme.html">Flex: Responsive Pelican theme</a>
</dd>
</dl>
</div>
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,460 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; Posts by Alexandre Vicenzi:</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">Flex 2.5.0</a></h2>
<p>
Posted on August 31, 2022 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.5.0 comes with minor fixes and big improvments.</p>
<ul>
<li>Added support for <a href="https://github.com/pelican-plugins/search">Pelican Search</a> plugin as <a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search">Tipue Search</a> is deprecated<ul>
<li>Tipue Search support will be removed in Flex 3.0</li>
</ul>
</li>
<li>Added support for <a href="https://github.com/pelican-plugins/seo">SEO</a> plugin</li>
<li>Added support for <a href="https://github.com/pelican-plugins/series">Series</a> plugin</li>
<li>Added support for <a href="https://clarity.microsoft.com/">Microsoft Clarity</a></li>
<li>Added support …</li></ul></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-4.html">Flex 2.4.0</a></h2>
<p>
Posted on December 01, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.4.0 comes with minor changes.</p>
<ul>
<li>Updated translations (Italian, Spanish, Portuguese, German, Turkish)</li>
<li>Include settings for canonical URLS (<a href="https://github.com/alexandrevicenzi/Flex/issues/238">#238</a>)</li>
<li>Remove pelican plugins dependency (<a href="https://github.com/alexandrevicenzi/Flex/issues/255">#255</a>)</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>Hope you enjoy this version.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">Flex 2.3.0</a></h2>
<p>
Posted on September 19, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.3.0 comes with bug fixes and a few improvements.</p>
<p>New features include:</p>
<ul>
<li>Dark Theme version</li>
<li>Isso comments support</li>
<li>Tipue Search support</li>
<li>Update translations</li>
</ul>
<p>Fixes include:</p>
<ul>
<li>New social icons</li>
<li>Layout fixes</li>
<li>Compatibility with newer Pelican</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>I know, it has been a …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-2.html">Flex 2.2.0</a></h2>
<p>
Posted on June 24, 2018 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.2.0 comes with bug fixes and improvements.</p>
<p>There are new Pygments templates and also a few code highlight fixes. There's also new social icons.</p>
<p>Version 2.2.0 also comes with new translations. You can see available translations <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>Hope you enjoy this version.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">Flex 2.1.0</a></h2>
<p>
Posted on November 16, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.1.0 comes with features that I was delaying for so long.</p>
<p>Flex 2.1.0 adds support for Google AdSense.</p>
<p>If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">Flex 2.0</a></h2>
<p>
Posted on September 13, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.0 comes with new features.
In fact there are two new features.</p>
<p>The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>The biggest challege was to create a way to translate without breaking old versions.
If …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">Flex 1.2.0</a></h2>
<p>
Posted on June 10, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received some new features. Version 1.2.0 include new features and some updates.</p>
<p>For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/31">Update font-awesome</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/34">Added browser color configuration</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/27">Related posts</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/38">More Pygments Styles …</a></li></ul></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html">Flex 1.1.1</a></h2>
<p>
Posted on February 27, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>Today, <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received a small update.</p>
<p>Some bugs are now fixed. I think the most important fixes are:</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/21">Bug in CSS with placement of "Newer Posts" button</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/14">Posts preview on main page</a></li>
</ul>
<p>Hope you enjoy this theme.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">Flex 1.1.0</a></h2>
<p>
Posted on October 07, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>I've made the <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> a time ago. For my surprise, many people are using it. I feel thankful for this.</p>
<p>So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme.html">Flex: Responsive Pelican theme</a></h2>
<p>
Posted on July 22, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>I just start a new fresh blog using <a href="http://getpelican.com">Pelican</a>. Sometimes choosing a theme for a new site is something difficult that takes time.</p>
<p>In the Pelican <a href="http://www.pelicanthemes.com/">theme gallery</a>, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme.html">
Continue reading
</a>
</div>
</article>
<div class="pagination">
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="1124188687"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,226 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; Authors</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="authors">Authors</h1>
</header>
<div>
<ul class="list">
<li><a href="https://flex.alxd.me/author/alexandre-vicenzi.html">Alexandre Vicenzi</a> (10)</li>
</ul>
</div>
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,228 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; Categories</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="categories">Categories</h1>
</header>
<div>
<ul class="list">
<li>
<a href="https://flex.alxd.me/category/news.html">News</a> (10)
</li>
</ul>
</div>
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,460 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; Category News</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">Flex 2.5.0</a></h2>
<p>
Posted on August 31, 2022 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.5.0 comes with minor fixes and big improvments.</p>
<ul>
<li>Added support for <a href="https://github.com/pelican-plugins/search">Pelican Search</a> plugin as <a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search">Tipue Search</a> is deprecated<ul>
<li>Tipue Search support will be removed in Flex 3.0</li>
</ul>
</li>
<li>Added support for <a href="https://github.com/pelican-plugins/seo">SEO</a> plugin</li>
<li>Added support for <a href="https://github.com/pelican-plugins/series">Series</a> plugin</li>
<li>Added support for <a href="https://clarity.microsoft.com/">Microsoft Clarity</a></li>
<li>Added support …</li></ul></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-4.html">Flex 2.4.0</a></h2>
<p>
Posted on December 01, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.4.0 comes with minor changes.</p>
<ul>
<li>Updated translations (Italian, Spanish, Portuguese, German, Turkish)</li>
<li>Include settings for canonical URLS (<a href="https://github.com/alexandrevicenzi/Flex/issues/238">#238</a>)</li>
<li>Remove pelican plugins dependency (<a href="https://github.com/alexandrevicenzi/Flex/issues/255">#255</a>)</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>Hope you enjoy this version.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">Flex 2.3.0</a></h2>
<p>
Posted on September 19, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.3.0 comes with bug fixes and a few improvements.</p>
<p>New features include:</p>
<ul>
<li>Dark Theme version</li>
<li>Isso comments support</li>
<li>Tipue Search support</li>
<li>Update translations</li>
</ul>
<p>Fixes include:</p>
<ul>
<li>New social icons</li>
<li>Layout fixes</li>
<li>Compatibility with newer Pelican</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>I know, it has been a …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-2.html">Flex 2.2.0</a></h2>
<p>
Posted on June 24, 2018 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.2.0 comes with bug fixes and improvements.</p>
<p>There are new Pygments templates and also a few code highlight fixes. There's also new social icons.</p>
<p>Version 2.2.0 also comes with new translations. You can see available translations <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>Hope you enjoy this version.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">Flex 2.1.0</a></h2>
<p>
Posted on November 16, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.1.0 comes with features that I was delaying for so long.</p>
<p>Flex 2.1.0 adds support for Google AdSense.</p>
<p>If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">Flex 2.0</a></h2>
<p>
Posted on September 13, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.0 comes with new features.
In fact there are two new features.</p>
<p>The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>The biggest challege was to create a way to translate without breaking old versions.
If …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">Flex 1.2.0</a></h2>
<p>
Posted on June 10, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received some new features. Version 1.2.0 include new features and some updates.</p>
<p>For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/31">Update font-awesome</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/34">Added browser color configuration</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/27">Related posts</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/38">More Pygments Styles …</a></li></ul></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html">Flex 1.1.1</a></h2>
<p>
Posted on February 27, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>Today, <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received a small update.</p>
<p>Some bugs are now fixed. I think the most important fixes are:</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/21">Bug in CSS with placement of "Newer Posts" button</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/14">Posts preview on main page</a></li>
</ul>
<p>Hope you enjoy this theme.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">Flex 1.1.0</a></h2>
<p>
Posted on October 07, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>I've made the <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> a time ago. For my surprise, many people are using it. I feel thankful for this.</p>
<p>So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme.html">Flex: Responsive Pelican theme</a></h2>
<p>
Posted on July 22, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>I just start a new fresh blog using <a href="http://getpelican.com">Pelican</a>. Sometimes choosing a theme for a new site is something difficult that takes time.</p>
<p>In the Pelican <a href="http://www.pelicanthemes.com/">theme gallery</a>, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme.html">
Continue reading
</a>
</div>
</article>
<div class="pagination">
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="1124188687"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

79
docs/Makefile Normal file
View file

@ -0,0 +1,79 @@
PY?=python3
PELICAN?=pelican
PELICANOPTS=
BASEDIR=$(CURDIR)
INPUTDIR=$(BASEDIR)/content
OUTPUTDIR=$(BASEDIR)/blog
CONFFILE=$(BASEDIR)/pelicanconf.py
PUBLISHCONF=$(BASEDIR)/publishconf.py
GITHUB_PAGES_BRANCH=gh-pages
DEBUG ?= 0
ifeq ($(DEBUG), 1)
PELICANOPTS += -D
endif
RELATIVE ?= 0
ifeq ($(RELATIVE), 1)
PELICANOPTS += --relative-urls
endif
SERVER ?= "0.0.0.0"
PORT ?= 0
ifneq ($(PORT), 0)
PELICANOPTS += -p $(PORT)
endif
help:
@echo 'Makefile for a pelican Web site '
@echo ' '
@echo 'Usage: '
@echo ' make html (re)generate the web site '
@echo ' make clean remove the generated files '
@echo ' make regenerate regenerate files upon modification '
@echo ' make publish generate using production settings '
@echo ' make serve [PORT=8000] serve site at http://localhost:8000'
@echo ' make serve-global [SERVER=0.0.0.0] serve (as root) to $(SERVER):80 '
@echo ' make devserver [PORT=8000] serve and regenerate together '
@echo ' make devserver-global regenerate and serve on 0.0.0.0 '
@echo ' make github upload the web site via gh-pages '
@echo ' '
@echo 'Set the DEBUG variable to 1 to enable debugging, e.g. make DEBUG=1 html '
@echo 'Set the RELATIVE variable to 1 to enable relative urls '
@echo ' '
html:
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
clean:
[ ! -d "$(OUTPUTDIR)" ] || rm -rf "$(OUTPUTDIR)"
regenerate:
"$(PELICAN)" -r "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
serve:
"$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
serve-global:
"$(PELICAN)" -l "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS) -b $(SERVER)
devserver:
"$(PELICAN)" -lr "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(CONFFILE)" $(PELICANOPTS)
devserver-global:
$(PELICAN) -lr $(INPUTDIR) -o $(OUTPUTDIR) -s $(CONFFILE) $(PELICANOPTS) -b 0.0.0.0
publish:
"$(PELICAN)" "$(INPUTDIR)" -o "$(OUTPUTDIR)" -s "$(PUBLISHCONF)" $(PELICANOPTS)
github: publish
ghp-import -m "Generate Pelican site" -b $(GITHUB_PAGES_BRANCH) "$(OUTPUTDIR)"
git push origin $(GITHUB_PAGES_BRANCH)
.PHONY: html help clean regenerate serve serve-global devserver publish github

3
docs/README.md Normal file
View file

@ -0,0 +1,3 @@
# Flex Blog Example
Visit [http://flex.alxd.me/](http://flex.alxd.me/).

View file

@ -0,0 +1,16 @@
Title: Flex 1.1.1
Date: 2016-02-27 08:00
Modified: 2016-02-27 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-1-1-1
Cover: images/flex-screenshot.png
Today, [Flex theme](https://github.com/alexandrevicenzi/Flex) received a small update.
Some bugs are now fixed. I think the most important fixes are:
- [Bug in CSS with placement of "Newer Posts" button](https://github.com/alexandrevicenzi/Flex/issues/21)
- [Posts preview on main page](https://github.com/alexandrevicenzi/Flex/issues/14)
Hope you enjoy this theme.

View file

@ -0,0 +1,24 @@
Title: Flex 1.1.0
Date: 2015-10-07 08:00
Modified: 2015-10-07 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-1-1
Cover: images/flex-screenshot.png
I've made the [Flex theme](https://github.com/alexandrevicenzi/Flex) a time ago. For my surprise, many people are using it. I feel thankful for this.
So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release the [second version](https://github.com/alexandrevicenzi/Flex/releases/tag/v1.1) of Flex (aka v1.1).
This new version doesn't include nothing so special, just some bug fix and a new setting to allow custom CSS stylesheets.
The new custom setting can be used like this:
```python
EXTRA_PATH_METADATA = {
'extra/custom.css': {'path': 'static/custom.css'},
}
CUSTOM_CSS = 'static/custom.css'
```
I would like to thank all who helped in this new version.

View file

@ -0,0 +1,21 @@
Title: Flex 1.2.0
Date: 2016-06-10 08:00
Modified: 2016-06-10 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-1-2-0
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) received some new features. Version 1.2.0 include new features and some updates.
For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.
- [Update font-awesome](https://github.com/alexandrevicenzi/Flex/issues/31)
- [Added browser color configuration](https://github.com/alexandrevicenzi/Flex/pull/34)
- [Related posts](https://github.com/alexandrevicenzi/Flex/pull/27)
- [More Pygments Styles](https://github.com/alexandrevicenzi/Flex/issues/38)
- [Add StatusCake RUM support](https://github.com/alexandrevicenzi/Flex/issues/16)
If you need help or want to report a bug, please open an [issue](https://github.com/alexandrevicenzi/Flex/issues).
Hope you enjoy this theme.

View file

@ -0,0 +1,37 @@
Title: Flex 2.0
Date: 2016-09-13 08:00
Modified: 2016-09-13 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-2-0
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) 2.0 comes with new features.
In fact there are two new features.
The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about [here](https://github.com/alexandrevicenzi/Flex/wiki/Translations).
The biggest challege was to create a way to translate without breaking old versions.
If you use English it changes nothing for you.
But if you want to use translation you need to add new lines to your pelican configuration file.
Here is a small example to use Flex in another language.
```python
# Enable i18n plugin, probably you already have some others here.
PLUGINS = ['i18n_subsites']
# Enable Jinja2 i18n extension used to parse translations.
JINJA_EXTENSIONS = ['jinja2.ext.i18n']
# Default theme language.
I18N_TEMPLATES_LANG = 'en'
# Your language.
DEFAULT_LANG = 'de'
OG_LOCALE = 'de_DE'
LOCALE = 'de_DE'
```
Last but not least, Flex supports the feature "X minute read", similar [Medium](https://medium.com/).
Hope you enjoy this version.

View file

@ -0,0 +1,35 @@
Title: Flex 2.1.0
Date: 2016-11-16 08:00
Modified: 2016-11-16 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-2-1
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) 2.1.0 comes with features that I was delaying for so long.
Flex 2.1.0 adds support for Google AdSense.
If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads.
Flex has six places for ads. Google recommends up to 3 ads per page. There is ads page only, and banner that appears on all pages.
Below you can see how to enable ads in your pelican configuration file.
```python
GOOGLE_ADSENSE = {
'ca_id': 'ca-pub-1234567890', # Your AdSense ID
'page_level_ads': True, # Allow Page Level Ads (mobile)
'ads': {
'aside': '1234561', # Side bar banner (all pages)
'main_menu': '1234562', # Banner before main menu (all pages)
'index_top': '1234563', # Banner after main menu (index only)
'index_bottom': '1234564', # Banner before footer (index only)
'article_top': '1234565', # Banner after article title (article only)
'article_bottom': '1234566', # Banner after article content (article only)
}
}
```
Version 2.1.0 also comes with new translations. You can see available translations [here](https://github.com/alexandrevicenzi/Flex/wiki/Translations).
Hope you enjoy this version.

View file

@ -0,0 +1,15 @@
Title: Flex 2.2.0
Date: 2018-06-24 08:00
Modified: 2018-06-24 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-2-2
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) 2.2.0 comes with bug fixes and improvements.
There are new Pygments templates and also a few code highlight fixes. There's also new social icons.
Version 2.2.0 also comes with new translations. You can see available translations [here](https://github.com/alexandrevicenzi/Flex/wiki/Translations).
Hope you enjoy this version.

View file

@ -0,0 +1,28 @@
Title: Flex 2.3.0
Date: 2020-09-19 08:00
Modified: 2020-09-19 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-2-3
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) 2.3.0 comes with bug fixes and a few improvements.
New features include:
- Dark Theme version
- Isso comments support
- Tipue Search support
- Update translations
Fixes include:
- New social icons
- Layout fixes
- Compatibility with newer Pelican
For more details check our [Wiki](https://github.com/alexandrevicenzi/Flex/wiki).
I know, it has been a long time since the last version, but it's out now.
Hope you enjoy this version.

View file

@ -0,0 +1,17 @@
Title: Flex 2.4.0
Date: 2020-12-01 08:00
Modified: 2020-12-01 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-2-4
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) 2.4.0 comes with minor changes.
- Updated translations (Italian, Spanish, Portuguese, German, Turkish)
- Include settings for canonical URLS ([#238](https://github.com/alexandrevicenzi/Flex/issues/238))
- Remove pelican plugins dependency ([#255](https://github.com/alexandrevicenzi/Flex/issues/255))
For more details check our [Wiki](https://github.com/alexandrevicenzi/Flex/wiki).
Hope you enjoy this version.

View file

@ -0,0 +1,27 @@
Title: Flex 2.5.0
Date: 2022-08-31 08:00
Modified: 2022-08-31 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme-update-2-5
Cover: images/flex-screenshot.png
[Flex theme](https://github.com/alexandrevicenzi/Flex) 2.5.0 comes with minor fixes and big improvments.
- Added support for [Pelican Search](https://github.com/pelican-plugins/search) plugin as [Tipue Search](https://github.com/getpelican/pelican-plugins/tree/master/tipue_search) is deprecated
- Tipue Search support will be removed in Flex 3.0
- Added support for [SEO](https://github.com/pelican-plugins/seo) plugin
- Added support for [Series](https://github.com/pelican-plugins/series) plugin
- Added support for [Microsoft Clarity](https://clarity.microsoft.com/)
- Added support for Google Analytics v4
- Updated translations
- Improved styles for Table of Contents and Figure with captions, as well other small fixes
For more details check our [Wiki](https://github.com/alexandrevicenzi/Flex/wiki).
The next Flex version will be 3.0 and it will bring a few changes to the theme structure, introducing a few configuration changes.
Over the years many features were added to Flex theme and some with not much care.
Because of this, code cleanup is needed to allow theme maintenance in the future.
Pelican also changed, and some features present in Flex are now available in Pelican or as new plugins. It's time to review everything done so far.
Hope you enjoy this version and stay tuned for Flex 3.0.

View file

@ -0,0 +1,99 @@
Title: Flex: Responsive Pelican theme
Date: 2015-07-22 08:00
Modified: 2015-07-22 08:00
Category: News
Tags: pelican, python, theme
Slug: flex-pelican-theme
Cover: images/flex-screenshot.png
I just start a new fresh blog using [Pelican](http://getpelican.com). Sometimes choosing a theme for a new site is something difficult that takes time.
In the Pelican [theme gallery](http://www.pelicanthemes.com/), I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I choose to create my own theme. I never did this before.
Creating a theme for Pelican is quite easy, unlike Wordpress. You can take a look in the [Source Code of Flex](https://github.com/alexandrevicenzi/Flex).
But how Flex looks like? Well, you can see [this screenshot](images/flex-screenshot.png), but you already know how it looks like, you're looking at it. :D
I really care about SEO and integrations with Facebook, Google Plus and other social networks, so this theme offers some features:
- Mobile First
- Responsive
- Semantic
- SEO Best Practices
- Open Graph
- Rich Snippets (JSON-LD)
Maybe these features are not fully optimized, but I'll improve.
Flex also offers integrations with multiple services.
> **Tip:**
> You can easyly integrate with:
> - AddThis
> - Disqus
> - Google Analytics
> - Google Tag Manager
> - StatusCake
Flex is a theme built by a developer for developers, but of course, you can use for any purpose. In this scenario, Flex is able to create good styles for coding, outputs and samples.
If you need to show some program output you can use `samp` tag to look like this:
<samp>Done: Processed 4 articles, 0 drafts, 2 pages and 0 hidden pages in 0.22 seconds.</samp>
Or if you want multiple lines:
<samp>
total used free shared buffers cached
Mem: 5866 4674 1192 386 0 2404
-/+ buffers/cache: 2269 3596
Swap: 20480 1267 19213
</samp>
If you like to share code snippets, you can take advantage of [Pygments](http://pygments.org/) syntax highlighting:
```js
// Foo
var bar = 0;
```
```python
class Foo(object):
def __init__(self, bar)
self.bar = bar
```
```bash
ls *.jpg | xargs -n1 -i cp {} /external-hard-drive/directory
```
**Note:** The code block looks like GitHubs colors.
You can add tables too:
Item | Value
-------- | ---
Computer | $1600
Phone | $12
Pipe | $1
and how heading looks like?
# This is heading 1
## This is heading 2
### This is heading 3
#### This is heading 4
##### This is heading 5
###### This is heading 6
This examples are in Markdown. I'm not sure how it will look using reStructuredText. Keep in mind that Markdown allows you to add HTML tags. If you can create the same HTML syntax produced by Markdown using reStructuredText it will work.
You can take a look in the [source code of this page](https://raw.githubusercontent.com/alexandrevicenzi/blog/master/content/News/flex-pelican-theme.md) to know how to create rich examples.
Flex is my first attempt creating themes and there's no IE testing yet. You can check the [sources here](https://github.com/alexandrevicenzi/flex).
As soon as possible I will add this project to Pelican gallery.
Drop a comment if you like this theme, or [open an issue](https://github.com/alexandrevicenzi/Flex/issues) if you need a feature or found a bug.

View file

Before

Width:  |  Height:  |  Size: 151 KiB

After

Width:  |  Height:  |  Size: 151 KiB

View file

@ -0,0 +1,5 @@
Title: About
Date: 2015-07-18 08:00
Modified: 2018-01-01 08:00
Flex - The minimalist Pelican theme.

View file

@ -0,0 +1,6 @@
Title: Contact
Date: 2015-07-18 08:00
Modified: 2018-01-01 08:00
Slug: contact
If you want to contact about typos, grammar and other errors in this blog, you can open an issue [here](https://github.com/alexandrevicenzi/Flex/issues).

85
docs/pelicanconf.py Normal file
View file

@ -0,0 +1,85 @@
from datetime import datetime
AUTHOR = "Alexandre Vicenzi"
SITEURL = "http://localhost:8000"
SITENAME = "Flex"
SITETITLE = "Flex"
SITESUBTITLE = "The minimalist Pelican theme"
SITEDESCRIPTION = "Flex - The minimalist Pelican theme."
# SITELOGO = ''
# FAVICON = '/images/favicon.ico'
BROWSER_COLOR = "#333333"
PYGMENTS_STYLE = "monokai"
ROBOTS = "index, follow"
THEME = "../"
PATH = "content"
OUTPUT_PATH = "blog/"
TIMEZONE = "America/New_York"
DISABLE_URL_HASH = True
# PLUGIN_PATHS = ['pelican-plugins']
# PLUGINS = ['i18n_subsites']
# JINJA_ENVIRONMENT = {'extensions': ['jinja2.ext.i18n']}
I18N_TEMPLATES_LANG = "en"
DEFAULT_LANG = "en"
OG_LOCALE = "en_US"
LOCALE = "en_US"
DATE_FORMATS = {
"en": "%B %d, %Y",
}
FEED_ALL_ATOM = "feeds/all.atom.xml"
CATEGORY_FEED_ATOM = "feeds/{slug}.atom.xml"
TRANSLATION_FEED_ATOM = None
AUTHOR_FEED_ATOM = None
AUTHOR_FEED_RSS = None
USE_FOLDER_AS_CATEGORY = False
MAIN_MENU = True
HOME_HIDE_TAGS = True
GITHUB_CORNER_URL = "https://github.com/alexandrevicenzi/Flex"
SOCIAL = (
("github", "https://github.com/alexandrevicenzi/Flex"),
("rss", "/blog/feeds/all.atom.xml"),
)
MENUITEMS = (
("Archives", "/archives.html"),
("Categories", "/categories.html"),
("Tags", "/tags.html"),
)
CC_LICENSE = {
"name": "Creative Commons Attribution-ShareAlike 4.0 International License",
"version": "4.0",
"slug": "by-sa",
"icon": True,
"language": "en_US",
}
COPYRIGHT_YEAR = datetime.now().year
DEFAULT_PAGINATION = 10
DISQUS_SITENAME = "flex-pelican"
ADD_THIS_ID = "ra-55adbb025d4f7e55"
STATIC_PATHS = ["images", "extra/ads.txt", "extra/CNAME"]
EXTRA_PATH_METADATA = {
"extra/ads.txt": {"path": "ads.txt"},
"extra/CNAME": {"path": "CNAME"},
}
THEME_COLOR_AUTO_DETECT_BROWSER_PREFERENCE = True
THEME_COLOR_ENABLE_USER_OVERRIDE = True
USE_LESS = True

31
docs/publishconf.py Normal file
View file

@ -0,0 +1,31 @@
import os
import sys
sys.path.append(os.curdir)
try:
from pelicanconf import *
except ImportError:
sys.path.append(os.path.join(os.curdir, "docs"))
from pelicanconf import *
SITEURL = "https://flex.alxd.me/"
RELATIVE_URLS = False
USE_LESS = False
GOOGLE_ANALYTICS = "UA-55543164-6"
GOOGLE_ADSENSE = {
"ca_id": "ca-pub-6625957038449899",
"page_level_ads": True,
"ads": {
"aside": "8752710348",
"main_menu": "",
"index_top": "",
"index_bottom": "1124188687",
"article_top": "",
"article_bottom": "4843941849",
},
}

2
docs/requirements.txt Normal file
View file

@ -0,0 +1,2 @@
pelican
markdown

148
docs/tasks.py Normal file
View file

@ -0,0 +1,148 @@
# -*- coding: utf-8 -*-
import os
import shlex
import shutil
import sys
import datetime
from invoke import task
from invoke.main import program
from invoke.util import cd
from pelican import main as pelican_main
from pelican.server import ComplexHTTPRequestHandler, RootedHTTPServer
from pelican.settings import DEFAULT_CONFIG, get_settings_from_file
OPEN_BROWSER_ON_SERVE = True
SETTINGS_FILE_BASE = 'pelicanconf.py'
SETTINGS = {}
SETTINGS.update(DEFAULT_CONFIG)
LOCAL_SETTINGS = get_settings_from_file(SETTINGS_FILE_BASE)
SETTINGS.update(LOCAL_SETTINGS)
CONFIG = {
'settings_base': SETTINGS_FILE_BASE,
'settings_publish': 'publishconf.py',
# Output path. Can be absolute or relative to tasks.py. Default: 'output'
'deploy_path': SETTINGS['OUTPUT_PATH'],
# Github Pages configuration
'github_pages_branch': 'gh-pages',
'commit_message': "'Publish site on {}'".format(datetime.date.today().isoformat()),
# Host and port for `serve`
'host': 'localhost',
'port': 8000,
}
@task
def clean(c):
"""Remove generated files"""
if os.path.isdir(CONFIG['deploy_path']):
shutil.rmtree(CONFIG['deploy_path'])
os.makedirs(CONFIG['deploy_path'])
@task
def build(c):
"""Build local version of site"""
pelican_run('-s {settings_base}'.format(**CONFIG))
@task
def rebuild(c):
"""`build` with the delete switch"""
pelican_run('-d -s {settings_base}'.format(**CONFIG))
@task
def regenerate(c):
"""Automatically regenerate site upon file modification"""
pelican_run('-r -s {settings_base}'.format(**CONFIG))
@task
def serve(c):
"""Serve site at http://$HOST:$PORT/ (default is localhost:8000)"""
class AddressReuseTCPServer(RootedHTTPServer):
allow_reuse_address = True
server = AddressReuseTCPServer(
CONFIG['deploy_path'],
(CONFIG['host'], CONFIG['port']),
ComplexHTTPRequestHandler)
if OPEN_BROWSER_ON_SERVE:
# Open site in default browser
import webbrowser
webbrowser.open("http://{host}:{port}".format(**CONFIG))
sys.stderr.write('Serving at {host}:{port} ...\n'.format(**CONFIG))
server.serve_forever()
@task
def reserve(c):
"""`build`, then `serve`"""
build(c)
serve(c)
@task
def preview(c):
"""Build production version of site"""
pelican_run('-s {settings_publish}'.format(**CONFIG))
@task
def livereload(c):
"""Automatically reload browser tab upon file modification."""
from livereload import Server
def cached_build():
cmd = '-s {settings_base} -e CACHE_CONTENT=True LOAD_CONTENT_CACHE=True'
pelican_run(cmd.format(**CONFIG))
cached_build()
server = Server()
theme_path = SETTINGS['THEME']
watched_globs = [
CONFIG['settings_base'],
'{}/templates/**/*.html'.format(theme_path),
]
content_file_extensions = ['.md', '.rst']
for extension in content_file_extensions:
content_glob = '{0}/**/*{1}'.format(SETTINGS['PATH'], extension)
watched_globs.append(content_glob)
static_file_extensions = ['.css', '.js']
for extension in static_file_extensions:
static_file_glob = '{0}/static/**/*{1}'.format(theme_path, extension)
watched_globs.append(static_file_glob)
for glob in watched_globs:
server.watch(glob, cached_build)
if OPEN_BROWSER_ON_SERVE:
# Open site in default browser
import webbrowser
webbrowser.open("http://{host}:{port}".format(**CONFIG))
server.serve(host=CONFIG['host'], port=CONFIG['port'], root=CONFIG['deploy_path'])
@task
def publish(c):
"""Publish to production via rsync"""
pelican_run('-s {settings_publish}'.format(**CONFIG))
c.run(
'rsync --delete --exclude ".DS_Store" -pthrvz -c '
'-e "ssh -p {ssh_port}" '
'{} {ssh_user}@{ssh_host}:{ssh_path}'.format(
CONFIG['deploy_path'].rstrip('/') + '/',
**CONFIG))
@task
def gh_pages(c):
"""Publish to GitHub Pages"""
preview(c)
c.run('ghp-import -b {github_pages_branch} '
'-m {commit_message} '
'{deploy_path} -p'.format(**CONFIG))
def pelican_run(cmd):
cmd += ' ' + program.core.remainder # allows to pass-through args to pelican
pelican_main(shlex.split(cmd))

View file

@ -1,238 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Flex</title><link href="https://flex.alxd.me/" rel="alternate"></link><link href="https://flex.alxd.me/feeds/all.atom.xml" rel="self"></link><id>https://flex.alxd.me/</id><updated>2022-08-31T08:00:00-04:00</updated><subtitle>The minimalist Pelican theme</subtitle><entry><title>Flex 2.5.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html" rel="alternate"></link><published>2022-08-31T08:00:00-04:00</published><updated>2022-08-31T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2022-08-31:/flex-pelican-theme-update-2-5.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.5.0 comes with minor fixes and big improvments.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/search"&gt;Pelican Search&lt;/a&gt; plugin as &lt;a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search"&gt;Tipue Search&lt;/a&gt; is deprecated&lt;ul&gt;
&lt;li&gt;Tipue Search support will be removed in Flex 3.0&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/seo"&gt;SEO&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/series"&gt;Series&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://clarity.microsoft.com/"&gt;Microsoft Clarity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Added support …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.5.0 comes with minor fixes and big improvments.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/search"&gt;Pelican Search&lt;/a&gt; plugin as &lt;a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search"&gt;Tipue Search&lt;/a&gt; is deprecated&lt;ul&gt;
&lt;li&gt;Tipue Search support will be removed in Flex 3.0&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/seo"&gt;SEO&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/series"&gt;Series&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://clarity.microsoft.com/"&gt;Microsoft Clarity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Added support for Google Analytics v4&lt;/li&gt;
&lt;li&gt;Updated translations&lt;/li&gt;
&lt;li&gt;Improved styles for Table of Contents and Figure with captions, as well other small fixes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The next Flex version will be 3.0 and it will bring a few changes to the theme structure, introducing a few configuration changes.
Over the years many features were added to Flex theme and some with not much care.
Because of this, code cleanup is needed to allow theme maintenance in the future.
Pelican also changed, and some features present in Flex are now available in Pelican or as new plugins. It's time to review everything done so far.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version and stay tuned for Flex 3.0.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.4.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-4.html" rel="alternate"></link><published>2020-12-01T08:00:00-05:00</published><updated>2020-12-01T08:00:00-05:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2020-12-01:/flex-pelican-theme-update-2-4.html</id><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.4.0 comes with minor changes.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Updated translations (Italian, Spanish, Portuguese, German, Turkish)&lt;/li&gt;
&lt;li&gt;Include settings for canonical URLS (&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/238"&gt;#238&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Remove pelican plugins dependency (&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/255"&gt;#255&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.3.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html" rel="alternate"></link><published>2020-09-19T08:00:00-04:00</published><updated>2020-09-19T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2020-09-19:/flex-pelican-theme-update-2-3.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.3.0 comes with bug fixes and a few improvements.&lt;/p&gt;
&lt;p&gt;New features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dark Theme version&lt;/li&gt;
&lt;li&gt;Isso comments support&lt;/li&gt;
&lt;li&gt;Tipue Search support&lt;/li&gt;
&lt;li&gt;Update translations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixes include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New social icons&lt;/li&gt;
&lt;li&gt;Layout fixes&lt;/li&gt;
&lt;li&gt;Compatibility with newer Pelican&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know, it has been a …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.3.0 comes with bug fixes and a few improvements.&lt;/p&gt;
&lt;p&gt;New features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dark Theme version&lt;/li&gt;
&lt;li&gt;Isso comments support&lt;/li&gt;
&lt;li&gt;Tipue Search support&lt;/li&gt;
&lt;li&gt;Update translations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixes include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New social icons&lt;/li&gt;
&lt;li&gt;Layout fixes&lt;/li&gt;
&lt;li&gt;Compatibility with newer Pelican&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know, it has been a long time since the last version, but it's out now.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.2.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-2.html" rel="alternate"></link><published>2018-06-24T08:00:00-04:00</published><updated>2018-06-24T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2018-06-24:/flex-pelican-theme-update-2-2.html</id><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.2.0 comes with bug fixes and improvements.&lt;/p&gt;
&lt;p&gt;There are new Pygments templates and also a few code highlight fixes. There's also new social icons.&lt;/p&gt;
&lt;p&gt;Version 2.2.0 also comes with new translations. You can see available translations &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.1.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html" rel="alternate"></link><published>2016-11-16T08:00:00-05:00</published><updated>2016-11-16T08:00:00-05:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-11-16:/flex-pelican-theme-update-2-1.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.1.0 comes with features that I was delaying for so long.&lt;/p&gt;
&lt;p&gt;Flex 2.1.0 adds support for Google AdSense.&lt;/p&gt;
&lt;p&gt;If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.1.0 comes with features that I was delaying for so long.&lt;/p&gt;
&lt;p&gt;Flex 2.1.0 adds support for Google AdSense.&lt;/p&gt;
&lt;p&gt;If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads.&lt;/p&gt;
&lt;p&gt;Flex has six places for ads. Google recommends up to 3 ads per page. There is ads page only, and banner that appears on all pages.
Below you can see how to enable ads in your pelican configuration file.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;GOOGLE_ADSENSE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;ca_id&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ca-pub-1234567890&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Your AdSense ID&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;page_level_ads&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Allow Page Level Ads (mobile)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;ads&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;aside&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234561&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Side bar banner (all pages)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;main_menu&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234562&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner before main menu (all pages)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;index_top&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234563&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner after main menu (index only)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;index_bottom&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234564&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner before footer (index only)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;article_top&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234565&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner after article title (article only)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;article_bottom&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234566&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner after article content (article only)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Version 2.1.0 also comes with new translations. You can see available translations &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html" rel="alternate"></link><published>2016-09-13T08:00:00-04:00</published><updated>2016-09-13T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-09-13:/flex-pelican-theme-update-2-0.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.0 comes with new features.
In fact there are two new features.&lt;/p&gt;
&lt;p&gt;The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The biggest challege was to create a way to translate without breaking old versions.
If …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.0 comes with new features.
In fact there are two new features.&lt;/p&gt;
&lt;p&gt;The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The biggest challege was to create a way to translate without breaking old versions.
If you use English it changes nothing for you.
But if you want to use translation you need to add new lines to your pelican configuration file.&lt;/p&gt;
&lt;p&gt;Here is a small example to use Flex in another language.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;# Enable i18n plugin, probably you already have some others here.&lt;/span&gt;
&lt;span class="n"&gt;PLUGINS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;i18n_subsites&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="c1"&gt;# Enable Jinja2 i18n extension used to parse translations.&lt;/span&gt;
&lt;span class="n"&gt;JINJA_EXTENSIONS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;jinja2.ext.i18n&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="c1"&gt;# Default theme language.&lt;/span&gt;
&lt;span class="n"&gt;I18N_TEMPLATES_LANG&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;en&amp;#39;&lt;/span&gt;
&lt;span class="c1"&gt;# Your language.&lt;/span&gt;
&lt;span class="n"&gt;DEFAULT_LANG&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;de&amp;#39;&lt;/span&gt;
&lt;span class="n"&gt;OG_LOCALE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;de_DE&amp;#39;&lt;/span&gt;
&lt;span class="n"&gt;LOCALE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;de_DE&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Last but not least, Flex supports the feature "X minute read", similar &lt;a href="https://medium.com/"&gt;Medium&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 1.2.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html" rel="alternate"></link><published>2016-06-10T08:00:00-04:00</published><updated>2016-06-10T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-06-10:/flex-pelican-theme-update-1-2-0.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; received some new features. Version 1.2.0 include new features and some updates.&lt;/p&gt;
&lt;p&gt;For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/31"&gt;Update font-awesome&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/34"&gt;Added browser color configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/27"&gt;Related posts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/38"&gt;More Pygments Styles …&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; received some new features. Version 1.2.0 include new features and some updates.&lt;/p&gt;
&lt;p&gt;For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/31"&gt;Update font-awesome&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/34"&gt;Added browser color configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/27"&gt;Related posts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/38"&gt;More Pygments Styles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/16"&gt;Add StatusCake RUM support&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you need help or want to report a bug, please open an &lt;a href="https://github.com/alexandrevicenzi/Flex/issues"&gt;issue&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this theme.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 1.1.1</title><link href="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html" rel="alternate"></link><published>2016-02-27T08:00:00-05:00</published><updated>2016-02-27T08:00:00-05:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-02-27:/flex-pelican-theme-update-1-1-1.html</id><content type="html">&lt;p&gt;Today, &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; received a small update.&lt;/p&gt;
&lt;p&gt;Some bugs are now fixed. I think the most important fixes are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/21"&gt;Bug in CSS with placement of "Newer Posts" button&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/14"&gt;Posts preview on main page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hope you enjoy this theme.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 1.1.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html" rel="alternate"></link><published>2015-10-07T08:00:00-04:00</published><updated>2015-10-07T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2015-10-07:/flex-pelican-theme-update-1-1.html</id><summary type="html">&lt;p&gt;I've made the &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; a time ago. For my surprise, many people are using it. I feel thankful for this.&lt;/p&gt;
&lt;p&gt;So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I've made the &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; a time ago. For my surprise, many people are using it. I feel thankful for this.&lt;/p&gt;
&lt;p&gt;So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release the &lt;a href="https://github.com/alexandrevicenzi/Flex/releases/tag/v1.1"&gt;second version&lt;/a&gt; of Flex (aka v1.1).&lt;/p&gt;
&lt;p&gt;This new version doesn't include nothing so special, just some bug fix and a new setting to allow custom CSS stylesheets.&lt;/p&gt;
&lt;p&gt;The new custom setting can be used like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;EXTRA_PATH_METADATA&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;extra/custom.css&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;path&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;static/custom.css&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;CUSTOM_CSS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;static/custom.css&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I would like to thank all who helped in this new version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex: Responsive Pelican theme</title><link href="https://flex.alxd.me/flex-pelican-theme.html" rel="alternate"></link><published>2015-07-22T08:00:00-04:00</published><updated>2015-07-22T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2015-07-22:/flex-pelican-theme.html</id><summary type="html">&lt;p&gt;I just start a new fresh blog using &lt;a href="http://getpelican.com"&gt;Pelican&lt;/a&gt;. Sometimes choosing a theme for a new site is something difficult that takes time.&lt;/p&gt;
&lt;p&gt;In the Pelican &lt;a href="http://www.pelicanthemes.com/"&gt;theme gallery&lt;/a&gt;, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I just start a new fresh blog using &lt;a href="http://getpelican.com"&gt;Pelican&lt;/a&gt;. Sometimes choosing a theme for a new site is something difficult that takes time.&lt;/p&gt;
&lt;p&gt;In the Pelican &lt;a href="http://www.pelicanthemes.com/"&gt;theme gallery&lt;/a&gt;, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I choose to create my own theme. I never did this before.&lt;/p&gt;
&lt;p&gt;Creating a theme for Pelican is quite easy, unlike Wordpress. You can take a look in the &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Source Code of Flex&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But how Flex looks like? Well, you can see &lt;a href="images/flex-screenshot.png"&gt;this screenshot&lt;/a&gt;, but you already know how it looks like, you're looking at it. :D&lt;/p&gt;
&lt;p&gt;I really care about SEO and integrations with Facebook, Google Plus and other social networks, so this theme offers some features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mobile First&lt;/li&gt;
&lt;li&gt;Responsive&lt;/li&gt;
&lt;li&gt;Semantic&lt;/li&gt;
&lt;li&gt;SEO Best Practices&lt;/li&gt;
&lt;li&gt;Open Graph&lt;/li&gt;
&lt;li&gt;Rich Snippets (JSON-LD)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Maybe these features are not fully optimized, but I'll improve.&lt;/p&gt;
&lt;p&gt;Flex also offers integrations with multiple services.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can easyly integrate with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AddThis&lt;/li&gt;
&lt;li&gt;Disqus&lt;/li&gt;
&lt;li&gt;Google Analytics&lt;/li&gt;
&lt;li&gt;Google Tag Manager&lt;/li&gt;
&lt;li&gt;StatusCake&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Flex is a theme built by a developer for developers, but of course, you can use for any purpose. In this scenario, Flex is able to create good styles for coding, outputs and samples.&lt;/p&gt;
&lt;p&gt;If you need to show some program output you can use &lt;code&gt;samp&lt;/code&gt; tag to look like this:&lt;/p&gt;
&lt;p&gt;&lt;samp&gt;Done: Processed 4 articles, 0 drafts, 2 pages and 0 hidden pages in 0.22 seconds.&lt;/samp&gt;&lt;/p&gt;
&lt;p&gt;Or if you want multiple lines:&lt;/p&gt;
&lt;p&gt;&lt;samp&gt;
total used free shared buffers cached
Mem: 5866 4674 1192 386 0 2404
-/+ buffers/cache: 2269 3596
Swap: 20480 1267 19213
&lt;/samp&gt;&lt;/p&gt;
&lt;p&gt;If you like to share code snippets, you can take advantage of &lt;a href="http://pygments.org/"&gt;Pygments&lt;/a&gt; syntax highlighting:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;// Foo&lt;/span&gt;
&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;bar&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Foo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;object&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="fm"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bar&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bar&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bar&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ls&lt;span class="w"&gt; &lt;/span&gt;*.jpg&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;xargs&lt;span class="w"&gt; &lt;/span&gt;-n1&lt;span class="w"&gt; &lt;/span&gt;-i&lt;span class="w"&gt; &lt;/span&gt;cp&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;{}&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;/external-hard-drive/directory
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The code block looks like GitHubs colors.&lt;/p&gt;
&lt;p&gt;You can add tables too:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Computer&lt;/td&gt;
&lt;td&gt;$1600&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Phone&lt;/td&gt;
&lt;td&gt;$12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pipe&lt;/td&gt;
&lt;td&gt;$1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;and how heading looks like?&lt;/p&gt;
&lt;h1&gt;This is heading 1&lt;/h1&gt;
&lt;h2&gt;This is heading 2&lt;/h2&gt;
&lt;h3&gt;This is heading 3&lt;/h3&gt;
&lt;h4&gt;This is heading 4&lt;/h4&gt;
&lt;h5&gt;This is heading 5&lt;/h5&gt;
&lt;h6&gt;This is heading 6&lt;/h6&gt;
&lt;p&gt;This examples are in Markdown. I'm not sure how it will look using reStructuredText. Keep in mind that Markdown allows you to add HTML tags. If you can create the same HTML syntax produced by Markdown using reStructuredText it will work.&lt;/p&gt;
&lt;p&gt;You can take a look in the &lt;a href="https://raw.githubusercontent.com/alexandrevicenzi/blog/master/content/News/flex-pelican-theme.md"&gt;source code of this page&lt;/a&gt; to know how to create rich examples.&lt;/p&gt;
&lt;p&gt;Flex is my first attempt creating themes and there's no IE testing yet. You can check the &lt;a href="https://github.com/alexandrevicenzi/flex"&gt;sources here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As soon as possible I will add this project to Pelican gallery.&lt;/p&gt;
&lt;p&gt;Drop a comment if you like this theme, or &lt;a href="https://github.com/alexandrevicenzi/Flex/issues"&gt;open an issue&lt;/a&gt; if you need a feature or found a bug.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry></feed>

View file

@ -1,238 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Flex - News</title><link href="https://flex.alxd.me/" rel="alternate"></link><link href="https://flex.alxd.me/feeds/news.atom.xml" rel="self"></link><id>https://flex.alxd.me/</id><updated>2022-08-31T08:00:00-04:00</updated><subtitle>The minimalist Pelican theme</subtitle><entry><title>Flex 2.5.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html" rel="alternate"></link><published>2022-08-31T08:00:00-04:00</published><updated>2022-08-31T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2022-08-31:/flex-pelican-theme-update-2-5.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.5.0 comes with minor fixes and big improvments.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/search"&gt;Pelican Search&lt;/a&gt; plugin as &lt;a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search"&gt;Tipue Search&lt;/a&gt; is deprecated&lt;ul&gt;
&lt;li&gt;Tipue Search support will be removed in Flex 3.0&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/seo"&gt;SEO&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/series"&gt;Series&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://clarity.microsoft.com/"&gt;Microsoft Clarity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Added support …&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.5.0 comes with minor fixes and big improvments.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/search"&gt;Pelican Search&lt;/a&gt; plugin as &lt;a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search"&gt;Tipue Search&lt;/a&gt; is deprecated&lt;ul&gt;
&lt;li&gt;Tipue Search support will be removed in Flex 3.0&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/seo"&gt;SEO&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://github.com/pelican-plugins/series"&gt;Series&lt;/a&gt; plugin&lt;/li&gt;
&lt;li&gt;Added support for &lt;a href="https://clarity.microsoft.com/"&gt;Microsoft Clarity&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Added support for Google Analytics v4&lt;/li&gt;
&lt;li&gt;Updated translations&lt;/li&gt;
&lt;li&gt;Improved styles for Table of Contents and Figure with captions, as well other small fixes&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The next Flex version will be 3.0 and it will bring a few changes to the theme structure, introducing a few configuration changes.
Over the years many features were added to Flex theme and some with not much care.
Because of this, code cleanup is needed to allow theme maintenance in the future.
Pelican also changed, and some features present in Flex are now available in Pelican or as new plugins. It's time to review everything done so far.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version and stay tuned for Flex 3.0.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.4.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-4.html" rel="alternate"></link><published>2020-12-01T08:00:00-05:00</published><updated>2020-12-01T08:00:00-05:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2020-12-01:/flex-pelican-theme-update-2-4.html</id><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.4.0 comes with minor changes.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Updated translations (Italian, Spanish, Portuguese, German, Turkish)&lt;/li&gt;
&lt;li&gt;Include settings for canonical URLS (&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/238"&gt;#238&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Remove pelican plugins dependency (&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/255"&gt;#255&lt;/a&gt;)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.3.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html" rel="alternate"></link><published>2020-09-19T08:00:00-04:00</published><updated>2020-09-19T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2020-09-19:/flex-pelican-theme-update-2-3.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.3.0 comes with bug fixes and a few improvements.&lt;/p&gt;
&lt;p&gt;New features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dark Theme version&lt;/li&gt;
&lt;li&gt;Isso comments support&lt;/li&gt;
&lt;li&gt;Tipue Search support&lt;/li&gt;
&lt;li&gt;Update translations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixes include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New social icons&lt;/li&gt;
&lt;li&gt;Layout fixes&lt;/li&gt;
&lt;li&gt;Compatibility with newer Pelican&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know, it has been a …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.3.0 comes with bug fixes and a few improvements.&lt;/p&gt;
&lt;p&gt;New features include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Dark Theme version&lt;/li&gt;
&lt;li&gt;Isso comments support&lt;/li&gt;
&lt;li&gt;Tipue Search support&lt;/li&gt;
&lt;li&gt;Update translations&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Fixes include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;New social icons&lt;/li&gt;
&lt;li&gt;Layout fixes&lt;/li&gt;
&lt;li&gt;Compatibility with newer Pelican&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;For more details check our &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki"&gt;Wiki&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I know, it has been a long time since the last version, but it's out now.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.2.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-2.html" rel="alternate"></link><published>2018-06-24T08:00:00-04:00</published><updated>2018-06-24T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2018-06-24:/flex-pelican-theme-update-2-2.html</id><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.2.0 comes with bug fixes and improvements.&lt;/p&gt;
&lt;p&gt;There are new Pygments templates and also a few code highlight fixes. There's also new social icons.&lt;/p&gt;
&lt;p&gt;Version 2.2.0 also comes with new translations. You can see available translations &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.1.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html" rel="alternate"></link><published>2016-11-16T08:00:00-05:00</published><updated>2016-11-16T08:00:00-05:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-11-16:/flex-pelican-theme-update-2-1.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.1.0 comes with features that I was delaying for so long.&lt;/p&gt;
&lt;p&gt;Flex 2.1.0 adds support for Google AdSense.&lt;/p&gt;
&lt;p&gt;If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.1.0 comes with features that I was delaying for so long.&lt;/p&gt;
&lt;p&gt;Flex 2.1.0 adds support for Google AdSense.&lt;/p&gt;
&lt;p&gt;If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads.&lt;/p&gt;
&lt;p&gt;Flex has six places for ads. Google recommends up to 3 ads per page. There is ads page only, and banner that appears on all pages.
Below you can see how to enable ads in your pelican configuration file.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;GOOGLE_ADSENSE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;ca_id&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;ca-pub-1234567890&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Your AdSense ID&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;page_level_ads&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;True&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Allow Page Level Ads (mobile)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;ads&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;aside&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234561&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Side bar banner (all pages)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;main_menu&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234562&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner before main menu (all pages)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;index_top&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234563&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner after main menu (index only)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;index_bottom&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234564&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner before footer (index only)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;article_top&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234565&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner after article title (article only)&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;article_bottom&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;1234566&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="c1"&gt;# Banner after article content (article only)&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Version 2.1.0 also comes with new translations. You can see available translations &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 2.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html" rel="alternate"></link><published>2016-09-13T08:00:00-04:00</published><updated>2016-09-13T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-09-13:/flex-pelican-theme-update-2-0.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.0 comes with new features.
In fact there are two new features.&lt;/p&gt;
&lt;p&gt;The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The biggest challege was to create a way to translate without breaking old versions.
If …&lt;/p&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; 2.0 comes with new features.
In fact there are two new features.&lt;/p&gt;
&lt;p&gt;The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about &lt;a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The biggest challege was to create a way to translate without breaking old versions.
If you use English it changes nothing for you.
But if you want to use translation you need to add new lines to your pelican configuration file.&lt;/p&gt;
&lt;p&gt;Here is a small example to use Flex in another language.&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;# Enable i18n plugin, probably you already have some others here.&lt;/span&gt;
&lt;span class="n"&gt;PLUGINS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;i18n_subsites&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="c1"&gt;# Enable Jinja2 i18n extension used to parse translations.&lt;/span&gt;
&lt;span class="n"&gt;JINJA_EXTENSIONS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;jinja2.ext.i18n&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="c1"&gt;# Default theme language.&lt;/span&gt;
&lt;span class="n"&gt;I18N_TEMPLATES_LANG&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;en&amp;#39;&lt;/span&gt;
&lt;span class="c1"&gt;# Your language.&lt;/span&gt;
&lt;span class="n"&gt;DEFAULT_LANG&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;de&amp;#39;&lt;/span&gt;
&lt;span class="n"&gt;OG_LOCALE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;de_DE&amp;#39;&lt;/span&gt;
&lt;span class="n"&gt;LOCALE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;de_DE&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Last but not least, Flex supports the feature "X minute read", similar &lt;a href="https://medium.com/"&gt;Medium&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 1.2.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html" rel="alternate"></link><published>2016-06-10T08:00:00-04:00</published><updated>2016-06-10T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-06-10:/flex-pelican-theme-update-1-2-0.html</id><summary type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; received some new features. Version 1.2.0 include new features and some updates.&lt;/p&gt;
&lt;p&gt;For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/31"&gt;Update font-awesome&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/34"&gt;Added browser color configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/27"&gt;Related posts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/38"&gt;More Pygments Styles …&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;</summary><content type="html">&lt;p&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; received some new features. Version 1.2.0 include new features and some updates.&lt;/p&gt;
&lt;p&gt;For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/31"&gt;Update font-awesome&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/34"&gt;Added browser color configuration&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/pull/27"&gt;Related posts&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/38"&gt;More Pygments Styles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/16"&gt;Add StatusCake RUM support&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you need help or want to report a bug, please open an &lt;a href="https://github.com/alexandrevicenzi/Flex/issues"&gt;issue&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Hope you enjoy this theme.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 1.1.1</title><link href="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html" rel="alternate"></link><published>2016-02-27T08:00:00-05:00</published><updated>2016-02-27T08:00:00-05:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2016-02-27:/flex-pelican-theme-update-1-1-1.html</id><content type="html">&lt;p&gt;Today, &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; received a small update.&lt;/p&gt;
&lt;p&gt;Some bugs are now fixed. I think the most important fixes are:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/21"&gt;Bug in CSS with placement of "Newer Posts" button&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://github.com/alexandrevicenzi/Flex/issues/14"&gt;Posts preview on main page&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Hope you enjoy this theme.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex 1.1.0</title><link href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html" rel="alternate"></link><published>2015-10-07T08:00:00-04:00</published><updated>2015-10-07T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2015-10-07:/flex-pelican-theme-update-1-1.html</id><summary type="html">&lt;p&gt;I've made the &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; a time ago. For my surprise, many people are using it. I feel thankful for this.&lt;/p&gt;
&lt;p&gt;So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I've made the &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Flex theme&lt;/a&gt; a time ago. For my surprise, many people are using it. I feel thankful for this.&lt;/p&gt;
&lt;p&gt;So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release the &lt;a href="https://github.com/alexandrevicenzi/Flex/releases/tag/v1.1"&gt;second version&lt;/a&gt; of Flex (aka v1.1).&lt;/p&gt;
&lt;p&gt;This new version doesn't include nothing so special, just some bug fix and a new setting to allow custom CSS stylesheets.&lt;/p&gt;
&lt;p&gt;The new custom setting can be used like this:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="n"&gt;EXTRA_PATH_METADATA&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
&lt;span class="s1"&gt;&amp;#39;extra/custom.css&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="s1"&gt;&amp;#39;path&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;static/custom.css&amp;#39;&lt;/span&gt;&lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="n"&gt;CUSTOM_CSS&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="s1"&gt;&amp;#39;static/custom.css&amp;#39;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;I would like to thank all who helped in this new version.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry><entry><title>Flex: Responsive Pelican theme</title><link href="https://flex.alxd.me/flex-pelican-theme.html" rel="alternate"></link><published>2015-07-22T08:00:00-04:00</published><updated>2015-07-22T08:00:00-04:00</updated><author><name>Alexandre Vicenzi</name></author><id>tag:flex.alxd.me,2015-07-22:/flex-pelican-theme.html</id><summary type="html">&lt;p&gt;I just start a new fresh blog using &lt;a href="http://getpelican.com"&gt;Pelican&lt;/a&gt;. Sometimes choosing a theme for a new site is something difficult that takes time.&lt;/p&gt;
&lt;p&gt;In the Pelican &lt;a href="http://www.pelicanthemes.com/"&gt;theme gallery&lt;/a&gt;, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I …&lt;/p&gt;</summary><content type="html">&lt;p&gt;I just start a new fresh blog using &lt;a href="http://getpelican.com"&gt;Pelican&lt;/a&gt;. Sometimes choosing a theme for a new site is something difficult that takes time.&lt;/p&gt;
&lt;p&gt;In the Pelican &lt;a href="http://www.pelicanthemes.com/"&gt;theme gallery&lt;/a&gt;, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I choose to create my own theme. I never did this before.&lt;/p&gt;
&lt;p&gt;Creating a theme for Pelican is quite easy, unlike Wordpress. You can take a look in the &lt;a href="https://github.com/alexandrevicenzi/Flex"&gt;Source Code of Flex&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;But how Flex looks like? Well, you can see &lt;a href="images/flex-screenshot.png"&gt;this screenshot&lt;/a&gt;, but you already know how it looks like, you're looking at it. :D&lt;/p&gt;
&lt;p&gt;I really care about SEO and integrations with Facebook, Google Plus and other social networks, so this theme offers some features:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Mobile First&lt;/li&gt;
&lt;li&gt;Responsive&lt;/li&gt;
&lt;li&gt;Semantic&lt;/li&gt;
&lt;li&gt;SEO Best Practices&lt;/li&gt;
&lt;li&gt;Open Graph&lt;/li&gt;
&lt;li&gt;Rich Snippets (JSON-LD)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Maybe these features are not fully optimized, but I'll improve.&lt;/p&gt;
&lt;p&gt;Flex also offers integrations with multiple services.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;Tip:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You can easyly integrate with:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AddThis&lt;/li&gt;
&lt;li&gt;Disqus&lt;/li&gt;
&lt;li&gt;Google Analytics&lt;/li&gt;
&lt;li&gt;Google Tag Manager&lt;/li&gt;
&lt;li&gt;StatusCake&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;
&lt;p&gt;Flex is a theme built by a developer for developers, but of course, you can use for any purpose. In this scenario, Flex is able to create good styles for coding, outputs and samples.&lt;/p&gt;
&lt;p&gt;If you need to show some program output you can use &lt;code&gt;samp&lt;/code&gt; tag to look like this:&lt;/p&gt;
&lt;p&gt;&lt;samp&gt;Done: Processed 4 articles, 0 drafts, 2 pages and 0 hidden pages in 0.22 seconds.&lt;/samp&gt;&lt;/p&gt;
&lt;p&gt;Or if you want multiple lines:&lt;/p&gt;
&lt;p&gt;&lt;samp&gt;
total used free shared buffers cached
Mem: 5866 4674 1192 386 0 2404
-/+ buffers/cache: 2269 3596
Swap: 20480 1267 19213
&lt;/samp&gt;&lt;/p&gt;
&lt;p&gt;If you like to share code snippets, you can take advantage of &lt;a href="http://pygments.org/"&gt;Pygments&lt;/a&gt; syntax highlighting:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="c1"&gt;// Foo&lt;/span&gt;
&lt;span class="kd"&gt;var&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="nx"&gt;bar&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="mf"&gt;0&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="k"&gt;class&lt;/span&gt; &lt;span class="nc"&gt;Foo&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;object&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="fm"&gt;__init__&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;bar&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="bp"&gt;self&lt;/span&gt;&lt;span class="o"&gt;.&lt;/span&gt;&lt;span class="n"&gt;bar&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;bar&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;div class="highlight"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;ls&lt;span class="w"&gt; &lt;/span&gt;*.jpg&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;|&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;xargs&lt;span class="w"&gt; &lt;/span&gt;-n1&lt;span class="w"&gt; &lt;/span&gt;-i&lt;span class="w"&gt; &lt;/span&gt;cp&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;{}&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;/external-hard-drive/directory
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Note:&lt;/strong&gt; The code block looks like GitHubs colors.&lt;/p&gt;
&lt;p&gt;You can add tables too:&lt;/p&gt;
&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Item&lt;/th&gt;
&lt;th&gt;Value&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Computer&lt;/td&gt;
&lt;td&gt;$1600&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Phone&lt;/td&gt;
&lt;td&gt;$12&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pipe&lt;/td&gt;
&lt;td&gt;$1&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;and how heading looks like?&lt;/p&gt;
&lt;h1&gt;This is heading 1&lt;/h1&gt;
&lt;h2&gt;This is heading 2&lt;/h2&gt;
&lt;h3&gt;This is heading 3&lt;/h3&gt;
&lt;h4&gt;This is heading 4&lt;/h4&gt;
&lt;h5&gt;This is heading 5&lt;/h5&gt;
&lt;h6&gt;This is heading 6&lt;/h6&gt;
&lt;p&gt;This examples are in Markdown. I'm not sure how it will look using reStructuredText. Keep in mind that Markdown allows you to add HTML tags. If you can create the same HTML syntax produced by Markdown using reStructuredText it will work.&lt;/p&gt;
&lt;p&gt;You can take a look in the &lt;a href="https://raw.githubusercontent.com/alexandrevicenzi/blog/master/content/News/flex-pelican-theme.md"&gt;source code of this page&lt;/a&gt; to know how to create rich examples.&lt;/p&gt;
&lt;p&gt;Flex is my first attempt creating themes and there's no IE testing yet. You can check the &lt;a href="https://github.com/alexandrevicenzi/flex"&gt;sources here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;As soon as possible I will add this project to Pelican gallery.&lt;/p&gt;
&lt;p&gt;Drop a comment if you like this theme, or &lt;a href="https://github.com/alexandrevicenzi/Flex/issues"&gt;open an issue&lt;/a&gt; if you need a feature or found a bug.&lt;/p&gt;</content><category term="News"></category><category term="pelican"></category><category term="python"></category><category term="theme"></category></entry></feed>

View file

@ -1,289 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Today, Flex theme received a small update. Some bugs are now fixed. I think the most important fixes are: Bug in CSS with placement of &#34;Newer Posts&#34; button Posts preview on main page Hope you enjoy this theme." />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 1.1.1"/>
<meta property="og:description" content="Today, Flex theme received a small update. Some bugs are now fixed. I think the most important fixes are: Bug in CSS with placement of &#34;Newer Posts&#34; button Posts preview on main page Hope you enjoy this theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2016-02-27 08:00:00-05:00"/>
<meta property="article:modified_time" content="2016-02-27 08:00:00-05:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 1.1.1</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-1-1-1">Flex 1.1.1</h1>
<p>
Posted on February 27, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p>Today, <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received a small update.</p>
<p>Some bugs are now fixed. I think the most important fixes are:</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/21">Bug in CSS with placement of "Newer Posts" button</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/14">Posts preview on main page</a></li>
</ul>
<p>Hope you enjoy this theme.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,293 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="I&#39;ve made the Flex theme a time ago. For my surprise, many people are using it. I feel thankful for this. So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 1.1.0"/>
<meta property="og:description" content="I&#39;ve made the Flex theme a time ago. For my surprise, many people are using it. I feel thankful for this. So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-1-1.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2015-10-07 08:00:00-04:00"/>
<meta property="article:modified_time" content="2015-10-07 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 1.1.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-1-1">Flex 1.1.0</h1>
<p>
Posted on October 07, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p>I've made the <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> a time ago. For my surprise, many people are using it. I feel thankful for this.</p>
<p>So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release the <a href="https://github.com/alexandrevicenzi/Flex/releases/tag/v1.1">second version</a> of Flex (aka v1.1).</p>
<p>This new version doesn't include nothing so special, just some bug fix and a new setting to allow custom CSS stylesheets.</p>
<p>The new custom setting can be used like this:</p>
<div class="highlight"><pre><span></span><code><span class="n">EXTRA_PATH_METADATA</span> <span class="o">=</span> <span class="p">{</span>
<span class="s1">&#39;extra/custom.css&#39;</span><span class="p">:</span> <span class="p">{</span><span class="s1">&#39;path&#39;</span><span class="p">:</span> <span class="s1">&#39;static/custom.css&#39;</span><span class="p">},</span>
<span class="p">}</span>
<span class="n">CUSTOM_CSS</span> <span class="o">=</span> <span class="s1">&#39;static/custom.css&#39;</span>
</code></pre></div>
<p>I would like to thank all who helped in this new version.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,293 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme received some new features. Version 1.2.0 include new features and some updates. For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration. Update font-awesome Added browser color configuration Related posts More Pygments Styles …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 1.2.0"/>
<meta property="og:description" content="Flex theme received some new features. Version 1.2.0 include new features and some updates. For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration. Update font-awesome Added browser color configuration Related posts More Pygments Styles …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2016-06-10 08:00:00-04:00"/>
<meta property="article:modified_time" content="2016-06-10 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 1.2.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-1-2-0">Flex 1.2.0</h1>
<p>
Posted on June 10, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received some new features. Version 1.2.0 include new features and some updates.</p>
<p>For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/31">Update font-awesome</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/34">Added browser color configuration</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/27">Related posts</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/38">More Pygments Styles</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/16">Add StatusCake RUM support</a></li>
</ul>
<p>If you need help or want to report a bug, please open an <a href="https://github.com/alexandrevicenzi/Flex/issues">issue</a>.</p>
<p>Hope you enjoy this theme.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,305 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme 2.0 comes with new features. In fact there are two new features. The biggest change is localization support. Yes, Flex now can be translated into your language. You can read about here. The biggest challege was to create a way to translate without breaking old versions. If …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 2.0"/>
<meta property="og:description" content="Flex theme 2.0 comes with new features. In fact there are two new features. The biggest change is localization support. Yes, Flex now can be translated into your language. You can read about here. The biggest challege was to create a way to translate without breaking old versions. If …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-2-0.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2016-09-13 08:00:00-04:00"/>
<meta property="article:modified_time" content="2016-09-13 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 2.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-2-0">Flex 2.0</h1>
<p>
Posted on September 13, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.0 comes with new features.
In fact there are two new features.</p>
<p>The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>The biggest challege was to create a way to translate without breaking old versions.
If you use English it changes nothing for you.
But if you want to use translation you need to add new lines to your pelican configuration file.</p>
<p>Here is a small example to use Flex in another language.</p>
<div class="highlight"><pre><span></span><code><span class="c1"># Enable i18n plugin, probably you already have some others here.</span>
<span class="n">PLUGINS</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;i18n_subsites&#39;</span><span class="p">]</span>
<span class="c1"># Enable Jinja2 i18n extension used to parse translations.</span>
<span class="n">JINJA_EXTENSIONS</span> <span class="o">=</span> <span class="p">[</span><span class="s1">&#39;jinja2.ext.i18n&#39;</span><span class="p">]</span>
<span class="c1"># Default theme language.</span>
<span class="n">I18N_TEMPLATES_LANG</span> <span class="o">=</span> <span class="s1">&#39;en&#39;</span>
<span class="c1"># Your language.</span>
<span class="n">DEFAULT_LANG</span> <span class="o">=</span> <span class="s1">&#39;de&#39;</span>
<span class="n">OG_LOCALE</span> <span class="o">=</span> <span class="s1">&#39;de_DE&#39;</span>
<span class="n">LOCALE</span> <span class="o">=</span> <span class="s1">&#39;de_DE&#39;</span>
</code></pre></div>
<p>Last but not least, Flex supports the feature "X minute read", similar <a href="https://medium.com/">Medium</a>.</p>
<p>Hope you enjoy this version.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,303 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme 2.1.0 comes with features that I was delaying for so long. Flex 2.1.0 adds support for Google AdSense. If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 2.1.0"/>
<meta property="og:description" content="Flex theme 2.1.0 comes with features that I was delaying for so long. Flex 2.1.0 adds support for Google AdSense. If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-2-1.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2016-11-16 08:00:00-05:00"/>
<meta property="article:modified_time" content="2016-11-16 08:00:00-05:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 2.1.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-2-1">Flex 2.1.0</h1>
<p>
Posted on November 16, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.1.0 comes with features that I was delaying for so long.</p>
<p>Flex 2.1.0 adds support for Google AdSense.</p>
<p>If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads.</p>
<p>Flex has six places for ads. Google recommends up to 3 ads per page. There is ads page only, and banner that appears on all pages.
Below you can see how to enable ads in your pelican configuration file.</p>
<div class="highlight"><pre><span></span><code><span class="n">GOOGLE_ADSENSE</span> <span class="o">=</span> <span class="p">{</span>
<span class="s1">&#39;ca_id&#39;</span><span class="p">:</span> <span class="s1">&#39;ca-pub-1234567890&#39;</span><span class="p">,</span> <span class="c1"># Your AdSense ID</span>
<span class="s1">&#39;page_level_ads&#39;</span><span class="p">:</span> <span class="kc">True</span><span class="p">,</span> <span class="c1"># Allow Page Level Ads (mobile)</span>
<span class="s1">&#39;ads&#39;</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">&#39;aside&#39;</span><span class="p">:</span> <span class="s1">&#39;1234561&#39;</span><span class="p">,</span> <span class="c1"># Side bar banner (all pages)</span>
<span class="s1">&#39;main_menu&#39;</span><span class="p">:</span> <span class="s1">&#39;1234562&#39;</span><span class="p">,</span> <span class="c1"># Banner before main menu (all pages)</span>
<span class="s1">&#39;index_top&#39;</span><span class="p">:</span> <span class="s1">&#39;1234563&#39;</span><span class="p">,</span> <span class="c1"># Banner after main menu (index only)</span>
<span class="s1">&#39;index_bottom&#39;</span><span class="p">:</span> <span class="s1">&#39;1234564&#39;</span><span class="p">,</span> <span class="c1"># Banner before footer (index only)</span>
<span class="s1">&#39;article_top&#39;</span><span class="p">:</span> <span class="s1">&#39;1234565&#39;</span><span class="p">,</span> <span class="c1"># Banner after article title (article only)</span>
<span class="s1">&#39;article_bottom&#39;</span><span class="p">:</span> <span class="s1">&#39;1234566&#39;</span><span class="p">,</span> <span class="c1"># Banner after article content (article only)</span>
<span class="p">}</span>
<span class="p">}</span>
</code></pre></div>
<p>Version 2.1.0 also comes with new translations. You can see available translations <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>Hope you enjoy this version.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,286 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme 2.2.0 comes with bug fixes and improvements. There are new Pygments templates and also a few code highlight fixes. There&#39;s also new social icons. Version 2.2.0 also comes with new translations. You can see available translations here. Hope you enjoy this version." />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 2.2.0"/>
<meta property="og:description" content="Flex theme 2.2.0 comes with bug fixes and improvements. There are new Pygments templates and also a few code highlight fixes. There&#39;s also new social icons. Version 2.2.0 also comes with new translations. You can see available translations here. Hope you enjoy this version."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-2-2.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2018-06-24 08:00:00-04:00"/>
<meta property="article:modified_time" content="2018-06-24 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 2.2.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-2-2">Flex 2.2.0</h1>
<p>
Posted on June 24, 2018 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.2.0 comes with bug fixes and improvements.</p>
<p>There are new Pygments templates and also a few code highlight fixes. There's also new social icons.</p>
<p>Version 2.2.0 also comes with new translations. You can see available translations <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>Hope you enjoy this version.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,299 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme 2.3.0 comes with bug fixes and a few improvements. New features include: Dark Theme version Isso comments support Tipue Search support Update translations Fixes include: New social icons Layout fixes Compatibility with newer Pelican For more details check our Wiki. I know, it has been a …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 2.3.0"/>
<meta property="og:description" content="Flex theme 2.3.0 comes with bug fixes and a few improvements. New features include: Dark Theme version Isso comments support Tipue Search support Update translations Fixes include: New social icons Layout fixes Compatibility with newer Pelican For more details check our Wiki. I know, it has been a …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-2-3.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2020-09-19 08:00:00-04:00"/>
<meta property="article:modified_time" content="2020-09-19 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 2.3.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-2-3">Flex 2.3.0</h1>
<p>
Posted on September 19, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.3.0 comes with bug fixes and a few improvements.</p>
<p>New features include:</p>
<ul>
<li>Dark Theme version</li>
<li>Isso comments support</li>
<li>Tipue Search support</li>
<li>Update translations</li>
</ul>
<p>Fixes include:</p>
<ul>
<li>New social icons</li>
<li>Layout fixes</li>
<li>Compatibility with newer Pelican</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>I know, it has been a long time since the last version, but it's out now.</p>
<p>Hope you enjoy this version.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,290 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme 2.4.0 comes with minor changes. Updated translations (Italian, Spanish, Portuguese, German, Turkish) Include settings for canonical URLS (#238) Remove pelican plugins dependency (#255) For more details check our Wiki. Hope you enjoy this version." />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 2.4.0"/>
<meta property="og:description" content="Flex theme 2.4.0 comes with minor changes. Updated translations (Italian, Spanish, Portuguese, German, Turkish) Include settings for canonical URLS (#238) Remove pelican plugins dependency (#255) For more details check our Wiki. Hope you enjoy this version."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-2-4.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2020-12-01 08:00:00-05:00"/>
<meta property="article:modified_time" content="2020-12-01 08:00:00-05:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 2.4.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-2-4">Flex 2.4.0</h1>
<p>
Posted on December 01, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.4.0 comes with minor changes.</p>
<ul>
<li>Updated translations (Italian, Spanish, Portuguese, German, Turkish)</li>
<li>Include settings for canonical URLS (<a href="https://github.com/alexandrevicenzi/Flex/issues/238">#238</a>)</li>
<li>Remove pelican plugins dependency (<a href="https://github.com/alexandrevicenzi/Flex/issues/255">#255</a>)</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>Hope you enjoy this version.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,301 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex theme 2.5.0 comes with minor fixes and big improvments. Added support for Pelican Search plugin as Tipue Search is deprecated Tipue Search support will be removed in Flex 3.0 Added support for SEO plugin Added support for Series plugin Added support for Microsoft Clarity Added support …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex 2.5.0"/>
<meta property="og:description" content="Flex theme 2.5.0 comes with minor fixes and big improvments. Added support for Pelican Search plugin as Tipue Search is deprecated Tipue Search support will be removed in Flex 3.0 Added support for SEO plugin Added support for Series plugin Added support for Microsoft Clarity Added support …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme-update-2-5.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2022-08-31 08:00:00-04:00"/>
<meta property="article:modified_time" content="2022-08-31 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex 2.5.0</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme-update-2-5">Flex 2.5.0</h1>
<p>
Posted on August 31, 2022 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.5.0 comes with minor fixes and big improvments.</p>
<ul>
<li>Added support for <a href="https://github.com/pelican-plugins/search">Pelican Search</a> plugin as <a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search">Tipue Search</a> is deprecated<ul>
<li>Tipue Search support will be removed in Flex 3.0</li>
</ul>
</li>
<li>Added support for <a href="https://github.com/pelican-plugins/seo">SEO</a> plugin</li>
<li>Added support for <a href="https://github.com/pelican-plugins/series">Series</a> plugin</li>
<li>Added support for <a href="https://clarity.microsoft.com/">Microsoft Clarity</a></li>
<li>Added support for Google Analytics v4</li>
<li>Updated translations</li>
<li>Improved styles for Table of Contents and Figure with captions, as well other small fixes</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>The next Flex version will be 3.0 and it will bring a few changes to the theme structure, introducing a few configuration changes.
Over the years many features were added to Flex theme and some with not much care.
Because of this, code cleanup is needed to allow theme maintenance in the future.
Pelican also changed, and some features present in Flex are now available in Pelican or as new plugins. It's time to review everything done so far.</p>
<p>Hope you enjoy this version and stay tuned for Flex 3.0.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,367 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="I just start a new fresh blog using Pelican. Sometimes choosing a theme for a new site is something difficult that takes time. In the Pelican theme gallery, I couldn&#39;t find anything that I really liked to feet all my needs. So in the first time of the history, I …" />
<meta name="keywords" content="pelican, python, theme">
<meta property="og:site_name" content="Flex"/>
<meta property="og:title" content="Flex: Responsive Pelican theme"/>
<meta property="og:description" content="I just start a new fresh blog using Pelican. Sometimes choosing a theme for a new site is something difficult that takes time. In the Pelican theme gallery, I couldn&#39;t find anything that I really liked to feet all my needs. So in the first time of the history, I …"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me/flex-pelican-theme.html"/>
<meta property="og:type" content="article"/>
<meta property="article:published_time" content="2015-07-22 08:00:00-04:00"/>
<meta property="article:modified_time" content="2015-07-22 08:00:00-04:00"/>
<meta property="article:author" content="https://flex.alxd.me/author/alexandre-vicenzi.html">
<meta property="article:section" content="News"/>
<meta property="article:tag" content="pelican"/>
<meta property="article:tag" content="python"/>
<meta property="article:tag" content="theme"/>
<meta property="og:image" content="https://flex.alxd.me/images/flex-screenshot.png">
<title>Flex &ndash; Flex: Responsive Pelican theme</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="flex-pelican-theme">Flex: Responsive Pelican theme</h1>
<p>
Posted on July 22, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<p>I just start a new fresh blog using <a href="http://getpelican.com">Pelican</a>. Sometimes choosing a theme for a new site is something difficult that takes time.</p>
<p>In the Pelican <a href="http://www.pelicanthemes.com/">theme gallery</a>, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I choose to create my own theme. I never did this before.</p>
<p>Creating a theme for Pelican is quite easy, unlike Wordpress. You can take a look in the <a href="https://github.com/alexandrevicenzi/Flex">Source Code of Flex</a>.</p>
<p>But how Flex looks like? Well, you can see <a href="images/flex-screenshot.png">this screenshot</a>, but you already know how it looks like, you're looking at it. :D</p>
<p>I really care about SEO and integrations with Facebook, Google Plus and other social networks, so this theme offers some features:</p>
<ul>
<li>Mobile First</li>
<li>Responsive</li>
<li>Semantic</li>
<li>SEO Best Practices</li>
<li>Open Graph</li>
<li>Rich Snippets (JSON-LD)</li>
</ul>
<p>Maybe these features are not fully optimized, but I'll improve.</p>
<p>Flex also offers integrations with multiple services.</p>
<blockquote>
<p><strong>Tip:</strong></p>
<p>You can easyly integrate with:</p>
<ul>
<li>AddThis</li>
<li>Disqus</li>
<li>Google Analytics</li>
<li>Google Tag Manager</li>
<li>StatusCake</li>
</ul>
</blockquote>
<p>Flex is a theme built by a developer for developers, but of course, you can use for any purpose. In this scenario, Flex is able to create good styles for coding, outputs and samples.</p>
<p>If you need to show some program output you can use <code>samp</code> tag to look like this:</p>
<p><samp>Done: Processed 4 articles, 0 drafts, 2 pages and 0 hidden pages in 0.22 seconds.</samp></p>
<p>Or if you want multiple lines:</p>
<p><samp>
total used free shared buffers cached
Mem: 5866 4674 1192 386 0 2404
-/+ buffers/cache: 2269 3596
Swap: 20480 1267 19213
</samp></p>
<p>If you like to share code snippets, you can take advantage of <a href="http://pygments.org/">Pygments</a> syntax highlighting:</p>
<div class="highlight"><pre><span></span><code><span class="c1">// Foo</span>
<span class="kd">var</span><span class="w"> </span><span class="nx">bar</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="mf">0</span><span class="p">;</span>
</code></pre></div>
<div class="highlight"><pre><span></span><code><span class="k">class</span> <span class="nc">Foo</span><span class="p">(</span><span class="nb">object</span><span class="p">):</span>
<span class="k">def</span> <span class="fm">__init__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">bar</span><span class="p">)</span>
<span class="bp">self</span><span class="o">.</span><span class="n">bar</span> <span class="o">=</span> <span class="n">bar</span>
</code></pre></div>
<div class="highlight"><pre><span></span><code>ls<span class="w"> </span>*.jpg<span class="w"> </span><span class="p">|</span><span class="w"> </span>xargs<span class="w"> </span>-n1<span class="w"> </span>-i<span class="w"> </span>cp<span class="w"> </span><span class="o">{}</span><span class="w"> </span>/external-hard-drive/directory
</code></pre></div>
<p><strong>Note:</strong> The code block looks like GitHubs colors.</p>
<p>You can add tables too:</p>
<table>
<thead>
<tr>
<th>Item</th>
<th>Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Computer</td>
<td>$1600</td>
</tr>
<tr>
<td>Phone</td>
<td>$12</td>
</tr>
<tr>
<td>Pipe</td>
<td>$1</td>
</tr>
</tbody>
</table>
<p>and how heading looks like?</p>
<h1>This is heading 1</h1>
<h2>This is heading 2</h2>
<h3>This is heading 3</h3>
<h4>This is heading 4</h4>
<h5>This is heading 5</h5>
<h6>This is heading 6</h6>
<p>This examples are in Markdown. I'm not sure how it will look using reStructuredText. Keep in mind that Markdown allows you to add HTML tags. If you can create the same HTML syntax produced by Markdown using reStructuredText it will work.</p>
<p>You can take a look in the <a href="https://raw.githubusercontent.com/alexandrevicenzi/blog/master/content/News/flex-pelican-theme.md">source code of this page</a> to know how to create rich examples.</p>
<p>Flex is my first attempt creating themes and there's no IE testing yet. You can check the <a href="https://github.com/alexandrevicenzi/flex">sources here</a>.</p>
<p>As soon as possible I will add this project to Pelican gallery.</p>
<p>Drop a comment if you like this theme, or <a href="https://github.com/alexandrevicenzi/Flex/issues">open an issue</a> if you need a feature or found a bug.</p>
</div>
<div class="tag-cloud">
<p>
<a href="https://flex.alxd.me/tag/pelican.html">pelican</a>
<a href="https://flex.alxd.me/tag/python.html">python</a>
<a href="https://flex.alxd.me/tag/theme.html">theme</a>
</p>
</div>
<div class="center social-share">
<p>Like this article? Share it with your friends!</p>
<div class="addthis_native_toolbox"></div>
<div class="addthis_sharing_toolbox"></div>
<div class="addthis_inline_share_toolbox"></div>
</div>
<div class="addthis_relatedposts_inline"></div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="4843941849"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<!-- Disqus -->
<div id="disqus_thread"></div>
<script type="text/javascript">
var disqus_shortname = 'flex-pelican';
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>
Please enable JavaScript to view comments.
</noscript>
<!-- End Disqus -->
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

53
gulpfile.js Normal file
View file

@ -0,0 +1,53 @@
var gulp = require('gulp'),
less = require('gulp-less'),
rename = require('gulp-rename'),
cssnano = require('gulp-cssnano'),
uglify = require('gulp-uglify');
gulp.task('less', function () {
return gulp.src([
'./static/stylesheet/dark-theme.less',
'./static/stylesheet/style.less',
])
.pipe(less())
.pipe(cssnano())
.pipe(rename({
extname: '.min.css'
}))
.pipe(gulp.dest('./static/stylesheet'));
});
gulp.task('uglify', function () {
return gulp.src('./static/dark-theme/dark-theme.js')
.pipe(uglify())
.pipe(rename({
extname: '.min.js'
}))
.pipe(gulp.dest('./static/dark-theme'));
});
gulp.task('cp', function () {
return gulp.src('./node_modules/font-awesome/**/*.{min.css,otf,eot,svg,ttf,woff,woff2}')
.pipe(gulp.dest('./static/font-awesome'));
});
gulp.task('pygments', function () {
return gulp.src(['./static/pygments/*.css', '!./static/pygments/*min.css'])
.pipe(cssnano())
.pipe(rename({
extname: '.min.css'
}))
.pipe(gulp.dest('./static/pygments'));
});
gulp.task('watch-less', function () {
return gulp.watch('static/stylesheet/*.less', gulp.task('less'));
});
gulp.task('watch-js', function () {
return gulp.watch('static/dark-theme/!(*.min).js', gulp.task('uglify'));
})
gulp.task('default', gulp.series(['less', 'uglify', 'cp', 'pygments']));
gulp.task('watch', gulp.series('default', gulp.parallel('watch-less', 'watch-js')));

View file

@ -1,460 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">Flex 2.5.0</a></h2>
<p>
Posted on August 31, 2022 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.5.0 comes with minor fixes and big improvments.</p>
<ul>
<li>Added support for <a href="https://github.com/pelican-plugins/search">Pelican Search</a> plugin as <a href="https://github.com/getpelican/pelican-plugins/tree/master/tipue_search">Tipue Search</a> is deprecated<ul>
<li>Tipue Search support will be removed in Flex 3.0</li>
</ul>
</li>
<li>Added support for <a href="https://github.com/pelican-plugins/seo">SEO</a> plugin</li>
<li>Added support for <a href="https://github.com/pelican-plugins/series">Series</a> plugin</li>
<li>Added support for <a href="https://clarity.microsoft.com/">Microsoft Clarity</a></li>
<li>Added support …</li></ul></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-5.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-4.html">Flex 2.4.0</a></h2>
<p>
Posted on December 01, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.4.0 comes with minor changes.</p>
<ul>
<li>Updated translations (Italian, Spanish, Portuguese, German, Turkish)</li>
<li>Include settings for canonical URLS (<a href="https://github.com/alexandrevicenzi/Flex/issues/238">#238</a>)</li>
<li>Remove pelican plugins dependency (<a href="https://github.com/alexandrevicenzi/Flex/issues/255">#255</a>)</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>Hope you enjoy this version.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">Flex 2.3.0</a></h2>
<p>
Posted on September 19, 2020 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.3.0 comes with bug fixes and a few improvements.</p>
<p>New features include:</p>
<ul>
<li>Dark Theme version</li>
<li>Isso comments support</li>
<li>Tipue Search support</li>
<li>Update translations</li>
</ul>
<p>Fixes include:</p>
<ul>
<li>New social icons</li>
<li>Layout fixes</li>
<li>Compatibility with newer Pelican</li>
</ul>
<p>For more details check our <a href="https://github.com/alexandrevicenzi/Flex/wiki">Wiki</a>.</p>
<p>I know, it has been a …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-3.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-2.html">Flex 2.2.0</a></h2>
<p>
Posted on June 24, 2018 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.2.0 comes with bug fixes and improvements.</p>
<p>There are new Pygments templates and also a few code highlight fixes. There's also new social icons.</p>
<p>Version 2.2.0 also comes with new translations. You can see available translations <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>Hope you enjoy this version.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">Flex 2.1.0</a></h2>
<p>
Posted on November 16, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.1.0 comes with features that I was delaying for so long.</p>
<p>Flex 2.1.0 adds support for Google AdSense.</p>
<p>If you choose wisely, ads are a way to win some money, but if not, you may loose your users due to excessive use of ads …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-1.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">Flex 2.0</a></h2>
<p>
Posted on September 13, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.0 comes with new features.
In fact there are two new features.</p>
<p>The biggest change is localization support.
Yes, Flex now can be translated into your language.
You can read about <a href="https://github.com/alexandrevicenzi/Flex/wiki/Translations">here</a>.</p>
<p>The biggest challege was to create a way to translate without breaking old versions.
If …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-2-0.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">Flex 1.2.0</a></h2>
<p>
Posted on June 10, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received some new features. Version 1.2.0 include new features and some updates.</p>
<p>For developers there are new color styles for your code. For general purpose there is RUM support, related posts and browser color configuration.</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/31">Update font-awesome</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/34">Added browser color configuration</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/pull/27">Related posts</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/38">More Pygments Styles …</a></li></ul></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-1-2-0.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-1-1.html">Flex 1.1.1</a></h2>
<p>
Posted on February 27, 2016 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>Today, <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received a small update.</p>
<p>Some bugs are now fixed. I think the most important fixes are:</p>
<ul>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/21">Bug in CSS with placement of "Newer Posts" button</a></li>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/14">Posts preview on main page</a></li>
</ul>
<p>Hope you enjoy this theme.</p></div>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">Flex 1.1.0</a></h2>
<p>
Posted on October 07, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>I've made the <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> a time ago. For my surprise, many people are using it. I feel thankful for this.</p>
<p>So, after some new blogs with this theme, I got issues and PRs on GitHub from these new users. This weekend I had some free time and I release …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme-update-1-1.html">
Continue reading
</a>
</div>
<hr />
</article>
<article>
<header>
<h2><a href="https://flex.alxd.me/flex-pelican-theme.html">Flex: Responsive Pelican theme</a></h2>
<p>
Posted on July 22, 2015 in <a href="https://flex.alxd.me/category/news.html">News</a>
</p>
</header>
<div>
<div><p>I just start a new fresh blog using <a href="http://getpelican.com">Pelican</a>. Sometimes choosing a theme for a new site is something difficult that takes time.</p>
<p>In the Pelican <a href="http://www.pelicanthemes.com/">theme gallery</a>, I couldn't find anything that I really liked to feet all my needs. So in the first time of the history, I …</p></div>
<br>
<a class="btn"
href="https://flex.alxd.me/flex-pelican-theme.html">
Continue reading
</a>
</div>
</article>
<div class="pagination">
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-responsive"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="1124188687"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

34
package.json Normal file
View file

@ -0,0 +1,34 @@
{
"name": "flex",
"version": "2.3.0",
"description": "A minimalist Pelican theme",
"main": "gulpfile.js",
"directories": {
"test": "tests"
},
"scripts": {
"test": "source venv/bin/activate && pip install pelican markdown && pelican -s tests/pelicanconf.py && deactivate",
"build": "gulp default",
"watch": "gulp watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/alexandrevicenzi/Flex.git"
},
"keywords": [
"pelican"
],
"author": "Alexandre Vicenzi",
"license": "MIT",
"bugs": {
"url": "https://github.com/alexandrevicenzi/Flex/issues"
},
"homepage": "https://github.com/alexandrevicenzi/Flex#readme",
"dependencies": {
"gulp": "^4.0.2",
"gulp-cssnano": "^2.1.3",
"gulp-less": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-uglify": "^3.0.2"
}
}

View file

@ -1,226 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; About</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="about">About</h1>
</header>
<div>
<p>Flex - The minimalist Pelican theme.</p> </div>
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

View file

@ -1,226 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="robots" content="index, follow" />
<link href="https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,400;0,700;1,400&family=Source+Sans+Pro:ital,wght@0,300;0,400;0,700;1,400&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/stylesheet/style.min.css">
<link id="dark-theme-style" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/stylesheet/dark-theme.min.css">
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: dark)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link id="pygments-light-theme" rel="stylesheet" type="text/css"
media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)"
href="https://flex.alxd.me/theme/pygments/monokai.min.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/fontawesome.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/brands.css">
<link rel="stylesheet" type="text/css" href="https://flex.alxd.me/theme/font-awesome/css/solid.css">
<!-- Chrome, Firefox OS and Opera -->
<meta name="theme-color" content="#333333">
<!-- Windows Phone -->
<meta name="msapplication-navbutton-color" content="#333333">
<!-- iOS Safari -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<!-- Microsoft EDGE -->
<meta name="msapplication-TileColor" content="#333333">
<link href="https://flex.alxd.me/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
<script type="text/javascript">
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55543164-6', 'auto');
ga('send', 'pageview');
</script>
<meta name="author" content="Alexandre Vicenzi" />
<meta name="description" content="Flex - The minimalist Pelican theme." />
<meta property="og:site_name" content="Flex"/>
<meta property="og:type" content="blog"/>
<meta property="og:title" content="Flex"/>
<meta property="og:description" content="Flex - The minimalist Pelican theme."/>
<meta property="og:locale" content="en_US"/>
<meta property="og:url" content="https://flex.alxd.me"/>
<title>Flex &ndash; Contact</title>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-6625957038449899",
enable_page_level_ads: true
});
</script>
</head>
<body >
<aside>
<div>
<a href="https://flex.alxd.me/">
<img src="https://flex.alxd.me/theme/img/profile.png" alt="Flex" title="Flex">
</a>
<h1>
<a href="https://flex.alxd.me/">Flex</a>
</h1>
<p>The minimalist Pelican theme</p>
<nav>
<ul class="list">
<li>
<a target="_self"
href="https://flex.alxd.me/pages/about.html">
About
</a>
</li>
<li>
<a target="_self"
href="https://flex.alxd.me/pages/contact.html">
Contact
</a>
</li>
</ul>
</nav>
<ul class="social">
<li>
<a class="sc-github"
href="https://github.com/alexandrevicenzi/Flex"
target="_blank">
<i class="fa-brands fa-github"></i>
</a>
</li>
<li>
<a class="sc-rss"
href="/blog/feeds/all.atom.xml"
target="_blank">
<i class="fa-solid fa-rss"></i>
</a>
</li>
</ul>
</div>
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle ads-aside"
data-ad-client="ca-pub-6625957038449899"
data-ad-slot="8752710348"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</aside>
<main>
<nav>
<a href="https://flex.alxd.me/">Home</a>
<a href="/archives.html">Archives</a>
<a href="/categories.html">Categories</a>
<a href="/tags.html">Tags</a>
<a href="https://flex.alxd.me/feeds/all.atom.xml">Atom</a>
</nav>
<article class="single">
<header>
<h1 id="contact">Contact</h1>
</header>
<div>
<p>If you want to contact about typos, grammar and other errors in this blog, you can open an issue <a href="https://github.com/alexandrevicenzi/Flex/issues">here</a>.</p> </div>
</article>
<footer>
<p>
&copy; 2023 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/deed.en_US" target="_blank">Creative Commons Attribution-ShareAlike 4.0 International License</a>
</p>
<p>
Built with <a href="http://getpelican.com" target="_blank">Pelican</a> using <a href="http://bit.ly/flex-pelican" target="_blank">Flex</a> theme
<span class="footer-separator">|</span>
Switch to the <a href="javascript:void(0)" onclick="theme.switch(`dark`)">dark</a> | <a href="javascript:void(0)" onclick="theme.switch(`light`)">light</a> | <a href="javascript:void(0)" onclick="theme.switch(`browser`)">browser</a> theme
<script id="dark-theme-script"
src="https://flex.alxd.me/theme/dark-theme/dark-theme.min.js"
data-enable-auto-detect-theme="True"
data-default-theme="light"
type="text/javascript">
</script>
</p><p>
<a rel="license"
href="http://creativecommons.org/licenses/by-sa/4.0/"
target="_blank">
<img alt="Creative Commons License"
title="Creative Commons License"
style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/4.0/80x15.png"
width="80"
height="15"/>
</a>
</p></footer> </main>
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "Blog",
"name": " Flex ",
"url" : "https://flex.alxd.me",
"image": "",
"description": "Flex - The minimalist Pelican theme."
}
</script><script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55adbb025d4f7e55" async="async"></script>
<a href="https://github.com/alexandrevicenzi/Flex" target="_blank" class="github-corner" aria-label="View source on Github">
<svg width="80"
height="80"
viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;"
aria-hidden="true">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px;"
class="octo-arm">
</path>
<path d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body">
</path>
</svg>
</a>
</body>
</html>

17
pygments/README.md Normal file
View file

@ -0,0 +1,17 @@
# Pygments CSS generator
This is the correct way to generate all pygments CSS files.
## How to generate CSSs files
Before run `generate.py` remember to install all requirements.
This can done with `pip install -r requirements.txt`.
After this you can run `./generate.py`. Remember to run inside this folder.
Because it uses relative path to place inside `static/pygments` folder.
After that, go back to the Flex path and run `gulp pygments` to generate all `min.css` files.
## How to add new styles?
[See wiki](https://github.com/alexandrevicenzi/Flex/wiki/Code-Highlight#how-to-add-new-styles).

38
pygments/generate.py Executable file
View file

@ -0,0 +1,38 @@
#!/usr/bin/env python
import os
from pygments.styles import get_all_styles
from pygments.formatters.html import HtmlFormatter
PYGMENTS_PATH = './../static/pygments'
def export():
if not os.path.exists(PYGMENTS_PATH):
os.makedirs(PYGMENTS_PATH)
styles = list(get_all_styles())
for style in styles:
print('Generating CSS for %s' % style)
opts = {
'style': style,
'noclasses': False,
'nobackground': False,
}
path = os.path.join(PYGMENTS_PATH, '%s.css' % style)
formatter = HtmlFormatter(**opts)
md_css = formatter.get_style_defs('.highlight')
rst_css = formatter.get_style_defs('.literal-block')
with open(path, 'w+') as f:
f.write(md_css)
f.write('\n')
f.write(rst_css)
if __name__ == '__main__':
export()

View file

@ -0,0 +1,2 @@
Pygments
pygments-style-github

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 279 KiB

View file

Before

Width:  |  Height:  |  Size: 435 B

After

Width:  |  Height:  |  Size: 435 B

View file

Before

Width:  |  Height:  |  Size: 444 B

After

Width:  |  Height:  |  Size: 444 B

View file

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 429 B

View file

Before

Width:  |  Height:  |  Size: 428 B

After

Width:  |  Height:  |  Size: 428 B

View file

Before

Width:  |  Height:  |  Size: 429 B

After

Width:  |  Height:  |  Size: 429 B

View file

Before

Width:  |  Height:  |  Size: 410 B

After

Width:  |  Height:  |  Size: 410 B

View file

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Some files were not shown because too many files have changed in this diff Show more