A fork of hyde, the static site generation. Some patches will be pushed upstream.
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.
 
 
 

57 lines
1.9 KiB

  1. {% extends "root.html" %}
  2. {% block all %}
  3. <!doctype html>
  4. <html lang="en">
  5. <head>
  6. {% block starthead %}{% endblock starthead %}
  7. <meta charset="{{resource.meta.charset|default('utf-8')}}">
  8. <meta http-equiv="X-UA-Compatible" content="{{resource.meta.compatibility|default('IE=edge,chrome=1')}}">
  9. <title>{% block title %}{{resource.meta.title}}{% endblock %}</title>
  10. <meta name="description" content="{{resource.meta.description}}">
  11. <meta name="author" content="{{resource.meta.author}}">
  12. <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  13. <meta name="viewport" content="{{resource.meta.viewport|default('width=device-width, initial-scale=1.0')}}">
  14. {% block favicons %}
  15. <!-- Place favicon.ico & apple-touch-icon.png in the root of your domain and delete these references -->
  16. <link rel="shortcut icon" href="{{ media_url('/favicon.ico') }}">
  17. <link rel="apple-touch-icon" href="{{ media_url('/apple-touch-icon.png') }}">
  18. {% endblock favicons %}
  19. {% block css %}
  20. <link rel="stylesheet" href="{{ media_url('css/site.css') }}">
  21. {% endblock css %}
  22. {% block endhead %}{% endblock endhead %}
  23. </head>
  24. <body id="{{resource.id if resource.id else resource.name_without_extension}}">
  25. {% block content %}
  26. <div id="container">
  27. {% block container %}
  28. <header>
  29. {% block header %}{% endblock header %}
  30. </header>
  31. <div id="main" role="main">
  32. {% block main %}{% endblock main %}
  33. </div>
  34. <footer>
  35. {% block footer %}{% endblock %}
  36. </footer>
  37. {% endblock container%}
  38. </div> <!--! end of #container -->
  39. {% endblock content%}
  40. {% block js %}
  41. <!-- Javascript at the bottom for fast page loading -->
  42. {% block jquery %}
  43. <!-- Grab Google CDN's jQuery. fall back to local if necessary -->
  44. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.js"></script>
  45. {% endblock jquery %}
  46. {% block scripts %}{% endblock scripts %}
  47. {%endblock js %}
  48. </body>
  49. </html>
  50. {% endblock all %}