Commit 8b4a6a7f authored by sajolida's avatar sajolida

Hide breadcrumbs on top-level pages

They don't bring any information or navigation help
parent 3eb9591c
[[!meta title="About"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
> **amnesia**, *noun*:<br/>
> forgetfulness; loss of long-term memory.
......
[[!meta title="How Tails works"]]
[[!meta stylesheet="staging/about" rel="stylesheet" title=""]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!meta robots="noindex"]]
<h1>Leave no trace on the computer</h1>
......
......@@ -2,22 +2,6 @@ body {
font-family: "Source Sans Pro Regular", "DejaVu Sans", "Verdana", sans-serif;
}
.pageheader #otherlanguages {
top: 0;
}
/* Hide breadcrumbs on top pages */
.parentlinks {
display: none;
}
/* Only display actions on blueprints */
.actions {
display: none;
}
/* Overwrites to local.css */
.button {
......
[[!meta title="Home"]]
[[!meta stylesheet="staging/home" rel="stylesheet" title=""]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!meta robots="noindex"]]
[[!meta google-site-verification="aGp--gO0AaDbtxshkcWaS0jY8WkOjYwUuBqRWzWHy6o"]]
......
[[!meta title="Blueprints"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!map pages="page(blueprint/*)" show=title]]
[[!meta title="Contributing to Tails"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
There are many ways you can contribute to Tails. No effort is too
small and whatever you bring to this community will be appreciated.
......
[[!meta title="Documentation"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
<div class="tip">
......
......@@ -2,6 +2,7 @@
[[!meta stylesheet="bootstrap.min" rel="stylesheet" title=""]]
[[!meta stylesheet="donate" rel="stylesheet" title=""]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!meta script="donate"]]
<div class="row">
......
[[!meta title="Getting started…"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
Is Tails the right tool for me?
-------------------------------
......
.parentlinks {
display: none;
}
.actions {
display: none;
}
.pageheader #otherlanguages {
top: 0;
}
......@@ -2,7 +2,7 @@
#content {
position: relative;
top: -5em;
top: -4em;
}
#tor_check {
......
<div>[[!meta title="Privacy for anyone anywhere"]]</div>
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!meta google-site-verification="aGp--gO0AaDbtxshkcWaS0jY8WkOjYwUuBqRWzWHy6o"]]
<div id="intro">
......
[[!meta title="Jobs"]]
[[!meta stylesheet="jobs" rel="stylesheet" title=""]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
Join us in our fight against surveillance and censorship!
......
......@@ -267,6 +267,7 @@ ol, ul {
div.header { /* override style.css */
font-size: 1em;
font-weight: normal;
padding: 30px 0;
}
/* Banner */
......@@ -466,7 +467,6 @@ span.title {
font-size: 2.8em;
line-height: 1em;
display: block;
margin: 1em 0;
color: #56347c;
border-left: 10px solid #444444;
padding-left: 18px;
......
<div>[[!meta title="News"]]</div>
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
<ul id="news-subscriptions">
<li>
......
[[!meta title="Partners"]]
<div>[[!meta title="Partners"]]</div>
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
<p>These organizations, companies and individuals provide financial support
to Tails through grants or donations. Thanks to their
......
[[!meta title="Press and media information"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!toc levels=1]]
......
[[!meta title="Security"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!toc levels=3]]
......
[[!meta title="Support"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
Search the documentation
========================
......
......@@ -82,8 +82,7 @@
<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span>
<span class="parentlinks">
<ul id="crumbs">
<li><a href="<TMPL_VAR HOMEPAGEURL>"><img src="<TMPL_VAR BASEURL>lib/home.png"></a></li>
......@@ -101,12 +100,6 @@
</ul>
</span>
<span class="title">
<TMPL_VAR TITLE>
</span>
<TMPL_VAR CTIME>
</span>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF HAVE_ACTIONS>
<TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
......@@ -179,6 +172,13 @@
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span class="title">
<TMPL_VAR TITLE>
</span>
<TMPL_VAR CTIME>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
<TMPL_UNLESS DYNAMIC>
<TMPL_VAR TRAILS>
</TMPL_UNLESS>
......
......@@ -82,8 +82,7 @@
<TMPL_IF HTML5><article class="page"><TMPL_ELSE><div class="page"></TMPL_IF>
<TMPL_IF HTML5><section class="pageheader"><TMPL_ELSE><div class="pageheader"></TMPL_IF>
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span>
<span class="parentlinks">
<ul id="crumbs">
<li><a href="<TMPL_VAR HOMEPAGEURL>"><img src="<TMPL_VAR BASEURL>lib/home.png"></a></li>
......@@ -101,11 +100,6 @@
</ul>
</span>
<span class="title">
<TMPL_VAR TITLE>
</span>
</span>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
<TMPL_IF HAVE_ACTIONS>
<TMPL_IF HTML5><nav class="actions"><TMPL_ELSE><div class="actions"></TMPL_IF>
......@@ -178,6 +172,12 @@
<TMPL_IF HTML5></nav><TMPL_ELSE></div></TMPL_IF>
</TMPL_IF>
<TMPL_IF HTML5><header class="header"><TMPL_ELSE><div class="header"></TMPL_IF>
<span class="title">
<TMPL_VAR TITLE>
</span>
<TMPL_IF HTML5></header><TMPL_ELSE></div></TMPL_IF>
<TMPL_UNLESS DYNAMIC>
<TMPL_VAR TRAILS>
</TMPL_UNLESS>
......
[[!meta title="Upgrading a Tails USB stick"]]
[[!meta stylesheet="hide-breadcrumbs" rel="stylesheet" title=""]]
[[!inline pages="doc/upgrade" raw="yes" sort="age"]]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment