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.
 
 
 
 
 

100 lines
3.8 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. <!-- Place favicon.ico & apple-touch-icon.png
  26. in the root of your domain and delete these references -->
  27. <link rel="shortcut icon" href="{{ media_url('/images/favicon.ico') }}">
  28. <link rel="apple-touch-icon" href="{{ media_url('/images/apple-touch-icon.png') }}">
  29. {% endblock favicons %}
  30. {% block css %}
  31. <link rel="stylesheet" href="{{ media_url('css/site.css') }}">
  32. <link rel="stylesheet" href="{{ media_url('css/syntax.css') }}">
  33. {% endblock css %}
  34. {% block headjs %}
  35. <!-- All JavaScript at the bottom, except for Modernizr which
  36. enables HTML5 elements & feature detects -->
  37. <script src="{{ media_url('js/libs/modernizr-1.7.min.js') }}"></script>
  38. {% endblock headjs %}
  39. {% block endhead %}{% endblock endhead %}
  40. </head>
  41. <body id="{{ resource.meta.id if resource.meta.id else resource.slug }}">
  42. {% block content %}
  43. <div class="site" id="main" role="main">
  44. {% block container %}
  45. <header class="banner clearfix title">
  46. {% block header -%}
  47. <h1>BaySec</h1>
  48. <h3>SF Bay Area Security Professional Meetup</h3>
  49. {%- endblock %}
  50. </header>
  51. <section class="content">
  52. {% block main %}
  53. {% endblock main %}
  54. </section>
  55. {% endblock container %}
  56. <footer>
  57. <div class="footer">
  58. <div class="contact">
  59. <ul>
  60. <li><a href="/calendar.ics">Calendar</a></li>
  61. <li><a href="https://twitter.com/search?f=tweets&vertical=default&q=%23baysec&src=typd">Twitter</a></li>
  62. <li class="copyright">Brought to you by <a href="https://github.com/baysec/baysec">some folks</a>.</li>
  63. </div>
  64. </div>
  65. </footer>
  66. </div>
  67. {% endblock content%}
  68. {% block js %}
  69. <!-- Javascript at the bottom for fast page loading -->
  70. {% block jquery %}
  71. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  72. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
  73. <script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
  74. {% endblock jquery %}
  75. {% block scripts %}
  76. {% endblock scripts %}
  77. <!--[if lt IE 7 ]>
  78. <script src="js/libs/dd_belatedpng.js"></script>
  79. <script>DD_belatedPNG.fix('img, .png_bg'); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
  80. <![endif]-->
  81. {% block analytics %}
  82. {% include "analytics.j2" %}
  83. {% endblock analytics %}
  84. {% endblock js %}
  85. </body>
  86. </html>