BaySec website source
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

113 line
5.0 KiB

  1. <!doctype html>
  2. <!-- https://github.com/paulirish/html5-boilerplate/blob/master/index.html -->
  3. <!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
  4. <!--[if (gte IE 9)|!(IE)]><!--> <html lang="en" class="no-js"> <!--<![endif]-->
  5. <head>
  6. {% block starthead %}{% endblock starthead %}
  7. <meta charset="{{ resource.meta.charset }}">
  8. <!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
  9. Remove this if you use the .htaccess -->
  10. <meta http-equiv="X-UA-Compatible" content="{{ resource.meta.compatibility }}">
  11. <!-- encoding must be specified within the first 512 bytes
  12. www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html#charset -->
  13. <!-- meta element for compatibility mode needs to be before
  14. all elements except title & meta
  15. msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx -->
  16. <!-- Chrome Frame is only invoked if meta element for
  17. compatibility mode is within the first 1K bytes
  18. code.google.com/p/chromium/issues/detail?id=23003 -->
  19. <title>{% block title %}{{ resource.meta.title }}{% endblock %}</title>
  20. <meta name="description" content="{{ resource.meta.description }}">
  21. <meta name="author" content="{{ resource.meta.author }}">
  22. <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  23. <meta name="viewport" content="{{ resource.meta.viewport }}">
  24. {% block favicons %}
  25. <link rel="apple-touch-icon" sizes="57x57" href="{{ media_url('/ico/apple-icon-57x57.png') }}">
  26. <link rel="apple-touch-icon" sizes="60x60" href="{{ media_url('/ico/apple-icon-60x60.png') }}">
  27. <link rel="apple-touch-icon" sizes="72x72" href="{{ media_url('/ico/apple-icon-72x72.png') }}">
  28. <link rel="apple-touch-icon" sizes="76x76" href="{{ media_url('/ico/apple-icon-76x76.png') }}">
  29. <link rel="apple-touch-icon" sizes="114x114" href="{{ media_url('/ico/apple-icon-114x114.png') }}">
  30. <link rel="apple-touch-icon" sizes="120x120" href="{{ media_url('/ico/apple-icon-120x120.png') }}">
  31. <link rel="apple-touch-icon" sizes="144x144" href="{{ media_url('/ico/apple-icon-144x144.png') }}">
  32. <link rel="apple-touch-icon" sizes="152x152" href="{{ media_url('/ico/apple-icon-152x152.png') }}">
  33. <link rel="apple-touch-icon" sizes="180x180" href="{{ media_url('/ico/apple-icon-180x180.png') }}">
  34. <link rel="icon" type="image/png" sizes="192x192" href="{{ media_url('/ico/android-icon-192x192.png') }}">
  35. <link rel="icon" type="image/png" sizes="32x32" href="{{ media_url('/ico/favicon-32x32.png') }}">
  36. <link rel="icon" type="image/png" sizes="96x96" href="{{ media_url('/ico/favicon-96x96.png') }}">
  37. <link rel="icon" type="image/png" sizes="16x16" href="{{ media_url('/ico/favicon-16x16.png') }}">
  38. <link rel="manifest" href="{{ media_url('/ico/manifest.json') }}">
  39. <meta name="msapplication-TileColor" content="#ffffff">
  40. <meta name="msapplication-TileImage" content="{{ media_url('/ico/ms-icon-144x144.png') }}">
  41. <meta name="theme-color" content="#ffffff">
  42. {% endblock favicons %}
  43. {% block css %}
  44. <link rel="stylesheet" href="{{ media_url('css/site.css') }}">
  45. <link rel="stylesheet" href="{{ media_url('css/syntax.css') }}">
  46. {% endblock css %}
  47. {% block headjs %}
  48. <!-- All JavaScript at the bottom, except for Modernizr which
  49. enables HTML5 elements & feature detects -->
  50. <script src="{{ media_url('js/libs/modernizr-1.7.min.js') }}"></script>
  51. {% endblock headjs %}
  52. {% block endhead %}{% endblock endhead %}
  53. </head>
  54. <body id="{{ resource.meta.id if resource.meta.id else resource.slug }}">
  55. {% block content %}
  56. <div class="site" id="main" role="main">
  57. {% block container %}
  58. <header class="banner clearfix title">
  59. {% block header -%}
  60. <h1><a href="/">BaySec</a></h1>
  61. <h3>San Francisco Security Meetup</h3>
  62. {%- endblock %}
  63. </header>
  64. <section class="content">
  65. {% block main %}
  66. {% endblock main %}
  67. </section>
  68. {% endblock container %}
  69. <footer>
  70. <div class="footer">
  71. <div class="contact">
  72. <ul>
  73. <li><a href="/calendar.ics">Calendar</a></li>
  74. <li><a href="https://twitter.com/search?f=tweets&vertical=default&q=%23baysec&src=typd">Twitter</a></li>
  75. <li class="copyright">Brought to you by <a href="https://github.com/baysec/baysec">some folks</a>.</li>
  76. </div>
  77. </div>
  78. </footer>
  79. </div>
  80. {% endblock content%}
  81. {% block js %}
  82. <!-- Javascript at the bottom for fast page loading -->
  83. {% block jquery %}
  84. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  85. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
  86. <script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
  87. {% endblock jquery %}
  88. {% block scripts %}
  89. {% endblock scripts %}
  90. <!--[if lt IE 7 ]>
  91. <script src="js/libs/dd_belatedpng.js"></script>
  92. <script>DD_belatedPNG.fix('img, .png_bg'); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
  93. <![endif]-->
  94. {% block analytics %}
  95. {% include "analytics.j2" %}
  96. {% endblock analytics %}
  97. {% endblock js %}
  98. </body>
  99. </html>