diff options
Diffstat (limited to 'python/templates/includes/layout')
-rw-r--r-- | python/templates/includes/layout/footer.html | 38 | ||||
-rw-r--r-- | python/templates/includes/layout/footer_sitemap.html | 12 | ||||
-rw-r--r-- | python/templates/includes/layout/head.html | 25 | ||||
-rw-r--r-- | python/templates/includes/layout/header.html | 90 | ||||
-rw-r--r-- | python/templates/includes/layout/sponsor.html | 9 |
5 files changed, 0 insertions, 174 deletions
diff --git a/python/templates/includes/layout/footer.html b/python/templates/includes/layout/footer.html deleted file mode 100644 index a6860e6..0000000 --- a/python/templates/includes/layout/footer.html +++ /dev/null @@ -1,38 +0,0 @@ -<footer> - <div class="container"> - <div class="row"> - <div class="col-xs-12 col-md-offset-2 col-md-7"> - {% if page.footer %}{{ page.footer }}{% endif %} - </div> - <div class="col-xs-12 col-md-3"> - <h3 class="footerhead">Questions or comments?</h3> - Please feel free to <a href="{{ contact.PageId.nav1 }}/{{ contact.nav2}}/">contact us</a>. - </div> - </div> - </div> - <div class="container-sitemap"> - <div class="container"> - {% include "includes/layout/footer_sitemap.html" %} - </div> - </div> - <div class="container"> - <div class="row"> - <div class="col-xs-3 col-md-2"> - <ul class="footerlinks three-icons"> - <li><a href="http://twitter.com/gentoo" title="@Gentoo on Twitter"><span class="fa fa-twitter fa-fw"></span></a></li> - <li><a href="https://plus.google.com/+Gentoo" title="+Gentoo on Google+"><span class="fa fa-google-plus fa-fw"></span></a></li> - <li><a href="https://www.facebook.com/gentoo.org" title="Gentoo on Facebook"><span class="fa fa-facebook fa-fw"></span></a></li> - </ul> - </div> - <div class="col-xs-9 col-md-9"> - <strong>© 2001-{% now "Y" %} Gentoo Foundation, Inc.</strong><br> - <small> - Gentoo is a trademark of the Gentoo Foundation, Inc. - The contents of this document, unless otherwise expressly stated, are licensed under the - <a href="http://creativecommons.org/licenses/by-sa/3.0/" rel="license">CC-BY-SA-3.0</a> license. - The <a href="/inside-gentoo/foundation/name-logo-guidelines.html">Gentoo Name and Logo Usage Guidelines</a> apply. - </small> - </div> - </div> - </div> -</footer>
\ No newline at end of file diff --git a/python/templates/includes/layout/footer_sitemap.html b/python/templates/includes/layout/footer_sitemap.html deleted file mode 100644 index 3923ce3..0000000 --- a/python/templates/includes/layout/footer_sitemap.html +++ /dev/null @@ -1,12 +0,0 @@ -<div class="row row-sitemap hidden-xs"> - {% for page in pages %} - {% if page.nav1 != 'donate' %} - <div class="col-xs-12 col-sm-4 col-md-2"> - <h3 class="footerhead"><a href="{{ page.url }}">{{ page.nav_title }}</a></h3> - <ul class="sitemap"> - {% include "includes/navigation/sitemap_secondary" %} - </ul> - {% endif %} - </div> - {% endfor %} -</div>
\ No newline at end of file diff --git a/python/templates/includes/layout/head.html b/python/templates/includes/layout/head.html deleted file mode 100644 index 7f17fd8..0000000 --- a/python/templates/includes/layout/head.html +++ /dev/null @@ -1,25 +0,0 @@ -<head> - <title>{% if page.title %}{{ page.title }} – {{ site.title }}{% else %}{{ site.title }}{% endif %}</title> - {% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %} - <meta charset="utf-8"> - <meta name="theme-color" content="#54487a"> - <meta name="viewport" content="width=device-width, initial-scale=1.0"> - <meta http-equiv="X-UA-Compatible" content="IE=edge"> - <meta property="og:title" content="{% if page.title %}{{ page.title }} – {{ site.title }}{% else %}{{ site.title }}{% endif %}"> - <meta property="og:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png"> - <meta property="og:description" content="{% if page.description %}{{ page.description }}{% else %}{{ site.description }}{% endif %}"> - <meta name="twitter:image" content="https://www.gentoo.org/assets/img/logo/gentoo-g.png"> - <link rel="apple-touch-icon" href="https://www.gentoo.org/assets/img/logo/icon-192.png"> - <link rel="icon" sizes="192x192" href="https://www.gentoo.org/assets/img/logo/icon-192.png"> - <link href="https://assets.gentoo.org/tyrian/bootstrap.min.css" rel="stylesheet" media="screen"> - <link href="https://assets.gentoo.org/tyrian/tyrian.min.css" rel="stylesheet" media="screen"> - <link href="https://assets/css/screen.css" rel="stylesheet" media="screen"> - - <link rel="icon" href="https://www.gentoo.org/favicon.ico" type="image/x-icon"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/www-gentoo-org.xml" title="Gentoo Website"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/forums-gentoo-org.xml" title="Gentoo Forums"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/bugs-gentoo-org.xml" title="Gentoo Bugzilla"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/packages-gentoo-org.xml" title="Gentoo Packages"> - <link rel="search" type="application/opensearchdescription+xml" href="https://www.gentoo.org/search/archives-gentoo-org.xml" title="Gentoo List Archives"> - <link rel="alternate" type="application/atom+xml" title="Gentoo Linux news" href="https://www.gentoo.org/feeds/news.xml"> -</head> diff --git a/python/templates/includes/layout/header.html b/python/templates/includes/layout/header.html deleted file mode 100644 index 63cba60..0000000 --- a/python/templates/includes/layout/header.html +++ /dev/null @@ -1,90 +0,0 @@ -<header> - <div class="site-title"> - <div class="container"> - <div class="row"> - <div class="site-title-buttons"> - <div class="btn-group btn-group-sm"> - <a href="https://get.gentoo.org/" role="button" class="btn get-gentoo"><span class="fa fa-fw fa-download"></span> <strong>Get Gentoo!</strong></a> - <div class="btn-group btn-group-sm"> - <a class="btn gentoo-org-sites dropdown-toggle" data-toggle="dropdown" data-target="#" href="#"> - <span class="fa fa-fw fa-map-o"></span> <span class="hidden-xs">gentoo.org sites</span> <span class="caret"></span> - </a> - <ul class="dropdown-menu dropdown-menu-right"> - <li><a href="https://www.gentoo.org/" title="Main Gentoo website"><span class="fa fa-home fa-fw"></span> gentoo.org</a></li> - <li><a href="https://wiki.gentoo.org/" title="Find and contribute documentation"><span class="fa fa-file-text-o fa-fw"></span> Wiki</a></li> - <li><a href="https://bugs.gentoo.org/" title="Report issues and find common issues"><span class="fa fa-bug fa-fw"></span> Bugs</a></li> - <li><a href="https://forums.gentoo.org/" title="Discuss with the community"><span class="fa fa-comments-o fa-fw"></span> Forums</a></li> - <li><a href="https://packages.gentoo.org/" title="Find software for your Gentoo"><span class="fa fa-hdd-o fa-fw"></span> Packages</a></li> - <li class="divider"></li> - <li><a href="https://planet.gentoo.org/" title="Find out what's going on in the developer community"><span class="fa fa-rss fa-fw"></span> Planet</a></li> - <li><a href="https://archives.gentoo.org/" title="Read up on past discussions"><span class="fa fa-archive fa-fw"></span> Archives</a></li> - <li><a href="https://gitweb.gentoo.org/" title="Browse our source code in Gitweb"><span class="fa fa-code fa-fw"></span> Gitweb</a></li> - <li><a href="https://sources.gentoo.org/" title="Browse our source code in CVS"><span class="fa fa-code fa-fw"></span> CVS sources</a></li> - <li class="divider"></li> - <li><a href="https://infra-status.gentoo.org/" title="Get updates on the services provided by Gentoo"><span class="fa fa-server fa-fw"></span> Infra status</a></li> - </ul> - </div> - </div> - </div> - <div class="logo"> - <a href="/" title="Back to the homepage" class="site-logo"> - <object data="https://assets.gentoo.org/tyrian/site-logo.svg" type="image/svg+xml"> - <img src="https://assets.gentoo.org/tyrian/site-logo.png" alt="Gentoo Linux logo"> - </object> - </a> - - </div> - </div> - </div> - </div> - <nav class="tyrian-navbar" role="navigation"> - <div class="container"> - <div class="row"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-main-collapse"> - <span class="sr-only">Toggle navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - </div> - <div class="collapse navbar-collapse navbar-main-collapse"> - <ul class="nav navbar-nav"> - {% include "includes/navigation/primary" %} - </ul> - <ul class="nav navbar-nav navbar-right"> - <li class=""><a href="http://www.gentoo.org/donate/"><span class="fa fa-heart" style="color:#d9534f;"></span> Donate</a></li> - </ul> - <ul class="nav navbar-nav navbar-right"> - <li class=""><span class="" style="color:#d9534f;"></span> - {% if user.is_authenticated %} - Welcome, {{ user.username }}. Thanks for logging in. - {% endif %} - </li> - </ul> - </div> - </div> - </div> - </nav> - {% if subpages %} - <nav class="navbar navbar-grey navbar-stick" role="navigation"> - <div class="container"> - <div class="row"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-secondary-collapse"> - <span class="sr-only">Toggle secondary navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - </div> - <div class="collapse navbar-collapse navbar-secondary-collapse"> - <ul class="nav navbar-nav"> - {% include "includes/navigation/secondary" %} - </ul> - </div> - </div> - </div> - </nav> - {% endif %} -</header> diff --git a/python/templates/includes/layout/sponsor.html b/python/templates/includes/layout/sponsor.html deleted file mode 100644 index 9ebd19a..0000000 --- a/python/templates/includes/layout/sponsor.html +++ /dev/null @@ -1,9 +0,0 @@ -<div class="row sponsor"> -{% for sponsor in sponsors %} -<div class="col-xs-12 col-md-2 col-md-offset-2 sponsorlogo"> -<!-- sponsor{name:{{ sponsor.name }},weight:{{ sponsor.weight }}} --> -<a href="{{ sponsor.link }}" title="{{ sponsor.title }}"> -<img src="https://www.gentoo.org/assets/img/sponsors/ads/{{ sponsor.img }}" alt="{{ sponsor.alt }}"> -</a></div> -{% endfor %} -</div> |