Skip to content
Permalink
Browse files
Move out i18n into a special feature
Signed-off-by: Chris Warrick <kwpolska@gmail.com>
  • Loading branch information
Kwpolska committed Jul 29, 2015
1 parent 130f13c commit 88ff7c0e26205e3d504a9fa24dfa86214dbb8eb2
Showing with 43 additions and 30 deletions.
  1. +1 −1 conf.py
  2. +42 −29 stories/features/index.html
@@ -229,7 +229,7 @@
),
}

EXTRA_HEAD_DATA = '<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">'
EXTRA_HEAD_DATA = '<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css">'
CODE_COLOR_SCHEME = 'monokai'
# Put in global_context things you want available on all your templates.
# It can be anything, data, functions, modules, etc.
@@ -2,10 +2,10 @@
.. title: Features
.. slug: index
.. date: 2015-07-10 15:34:49 UTC
.. tags:
.. category:
.. link:
.. description:
.. tags:
.. category:
.. link:
.. description:
.. type: text
-->
<!--
@@ -16,9 +16,9 @@
<div class="col-md-9">
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-static media-object">
<a href="/handbook.html#why-static"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-server fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="/handbook.html#why-static"><div class="feature-icon feature-icon-static media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-server fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="static" class="media-heading">Static sites</h4>
@@ -28,9 +28,9 @@ <h4 id="static" class="media-heading">Static sites</h4>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-fast media-object">
<a href="/features/fast.html"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-bolt fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="/features/fast.html"><div class="feature-icon feature-icon-fast media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-bolt fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="fast" class="media-heading">Incremental builds</h4>
@@ -40,9 +40,9 @@ <h4 id="fast" class="media-heading">Incremental builds</h4>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-input media-object">
<a href="/handbook.html#supported-input-formats"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-file-text fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="/handbook.html#supported-input-formats"><div class="feature-icon feature-icon-input media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-file-text fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="input" class="media-heading">Multiple input formats</h4>
@@ -52,21 +52,33 @@ <h4 id="input" class="media-heading">Multiple input formats</h4>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-components media-object">
<a href="/handbook.html#components"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-cubes fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="/handbook.html#components"><div class="feature-icon feature-icon-components media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-cubes fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="components" class="media-heading">Built-in components</h4>
<p>Nikola comes with everything you need to build a modern website: blogs (with comments, tags, categories, archives, RSS/Atom feeds), multilingual support, easy image galleries, and code listings.</p>
<p>Nikola comes with everything you need to build a modern website: blogs (with comments, tags, categories, archives, RSS/Atom feeds), easy image galleries, and code listings.</p>
<p><a href="/handbook.html#components" class="btn btn-sm btn-default">Explore in depth »</a></p>
</div>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-extensible media-object">
<a href="/extending.html"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-code fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="https://www.transifex.com/projects/p/nikola/"><div class="feature-icon feature-icon-i18n media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-language fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="i18n" class="media-heading">Multilingual support</h4>
<p>Nikola supports almost 40 languages out of the box, and it’s trivial to add more. You can write posts in multiple languages, and have links between the two versions of a language. There are even some settings (including navigation bars and site titles) that can differ between the different language versions.</p>
<p><a href="https://www.transifex.com/projects/p/nikola/" class="btn btn-sm btn-default">Check out available languages in Transifex »</a></p>
</div>
</div>
<div class="media">
<div class="media-left">
<a href="/extending.html"><div class="feature-icon feature-icon-extensible media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-code fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="extending" class="media-heading">Extensible</h4>
@@ -76,9 +88,9 @@ <h4 id="extending" class="media-heading">Extensible</h4>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-cli media-object">
<a href="#cli"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-terminal fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="#cli"><div class="feature-icon feature-icon-cli media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-terminal fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="cli" class="media-heading">Friendly CLI</h4>
@@ -101,9 +113,9 @@ <h4 id="cli" class="media-heading">Friendly CLI</h4>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-auto media-object">
<a href="/features/auto.html"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-cogs fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="/features/auto.html"><div class="feature-icon feature-icon-auto media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-cogs fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="auto" class="media-heading">Automatic rebuilds</h4>
@@ -113,9 +125,9 @@ <h4 id="auto" class="media-heading">Automatic rebuilds</h4>
</div>
<div class="media">
<div class="media-left">
<div class="feature-icon feature-icon-coil media-object">
<a href="https://coil.readthedocs.org/"><span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-users fa-stack-1x fa-inverse"></i></span></a>
</div>
<a href="https://coil.readthedocs.org/"><div class="feature-icon feature-icon-coil media-object">
<span class="fa-stack fa-3x"><i class="fa fa-circle fa-stack-2x"></i><i class="fa fa-users fa-stack-1x fa-inverse"></i></span>
</div></a>
</div>
<div class="media-body">
<h4 id="coil" class="media-heading">Coil CMS — a CMS for Nikola</h4>
@@ -131,6 +143,7 @@ <h4 id="coil" class="media-heading">Coil CMS — a CMS for Nikola</h4>
<a href="#fast" class="list-group-item">Incremental rebuilds</a>
<a href="#input" class="list-group-item">Multiple input formats</a>
<a href="#components" class="list-group-item">Built-in components</a>
<a href="#i18n" class="list-group-item">Multilingual support</a>
<a href="#extending" class="list-group-item">Extensible</a>
<a href="#cli" class="list-group-item">Friendly CLI</a>
<a href="#auto" class="list-group-item">Automatic rebuilds</a>

0 comments on commit 88ff7c0

Please sign in to comment.