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.
 
 
 
 
 

128 lines
6.1 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. <!-- Twitter cards, OpenGraph and Slack unfurling -->
  20. <meta name="twitter:card" content="summary" />
  21. {% if resource.meta.twittertitle %}
  22. <meta property="og:title" content="{{ resource.meta.twittertitle }}" />
  23. {% else %}
  24. <meta property="og:title" content="{{ resource.meta.title }}" />
  25. {% endif %}
  26. <meta property="og:description" content="{{ resource.meta.description }}" />
  27. {% if resource.meta.image %} <meta property="og:image" content="{{ resource.meta.image }}" />{% endif %}
  28. {% if resource.meta.imagealt %} <meta name="twitter:image:alt" content="{{ resource.meta.imagealt }}" />{% endif %}
  29. {% if resource.meta.twitterlabel1 %} <meta name="twitter:label1" content="{{ resource.meta.twitterlabel1 }}" />{% endif %}
  30. {% if resource.meta.twitterlabel2 %} <meta name="twitter:label2" content="{{ resource.meta.twitterlabel2 }}" />{% endif %}
  31. {% if resource.meta.twitterdata1 %} <meta name="twitter:data1" content="{{ resource.meta.twitterdata1 }}" />{% endif %}
  32. {% if resource.meta.twitterdata2 %} <meta name="twitter:data2" content="{{ resource.meta.twitterdata2 }}" />{% endif %}
  33. <title>{% block title %}{{ resource.meta.title }}{% endblock %}</title>
  34. <meta name="description" content="{{ resource.meta.description }}">
  35. <meta name="author" content="{{ resource.meta.author }}">
  36. <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  37. <meta name="viewport" content="{{ resource.meta.viewport }}">
  38. {% block favicons %}
  39. <link rel="apple-touch-icon" sizes="57x57" href="{{ media_url('/ico/apple-icon-57x57.png') }}">
  40. <link rel="apple-touch-icon" sizes="60x60" href="{{ media_url('/ico/apple-icon-60x60.png') }}">
  41. <link rel="apple-touch-icon" sizes="72x72" href="{{ media_url('/ico/apple-icon-72x72.png') }}">
  42. <link rel="apple-touch-icon" sizes="76x76" href="{{ media_url('/ico/apple-icon-76x76.png') }}">
  43. <link rel="apple-touch-icon" sizes="114x114" href="{{ media_url('/ico/apple-icon-114x114.png') }}">
  44. <link rel="apple-touch-icon" sizes="120x120" href="{{ media_url('/ico/apple-icon-120x120.png') }}">
  45. <link rel="apple-touch-icon" sizes="144x144" href="{{ media_url('/ico/apple-icon-144x144.png') }}">
  46. <link rel="apple-touch-icon" sizes="152x152" href="{{ media_url('/ico/apple-icon-152x152.png') }}">
  47. <link rel="apple-touch-icon" sizes="180x180" href="{{ media_url('/ico/apple-icon-180x180.png') }}">
  48. <link rel="icon" type="image/png" sizes="192x192" href="{{ media_url('/ico/android-icon-192x192.png') }}">
  49. <link rel="icon" type="image/png" sizes="32x32" href="{{ media_url('/ico/favicon-32x32.png') }}">
  50. <link rel="icon" type="image/png" sizes="96x96" href="{{ media_url('/ico/favicon-96x96.png') }}">
  51. <link rel="icon" type="image/png" sizes="16x16" href="{{ media_url('/ico/favicon-16x16.png') }}">
  52. <link rel="manifest" href="{{ media_url('/ico/manifest.json') }}">
  53. <meta name="msapplication-TileColor" content="#ffffff">
  54. <meta name="msapplication-TileImage" content="{{ media_url('/ico/ms-icon-144x144.png') }}">
  55. <meta name="theme-color" content="#ffffff">
  56. {% endblock favicons %}
  57. {% block css %}
  58. <link rel="stylesheet" href="{{ media_url('css/site.css') }}">
  59. <link rel="stylesheet" href="{{ media_url('css/syntax.css') }}">
  60. {% endblock css %}
  61. {% block headjs %}
  62. <!-- All JavaScript at the bottom, except for Modernizr which
  63. enables HTML5 elements & feature detects -->
  64. <script src="{{ media_url('js/libs/modernizr-1.7.min.js') }}"></script>
  65. {% endblock headjs %}
  66. {% block endhead %}{% endblock endhead %}
  67. </head>
  68. <body id="{{ resource.meta.id if resource.meta.id else resource.slug }}">
  69. {% block content %}
  70. <div class="site" id="main" role="main">
  71. {% block container %}
  72. <header class="banner clearfix title">
  73. {% block header -%}
  74. <h1><a href="/">BaySec</a></h1>
  75. <h3>San Francisco Security Meetup</h3>
  76. {%- endblock %}
  77. </header>
  78. <section class="content">
  79. {% block main %}
  80. {% endblock main %}
  81. </section>
  82. {% endblock container %}
  83. <footer>
  84. <div class="footer">
  85. <div class="contact">
  86. <ul>
  87. <li><a href="/calendar.ics">Calendar</a></li>
  88. <li><a href="https://twitter.com/search?f=live&vertical=default&q=%23baysec&src=typd">Twitter</a></li>
  89. <li class="copyright">Brought to you by <a href="https://www.funkthat.com/gitea/jmg/baysec">some folks</a>.</li>
  90. </div>
  91. </div>
  92. </footer>
  93. </div>
  94. {% endblock content%}
  95. {% block js %}
  96. <!-- Javascript at the bottom for fast page loading -->
  97. {% block jquery %}
  98. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  99. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
  100. <script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
  101. {% endblock jquery %}
  102. {% block scripts %}
  103. {% endblock scripts %}
  104. <!--[if lt IE 7 ]>
  105. <script src="js/libs/dd_belatedpng.js"></script>
  106. <script>DD_belatedPNG.fix('img, .png_bg'); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
  107. <![endif]-->
  108. {% block analytics %}
  109. {% include "analytics.j2" %}
  110. {% endblock analytics %}
  111. {% endblock js %}
  112. </body>
  113. </html>