This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_layouts/default.html.twig

120 lines
5.6 KiB
Twig
Raw Normal View History

2015-08-09 00:34:20 +00:00
<!DOCTYPE html>
2015-09-03 21:55:07 +00:00
<!--[if lte IE 8]><html lang="{{ site.html_lang }}" class="ie ie8 lt9 lte8 lte7"> <![endif]-->
<!--[if IE 9]><html lang="{{ site.html_lang }}" class="ie ie9 lte9"> <![endif]-->
<!--[if gt IE 9]><html lang="{{ site.html_lang }}"><![endif]-->
<!--[if !IE]><!--><html lang="{{ site.html_lang }}"><!--<![endif]-->
2015-08-20 21:17:31 +00:00
<head>
2015-09-27 11:01:49 +00:00
{% include('title') %}
2015-08-20 21:17:31 +00:00
{% if page.meta.description %}
<meta name="description" content="{{ page.meta.description|e('html') }}">
{% endif %}
{% if page.meta.og %}
2015-09-27 11:01:49 +00:00
{{ include('og', { og: page.meta.og }) }}
2015-08-20 21:17:31 +00:00
{% endif %}
2015-09-03 21:55:07 +00:00
<meta lang="{{ site.html_lang }}" charset="utf-8">
2015-08-20 21:17:31 +00:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
2015-09-12 16:57:33 +00:00
2015-12-02 08:19:36 +00:00
<link rel="stylesheet" href="{{ site.url }}/assets/css/oliverdavies.css">
2015-09-12 16:57:33 +00:00
<link rel="stylesheet" href="{{ site.url }}/components/font-awesome/css/font-awesome.min.css">
2015-10-09 20:10:15 +00:00
{% block styles %}{% endblock %}
2015-08-20 21:17:31 +00:00
{% for size in site.apple_touch_icon_sizes %}
<link rel="apple-touch-icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
{% for size in site.favicon_sizes %}
<link rel="icon" href="{{ site.gravatar.url }}?s={{ size }}" sizes="{{ size }}x{{ size }}">
{% endfor %}
</head>
2015-09-27 11:01:49 +00:00
<body class="{{ page.blocks.body_classes }}">
<nav class="navbar navbar-inverse navbar-fixed-top">
2015-08-20 21:17:31 +00:00
<div class="container">
<div class="navbar-header">
2015-08-20 22:47:52 +00:00
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
2015-08-20 21:17:31 +00:00
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
2015-08-31 19:04:21 +00:00
<a class="navbar-brand" href="{{ site.url }}/">{{ site.title }}</a>
2015-08-20 21:17:31 +00:00
</div>
<div id="navbar" class="collapse navbar-collapse" role="navigation">
2015-09-09 21:08:44 +00:00
<ul class="nav navbar-nav">
2015-09-13 16:10:27 +00:00
{% for name, item in site.main_menu %}
<li{% if page.nav == name %} class="active"{% endif %}>
<a href="{{ item.href }}">{{ item.title }}</a>
</li>
2015-08-20 21:17:31 +00:00
{% endfor %}
</ul>
</div>{# .nav-collapse #}
</div>
</nav>
2015-08-09 00:34:20 +00:00
2015-08-20 20:56:18 +00:00
<div class="container">
<div class="row">
{% block content_wrapper %}
2015-08-20 23:18:47 +00:00
<main class="col-md-9">
2015-11-27 21:20:46 +00:00
{% block content_top %}{% endblock %}
2015-09-27 11:01:49 +00:00
{% block content %}{% endblock %}
2015-11-27 21:20:46 +00:00
{% block content_bottom %}{% endblock %}
2015-08-20 20:56:18 +00:00
</main>
2015-09-27 11:01:49 +00:00
{% endblock %}
2015-08-09 00:34:20 +00:00
2015-08-20 21:22:05 +00:00
{% block sidebar_wrapper %}
2015-08-20 23:18:47 +00:00
<div class="col-md-3">
2015-08-20 21:22:05 +00:00
{% block sidebar %}
2015-09-12 19:42:18 +00:00
<div class="panel">
2015-10-14 00:03:58 +00:00
<a href="https://assoc.drupal.org/membership/individuals?country=United+Kingdom" title="Im a Drupal Association member.">
2015-08-31 18:01:22 +00:00
<img src="{{ site.url }}/assets/images/da-individual-member.png" alt="Drupal Association Individual Member" width="150">
2015-08-20 21:22:05 +00:00
</a>
<a href="https://assoc.drupal.org/membership">
<img src="{{ site.url }}/assets/images/drupal-association-become-member.png" alt="Become a Drupal Association member." width="150">
2015-08-31 19:53:09 +00:00
</a>
2015-09-12 19:42:18 +00:00
</div>
2015-08-31 19:53:09 +00:00
2015-12-06 03:00:34 +00:00
<a href="https://www.drupal.org/8">
<img alt="I built Drupal 8 with hand holding a wrench on blue background" src="https://assoc.drupal.org/files/ibuiltd8-blue.jpg"/>
</a>
2015-09-27 11:01:49 +00:00
{% include('availability') %}
{% endblock %}
2015-08-20 21:22:05 +00:00
</div>
2015-09-27 11:01:49 +00:00
{% endblock %}
2015-08-20 20:56:18 +00:00
</div>{# .row #}
</div>{# .container #}
2015-08-09 00:34:20 +00:00
2015-08-20 21:17:31 +00:00
<footer class="container">
<p class="copyright">&copy; 2010-{{ 'now'|date('Y') }} {{ site.title }}. Powered by <a href="https://sculpin.io">Sculpin</a> and <a href="https://www.digitalocean.com/?refcode={{ site.digitalocean_referral }}">DigitalOcean</a>.</p>
2015-09-27 11:01:49 +00:00
{% include('meetups') %}
2015-08-20 21:17:31 +00:00
</footer>
<script src="{{ site.url }}/components/jquery/jquery.min.js"></script>
<script src="{{ site.url }}/components/bootstrap/js/bootstrap.min.js"></script>
2015-09-27 11:01:49 +00:00
{% block scripts %}{% endblock %}
2015-08-20 21:17:31 +00:00
2015-09-12 10:26:44 +00:00
{% if page.tweets %}
2015-08-20 21:17:31 +00:00
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
{% endif %}
{% if site.google_analytics_tracking_id %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics_tracking_id }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
2015-08-20 20:56:18 +00:00
</body>
2015-08-09 00:34:20 +00:00
</html>