<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></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry><entry><title>Flex 2.1.0</title><linkhref="http://localhost:8000/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:localhost,2016-11-16:/flex-pelican-theme-update-2-1.html</id><summarytype="html"><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></summary><contenttype="html"><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>
<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>
<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></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry><entry><title>Flex 2.0</title><linkhref="http://localhost:8000/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:localhost,2016-09-13:/flex-pelican-theme-update-2-0.html</id><summarytype="html"><p><a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> 2.0 comes with new features.
<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></summary><contenttype="html"><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><span class="c1"># Enable i18n plugin, probably you already have some others here.</span>
<p>Hope you enjoy this version.</p></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry><entry><title>Flex 1.2.0</title><linkhref="http://localhost:8000/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:localhost,2016-06-10:/flex-pelican-theme-update-1-2-0.html</id><summarytype="html"><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>
<li><a href="https://github.com/alexandrevicenzi/Flex/issues/38">More Pygments Styles …</a></li></ul></summary><contenttype="html"><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>
<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></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry><entry><title>Flex 1.1.1</title><linkhref="http://localhost:8000/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:localhost,2016-02-27:/flex-pelican-theme-update-1-1-1.html</id><contenttype="html"><p>Today, <a href="https://github.com/alexandrevicenzi/Flex">Flex theme</a> received a small update.</p>
<p>Hope you enjoy this theme.</p></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry><entry><title>Flex 1.1.0</title><linkhref="http://localhost:8000/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:localhost,2015-10-07:/flex-pelican-theme-update-1-1.html</id><summarytype="html"><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></summary><contenttype="html"><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>
<p>I would like to thank all who helped in this new version.</p></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry><entry><title>Flex: Responsive Pelican theme</title><linkhref="http://localhost:8000/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:localhost,2015-07-22:/flex-pelican-theme.html</id><summarytype="html"><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></summary><contenttype="html"><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>
<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>
<p><strong>Note:</strong> The code block looks like GitHub’s 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></content><categoryterm="News"></category><categoryterm="pelican"></category><categoryterm="python"></category><categoryterm="theme"></category></entry></feed>