Re-structure and simplify menu layout (fixes #198)

Add translated page redirections using _redirects.yml
Redirect for bitcoin-for-press to press
Redirect bitcoin-for-enthusiasts to innovation
Ignore page redirections in sitemap.rb plugin
Move template plugin to template.rb instead of translate.rb
Add a small documentation in the template plugin
This commit is contained in:
Saivann 2013-06-19 00:29:52 -04:00
parent cd597fdb21
commit 542d517297
11 changed files with 392 additions and 167 deletions

View file

@ -82,6 +82,17 @@ cancelEvent(e);
function mobileshow(e){
if(document.getElementById('menusimple')){
var mm=document.getElementById('menusimple');
var ml=document.getElementById('langselect');
var t=document.getElementById('menumobile');
if(mm.style.display=='block'){mm.style.display='';ml.style.display='';}
else{mm.style.display='block';ml.style.display='inline-block';}
t.parentNode.removeChild(t);
cancelEvent(e);
}
else{
//Will be deprecated when all translation will use the new menu
var mm=document.getElementById('menu');
var mf=document.getElementById('menufor');
var ml=document.getElementById('langselect');
@ -91,6 +102,7 @@ else{mf.style.display='block';mm.style.display='block';ml.style.display='inline-
t.parentNode.removeChild(t);
cancelEvent(e);
}
}
function boxshow(e){