diff options
Diffstat (limited to 'crumbs/templates/base.html')
-rwxr-xr-x | crumbs/templates/base.html | 64 |
1 files changed, 30 insertions, 34 deletions
diff --git a/crumbs/templates/base.html b/crumbs/templates/base.html index 6836a7f..8f6ef31 100755 --- a/crumbs/templates/base.html +++ b/crumbs/templates/base.html @@ -4,52 +4,48 @@ <meta charset="utf-8"> <title>{% block title %}{{ SITENAME }}{% endblock title %}</title> - <!-- Load Montserrat, Inconsolata and font-awesome --> - <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500;subset=cyrillic,latin-ext" rel="stylesheet"> - <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet"> - <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> - <!-- Load bootstrap, then my own CSS --> - <link href="{{ SITEURL }}/theme/css/bootstrap.min.css" rel="stylesheet"> + <!-- <link href="{{ SITEURL }}/theme/css/bootstrap.min.css" rel="stylesheet"> --> <link href="{{ SITEURL }}/theme/css/pygment.css" rel="stylesheet"> <link href="{{ SITEURL }}/theme/css/crumbs.css" rel="stylesheet"> <link href="{{ SITEURL }}/theme/css/cr_gay_override.css" rel="stylesheet"> + + <!-- Load Montserrat, Inconsolata and font-awesome --> + <link href="https://fonts.googleapis.com/css?family=Montserrat:200,300,400,500;subset=cyrillic,latin-ext" rel="stylesheet"> + <link href="https://fonts.googleapis.com/css?family=Inconsolata" rel="stylesheet"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> + </head> - <body> + <body class="not-home"> <div class="container"> <!-- HEADER FOR EVERY PAGE --> - <div> - <div class="navigation"> - <div class="nav pull-left"> - - <!-- The page title --> - <div class="title" title="Inconsolata is my favourite monospace font, after all..."> - <span id="t-color-red"><b># ~ </b></span> - <span id="t-color-org">Fun</span> - <span id="t-color-ylw">Memory</span> - <span id="t-color-grn">Violations</span> - <span class="cursor" id="cursor"> ▁</span> - </div> - </div> - - <div class="nav pull-right"> - {% for title, link in MENUITEMS %} - {% if 'http://' in link or 'https://' in link %} - <a class="naughty" href="{{ link }}">{{ title }} </a> - {% else %} - <a class="naughty" href="{{ SITEURL }}{{ link }}">{{ title }} </a> - {% endif %} - {% endfor %} - </div> + <div class="navigation"> + + <div class="page-title" title="Inconsolata is my favourite monospace font, after all..."> + <span id="t-color-red"><b># ~ </b></span> + <span id="t-color-org">Fun</span> + <span id="t-color-ylw">Memory</span> + <span id="t-color-grn">Violations</span> + <span class="cursor" id="cursor"> ▁</span> </div> - <br/> - - <!-- We draw a flattened version of the colour bar navigation --> - {% include "super_gay.html" %} + <!-- Loop through all pages --> + {% for title, link in MENUITEMS %} + <!-- Do magic with http/https --> + {% if 'http://' in link or 'https://' in link %} + <a class="nav-item" href="{{ link }}">{{ title }} </a> + {% else %} + <a class="nav-item" href="{{ SITEURL }}{{ link }}">{{ title }} </a> + {% endif %} + {% endfor %} </div> + + {% include "super_gay.html" %} + <!-- <div class="gay-bar-container"> + + </div> --> <!-- END HEADER FOR EVERY PAGE --> {% block content %} |