title: Pelican i18n subsites menu items override
body: <p>I am building a static site with <a href="http://blog.getpelican.com/" rel="nofollow">Pelican</a> and the <a href="https://github.com/getpelican/pelican-plugins/tree/master/i18n_subsites" rel="nofollow">i18n subsites plugin</a>.</p>
  
  <p>The way I understand it, you can override settings in pelicanconf.py with this plugin, but I don’t think the way I did it is working.</p>
  
  <p>Pelicanconf.py:  </p>
  
  <pre><code>I18N_SUBSITES = {
      'nl': {
          'SITENAME': 'Robin Berghuijs Design',
          'INDEX_SAVE_AS': 'nieuws.html',
          'MENUITEMS': [
              ('Nieuws','nieuws.html'),
          ],
      },
      'en': {
          'SITENAME': 'Robin Berghuijs Design',
          'INDEX_SAVE_AS': 'news.html',
          'MENUITEMS': [
              ('News','news.html'),
          ],
      }
  }
  </code></pre>
  
  <p>Index.html output:  </p>
  
  <pre><code>&lt;nav id="menu"&gt;&lt;ul&gt;
      &lt;li&gt;&lt;a href="./pages/contact.html"&gt;Contact&lt;/a&gt;&lt;/li&gt;
  &lt;/ul&gt;&lt;/nav&gt;&lt;!-- /#menu --&gt;
  </code></pre>
  
  <p>base.html template:</p>
  
  <pre><code>    {% for title, link in MENUITEMS %}
          &lt;li&gt;&lt;a href="{{ link }}"&gt;{{ title }}&lt;/a&gt;&lt;/li&gt;
      {% endfor %}
  </code></pre>
  
  <p>I get no errors upon site generation. <a href="https://gist.github.com/Flobin/f3d8bf587d5cee597396" rel="nofollow">More detail here</a>.</p>
  
  <p>Running pelican with --debug <a href="https://gist.github.com/Flobin/c7bd3cc2faa6135803dd" rel="nofollow">gives this</a>.</p>