Update docs
This commit is contained in:
parent
533bc1760e
commit
8e4a88edde
131 changed files with 17402 additions and 4778 deletions
|
@ -12,12 +12,22 @@
|
|||
|
||||
<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/stylesheet/style.min.css">
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/pygments/monokai.min.css">
|
||||
<link id="dark-theme-style" rel="stylesheet" type="text/css"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
href="http://flex.alxd.me/blog/theme/stylesheet/dark-theme.min.css">
|
||||
|
||||
<link id="pygments-dark-theme" rel="stylesheet" type="text/css"
|
||||
media="(prefers-color-scheme: dark)"
|
||||
href="http://flex.alxd.me/blog/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="http://flex.alxd.me/blog/theme/pygments/monokai.min.css">
|
||||
|
||||
|
||||
<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/font-awesome/css/fontawesome.css">
|
||||
<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/font-awesome/css/brands.css">
|
||||
<link rel="stylesheet" type="text/css" href="http://flex.alxd.me/blog/theme/font-awesome/css/solid.css">
|
||||
|
||||
<link href="http://flex.alxd.me/blog/static/custom.css" rel="stylesheet">
|
||||
|
||||
<link href="http://flex.alxd.me/blog/feeds/all.atom.xml" type="application/atom+xml" rel="alternate" title="Flex Atom">
|
||||
|
||||
|
@ -74,20 +84,35 @@
|
|||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<body >
|
||||
<aside>
|
||||
<div>
|
||||
<a href="http://flex.alxd.me/blog">
|
||||
<img src="http://flex.alxd.me/blog/theme/img/profile.png" alt="Flex" title="Flex">
|
||||
</a>
|
||||
<h1><a href="http://flex.alxd.me/blog">Flex</a></h1>
|
||||
|
||||
<h1>
|
||||
<a href="http://flex.alxd.me/blog">Flex</a>
|
||||
</h1>
|
||||
|
||||
<p>The minimalist Pelican theme</p>
|
||||
|
||||
<nav>
|
||||
<ul class="list">
|
||||
|
||||
<li><a target="_blank" href="http://flex.alxd.me/blog/pages/about.html#about">About</a></li>
|
||||
<li><a target="_blank" href="http://flex.alxd.me/blog/pages/contact.html#contact">Contact</a></li>
|
||||
|
||||
<li>
|
||||
<a target="_self"
|
||||
href="http://flex.alxd.me/blog/pages/about.html#about">
|
||||
About
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a target="_self"
|
||||
href="http://flex.alxd.me/blog/pages/contact.html#contact">
|
||||
Contact
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</nav>
|
||||
|
@ -95,14 +120,14 @@
|
|||
<ul class="social">
|
||||
<li>
|
||||
<a class="sc-github" href="https://github.com/alexandrevicenzi/Flex" target="_blank">
|
||||
<i class="fab fa-github">
|
||||
</i>
|
||||
</a></li>
|
||||
<i class="fab fa-github"></i>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="sc-rss" href="/blog/feeds/all.atom.xml" target="_blank">
|
||||
<i class="fas fa-rss">
|
||||
</i>
|
||||
</a></li>
|
||||
<i class="fas fa-rss"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
@ -113,20 +138,17 @@
|
|||
<script>
|
||||
(adsbygoogle = window.adsbygoogle || []).push({});
|
||||
</script>
|
||||
|
||||
</aside>
|
||||
<main>
|
||||
|
||||
<nav>
|
||||
<a href="http://flex.alxd.me/blog"> Home
|
||||
</a>
|
||||
<a href="http://flex.alxd.me/blog">Home</a>
|
||||
|
||||
<a href="/archives.html">Archives</a>
|
||||
<a href="/categories.html">Categories</a>
|
||||
<a href="/tags.html">Tags</a>
|
||||
|
||||
<a href="http://flex.alxd.me/blog/feeds/all.atom.xml"> Atom
|
||||
</a>
|
||||
<a href="http://flex.alxd.me/blog/feeds/all.atom.xml">Atom</a>
|
||||
|
||||
</nav>
|
||||
|
||||
|
@ -135,8 +157,7 @@
|
|||
|
||||
<h1 id="flex-pelican-theme-update-2-1">Flex 2.1.0</h1>
|
||||
<p>
|
||||
Posted on November 16, 2016 in <a href="http://flex.alxd.me/blog/category/news.html">News</a>
|
||||
|
||||
Posted on November 16, 2016 in <a href="http://flex.alxd.me/blog/category/news.html">News</a>
|
||||
|
||||
</p>
|
||||
</header>
|
||||
|
@ -148,7 +169,7 @@
|
|||
<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><span class="n">GOOGLE_ADSENSE</span> <span class="o">=</span> <span class="p">{</span>
|
||||
<div class="highlight"><pre><span></span><code><span class="n">GOOGLE_ADSENSE</span> <span class="o">=</span> <span class="p">{</span>
|
||||
<span class="s1">'ca_id'</span><span class="p">:</span> <span class="s1">'ca-pub-1234567890'</span><span class="p">,</span> <span class="c1"># Your AdSense ID</span>
|
||||
<span class="s1">'page_level_ads'</span><span class="p">:</span> <span class="bp">True</span><span class="p">,</span> <span class="c1"># Allow Page Level Ads (mobile)</span>
|
||||
<span class="s1">'ads'</span><span class="p">:</span> <span class="p">{</span>
|
||||
|
@ -160,7 +181,7 @@ Below you can see how to enable ads in your pelican configuration file.</p>
|
|||
<span class="s1">'article_bottom'</span><span class="p">:</span> <span class="s1">'1234566'</span><span class="p">,</span> <span class="c1"># Banner after article content (article only)</span>
|
||||
<span class="p">}</span>
|
||||
<span class="p">}</span>
|
||||
</pre></div>
|
||||
</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>
|
||||
|
@ -175,8 +196,7 @@ Below you can see how to enable ads in your pelican configuration file.</p>
|
|||
</div>
|
||||
|
||||
<div class="center social-share">
|
||||
<p> Like this article? Share it with your friends!
|
||||
</p>
|
||||
<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>
|
||||
|
@ -204,17 +224,25 @@ Below you can see how to enable ads in your pelican configuration file.</p>
|
|||
})();
|
||||
</script>
|
||||
<noscript>
|
||||
Please enable JavaScript to view comments.
|
||||
|
||||
Please enable JavaScript to view comments.
|
||||
</noscript>
|
||||
<!-- End Disqus -->
|
||||
</article>
|
||||
|
||||
<footer>
|
||||
<p>
|
||||
© 2019 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>
|
||||
© 2020 - This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">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
|
||||
<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="http://flex.alxd.me/blog/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/"
|
||||
|
@ -244,5 +272,6 @@ Below you can see how to enable ads in your pelican configuration file.</p>
|
|||
}
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue