BaySec website source
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 

95 řádky
3.6 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 id="container">
  44. {% block container %}
  45. <div id="main" role="main">
  46. <header class="banner clearfix">
  47. {% block header -%}
  48. <h1>BaySec</h1>
  49. <h3>SF Bay Area Security Professional Meetup</h3>
  50. {%- endblock %}
  51. </header>
  52. <section class="content">
  53. {% block main %}
  54. {% endblock main %}
  55. </section>
  56. </div>
  57. {% endblock container %}
  58. </div> <!--! end of #container -->
  59. <footer>
  60. Powered by <a href="https://github.com/hyde/hyde">hyde</a>.
  61. </footer>
  62. {% endblock content%}
  63. {% block js %}
  64. <!-- Javascript at the bottom for fast page loading -->
  65. {% block jquery %}
  66. <!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
  67. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
  68. <script>window.jQuery || document.write('<script src="js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
  69. {% endblock jquery %}
  70. {% block scripts %}
  71. {% endblock scripts %}
  72. <!--[if lt IE 7 ]>
  73. <script src="js/libs/dd_belatedpng.js"></script>
  74. <script>DD_belatedPNG.fix('img, .png_bg'); // Fix any <img> or .png_bg bg-images. Also, please read goo.gl/mZiyb </script>
  75. <![endif]-->
  76. {% block analytics %}
  77. {% include "analytics.j2" %}
  78. {% endblock analytics %}
  79. {% endblock js %}
  80. </body>
  81. </html>