sito-hackit-16/themes/hm15/templates/base.html
2016-01-25 12:53:49 -05:00

284 lines
12 KiB
HTML

<!DOCTYPE html>
<html lang="{% block html_lang %}{{ DEFAULT_LANG }}{% endblock %}">
<head>
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
<!-- Using the latest rendering mode for IE -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
{# Favicons are a touchy subject. For reasoning for the following code, see: http://stackoverflow.com/a/23851464/872397 #}
{% if FAVICON %}
<link href="{{ SITEURL }}/{{ FAVICON }}" rel="icon">
{% endif %}
{% if FAVICON_IE %}
<!--[if IE]><link rel="shortcut icon" href="{{ SITEURL }}/{{ FAVICON_IE }}"><![endif]-->
{% endif %}
{% if TOUCHICON %}
<link rel="apple-touch-icon" href="{{ SITEURL }}/{{ TOUCHICON }}">
{% endif %}
{% block meta %}
<meta name="author" content="{{ AUTHOR }}" />
{% endblock %}
<!-- Bootstrap -->
{% if BOOTSTRAP_THEME %}
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap.{{ BOOTSTRAP_THEME }}.min.css" type="text/css"/>
{% else %}
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/bootstrap.min.css" type="text/css"/>
{% endif %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/font-awesome.min.css" rel="stylesheet">
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/pygments/{{ PYGMENTS_STYLE|default('native') }}.css" rel="stylesheet">
{% if 'tipue_search' in PLUGINS %}
<link href="{{ SITEURL}}/{{ THEME_STATIC_DIR }}/tipuesearch/tipuesearch.css" rel="stylesheet">
{% endif %}
{% if DOCUTIL_CSS %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/html4css1.css" rel="stylesheet">
{% endif %}
{% if TYPOGRIFY %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/typogrify.css" rel="stylesheet">
{% endif %}
<link rel="stylesheet" href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/style.css" type="text/css"/>
{% if CUSTOM_CSS %}
<link href="{{ SITEURL }}/{{ CUSTOM_CSS }}" rel="stylesheet">
{% endif %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/custom.css" rel="stylesheet">
{% if SHARIFF %}
<link href="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/css/shariff/shariff.min.css" rel="stylesheet">
{% endif %}
{% if FEED_ALL_ATOM %}
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} ATOM Feed"/>
{% endif %}
{% if FEED_ALL_RSS %}
<link href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate"
title="{{ SITENAME }} RSS Feed"/>
{% endif %}
{% if tag and TAG_FEED_ATOM %}
<link href="{{ SITEURL }}/{{ TAG_FEED_ATOM|format(tag.slug) }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} {{ tag }} ATOM Feed"/>
{% endif %}
{% if category and CATEGORY_FEED_ATOM %}
<link href="{{ SITEURL }}/{{ CATEGORY_FEED_ATOM|format(category.slug) }}" type="application/atom+xml" rel="alternate"
title="{{ SITENAME }} {{ category }} ATOM Feed"/>
{% endif %}
</head>
<body>
<div class="container-fluid">
<div class="row">
<div class="col-sm-3 col-sm-offset-9"><svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="133.91571"
height="113.3125"
id="svg5682"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Nuovo documento 9">
<defs
id="defs5684" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.35"
inkscape:cx="66.957853"
inkscape:cy="56.656255"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="572"
inkscape:window-height="403"
inkscape:window-x="1"
inkscape:window-y="50"
inkscape:window-maximized="0" />
<metadata
id="metadata5687">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Livello 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-308.04215,-475.70593)">
<g
transform="translate(-562.67967,444.69145)"
style="opacity:0.63999999"
id="g3682">
<g
id="g3684">
<path
style="fill:#b3d782"
inkscape:connector-curvature="0"
d="m 944.2,73.7 c -2.1,1.3 -4.2,2.6 -6.3,3.9 0,0 0,0 0,-0.1 0.2,-0.2 0.3,-0.4 0.5,-0.5 1.9,-1.2 3.7,-2.4 5.6,-3.6 0.1,0.2 0.2,0.2 0.2,0.3 z"
id="path3686" />
<path
style="fill:#b3d782"
inkscape:connector-curvature="0"
d="M 971.4,90.4 V 92 l 1.4,-1.6 h -1.4 z"
id="path3688" />
<polygon
style="fill:#b3d782"
points="971.4,90.4 972.8,90.4 971.4,92 "
id="polygon3690" />
<path
style="fill:#b3d782"
inkscape:connector-curvature="0"
d="m 1002.8,73.2 c -0.9,0 -1.3,0.4 -1.3,1.6 0,2.5 0,5 0,7.5 0,2.2 0,2.2 -1.8,2.2 -0.9,0 -1.2,0.5 -1.2,1.6 0,1 -0.1,2 0,3 0.1,1.1 -0.2,1.3 -1.1,1.3 -4.3,0 -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c -1.8,1.4 -3.8,2.5 -5.7,3.8 -6.4,4.2 -5.6,3.9 -9.5,-2.2 -0.9,-1.4 -0.5,-7.3 0.6,-8.6 0,0 0,0 0,-0.1 0.2,-0.2 0.3,-0.4 0.5,-0.5 1.9,-1.2 3.7,-2.4 5.6,-3.6 0.1,0.1 0.1,0.1 0.2,0.2 3.3,3.1 5.3,6.6 4.8,11.5 3.3,-2.7 3.3,-4.6 0.1,-12.3 3,0.5 4.7,2 5.5,4.5 1,2.4 0,5.8 -2.1,7.3 z m 18.9,7.3 v -1.6 h 1.4 l -1.4,1.6 z"
id="path3692" />
<polygon
style="fill:#b3d782"
points="971.4,90.4 972.8,90.4 971.4,92 "
id="polygon3694" />
</g>
<g
id="g3696">
<text
style="font-size:27.1637001px;fill:#b3d782;font-family:HugFemmesBold"
transform="translate(905.523,130.0119)"
font-size="27.1637"
id="text3698">hackit</text>
<text
style="font-size:11.94110012px;fill:#b3d782;font-family:BankGothic-Regular"
transform="translate(905.3365,144.1579)"
font-size="11.9411"
id="text3700">0x12</text>
</g>
</g>
</g>
</svg>
</div>
</div>
</div>
<!-- Banner -->
{% if BANNER and BANNER_ALL_PAGES %}
{% include 'includes/banner.html' %}
{% elif BANNER and not BANNER_ALL_PAGES %}
{% block banner %}{% endblock %}
{% endif %}
<!-- End Banner -->
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-2" id="main-block">
<div class="row">
{% if not HIDE_SIDEBAR or ABOUT_ME %}
<div class="col-sm-9">
{% else %}
<div class="col-lg-12">
{% endif %}
<div class="navbar {% if BOOTSTRAP_NAVBAR_INVERSE %}navbar-inverse{% else %}navbar-default{% endif %}" id="navbar-block" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="{{ SITEURL }}/" class="navbar-brand">
{% if SITELOGO %}<img src="{{ SITEURL }}/{{ SITELOGO }}" width="{{ SITELOGO_SIZE }}"/> {% endif %}
{% if not HIDE_SITENAME %}{{ SITENAME }}{% endif %}
</a>
</div>
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
{% if page %}
{% set menu = LOCALMENUITEMS[page.lang] %}
{% else %}
{% set menu = MENUITEMS %}
{% endif %}
{% for title, link in menu %}
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_CATEGORIES_ON_MENU %}
{% for cat, null in categories %}
<li {% if cat == category %}class="active"{% endif %}>
<a href="{{ SITEURL }}/{{ cat.url }}">{{ cat | capitalize }}</a>
</li>
{% endfor %}
{% endif %}
</ul>
<ul class="nav navbar-nav navbar-right">
{% if 'tipue_search' in PLUGINS %}
<li><span>
<form class="navbar-search" action="{{ SEARCH_URL | default('/search.html') }}">
<input type="text" class="search-query" placeholder="Search" name="q" id="tipue_search_input" required>
</form></span>
</li>
{% endif %}
</ul>
</div>
<!-- /.navbar-collapse -->
</div>
</div> <!-- /.navbar -->
{% block breadcrumbs %}
{% endblock %}
{% block content %}
{% endblock %}
</div>
{% if not HIDE_SIDEBAR or ABOUT_ME %}
<div class="col-sm-3" id="sidebar">
<aside>
{% if ABOUT_ME %}
{% include 'includes/aboutme.html' %}
{% endif %}
{% if not HIDE_SIDEBAR %}
{% include 'includes/sidebar.html' %}
{% endif %}
</aside>
</div>
{% endif %}
</div>
</col-md-9>
</div>
</div>
{% include 'includes/footer.html' %}
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/jquery.min.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bootstrap.min.js"></script>
<!-- Enable responsive features in IE8 with Respond.js (https://github.com/scottjehl/Respond) -->
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/respond.min.js"></script>
{% if BANNER %}
<script src="{{ SITEURL }}/{{ THEME_STATIC_DIR }}/js/bodypadding.js"></script>
{% endif %}
{% include 'includes/github-js.html' %}
{% include 'includes/disqus_script.html' %}
{% include 'includes/ga.html' %}
{% include 'includes/piwik.html' %}
{% block scripts %}{% endblock %}
</body>
</html>