|
- <!doctype html>
- <!-- https://github.com/paulirish/html5-boilerplate/blob/master/index.html -->
- <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
- <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
- <head>
- {% block starthead %}{% endblock starthead %}
- <meta charset="{{ resource.meta.charset }}">
-
- <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
- Remove this if you use the .htaccess -->
- <meta http-equiv="X-UA-Compatible" content="{{ resource.meta.compatibility }}">
-
- <!-- encoding must be specified within the first 512 bytes
- www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#charset -->
-
- <!-- meta element for compatibility mode needs to be before
- all elements except title & meta
- msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx -->
- <!-- Chrome Frame is only invoked if meta element for
- compatibility mode is within the first 1K bytes
- code.google.com/p/chromium/issues/detail?id=23003 -->
-
- <title>{% block title %}{{ resource.meta.title }}{% endblock %}</title>
- <meta name="description" content="{{ resource.meta.description }}">
- <meta name="author" content="{{ resource.meta.author }}">
-
- <!-- Mobile viewport optimized: j.mp/bplateviewport -->
- <meta name="viewport" content="{{ resource.meta.viewport }}">
-
- {% block favicons %}
- <link rel="apple-touch-icon" sizes="57x57" href="{{ media_url('/ico/apple-icon-57x57.png') }}">
- <link rel="apple-touch-icon" sizes="60x60" href="{{ media_url('/ico/apple-icon-60x60.png') }}">
- <link rel="apple-touch-icon" sizes="72x72" href="{{ media_url('/ico/apple-icon-72x72.png') }}">
- <link rel="apple-touch-icon" sizes="76x76" href="{{ media_url('/ico/apple-icon-76x76.png') }}">
- <link rel="apple-touch-icon" sizes="114x114" href="{{ media_url('/ico/apple-icon-114x114.png') }}">
- <link rel="apple-touch-icon" sizes="120x120" href="{{ media_url('/ico/apple-icon-120x120.png') }}">
- <link rel="apple-touch-icon" sizes="144x144" href="{{ media_url('/ico/apple-icon-144x144.png') }}">
- <link rel="apple-touch-icon" sizes="152x152" href="{{ media_url('/ico/apple-icon-152x152.png') }}">
- <link rel="apple-touch-icon" sizes="180x180" href="{{ media_url('/ico/apple-icon-180x180.png') }}">
- <link rel="icon" type="image/png" sizes="192x192" href="{{ media_url('/ico/android-icon-192x192.png') }}">
- <link rel="icon" type="image/png" sizes="32x32" href="{{ media_url('/ico/favicon-32x32.png') }}">
- <link rel="icon" type="image/png" sizes="96x96" href="{{ media_url('/ico/favicon-96x96.png') }}">
- <link rel="icon" type="image/png" sizes="16x16" href="{{ media_url('/ico/favicon-16x16.png') }}">
- <link rel="manifest" href="{{ media_url('/ico/manifest.json') }}">
- <meta name="msapplication-TileColor" content="#ffffff">
- <meta name="msapplication-TileImage" content="{{ media_url('/ico/ms-icon-144x144.png') }}">
- <meta name="theme-color" content="#ffffff">
- {% endblock favicons %}
-
- {% block css %}
- <link rel="stylesheet" href="{{ media_url('css/site.css') }}">
- <link rel="stylesheet" href="{{ media_url('css/syntax.css') }}">
- {% endblock css %}
-
- {% block headjs %}
- <!-- All JavaScript at the bottom, except for Modernizr which
- enables HTML5 elements & feature detects -->
- <script src="{{ media_url('js/libs/modernizr-1.7.min.js') }}"></script>
- {% endblock headjs %}
- {% block endhead %}{% endblock endhead %}
- </head>
- <body id="{{ resource.meta.id if resource.meta.id else resource.slug }}">
- {% block content %}
- <div class="site" id="main" role="main">
- {% block container %}
- <header class="banner clearfix title">
- {% block header -%}
- <h1><a href="/">BaySec</a></h1>
- <h3>SF Bay Area Security Professional Meetup</h3>
- {%- endblock %}
- </header>
- <section class="content">
- {% block main %}
- {% endblock main %}
- </section>
- {% endblock container %}
- <footer>
- <div class="footer">
- <div class="contact">
- <ul>
- <li><a href="/calendar.ics">Calendar</a></li>
- <li><a href="https://twitter.com/search?f=tweets&vertical=default&q=%23baysec&src=typd">Twitter</a></li>
- <li class="copyright">Brought to you by <a href="https://github.com/baysec/baysec">some folks</a>.</li>
- </div>
- </div>
- </footer>
- </div>
- {% endblock content%}
- {% block js %}
- <!-- Javascript at the bottom for fast page loading -->
- {% block jquery %}
- <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
- <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
- <script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
- {% endblock jquery %}
-
- {% block scripts %}
- {% endblock scripts %}
-
-
- <!--[if lt IE 7 ]>
- <script src="js/libs/dd_belatedpng.js"></script>
- <script>DD_belatedPNG.fix('img, .png_bg'); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
- <![endif]-->
-
- {% block analytics %}
- {% include "analytics.j2" %}
- {% endblock analytics %}
-
- {% endblock js %}
- </body>
- </html>
|