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.

167 lines
9.7 KiB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!-- Standard Meta -->
  5. <meta charset="utf-8" />
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
  7. <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
  8. <link rel="image_src" type="image/jpeg" href="images/share.png" />
  9. <!-- Site Properities -->
  10. <%- @getBlock('meta').toHTML() %>
  11. <title><%= @getPreparedTitle() %></title>
  12. <meta name="description" content="<%= @getPreparedDescription() %>" />
  13. <meta name="keywords" content="<%= @getPreparedKeywords() %>" />
  14. <% if 'development' in @getEnvironments(): %>
  15. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/globals/reset.css">
  16. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/globals/site.css">
  17. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/icon.css">
  18. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/button.css">
  19. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/divider.css">
  20. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/flag.css">
  21. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/header.css">
  22. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/image.css">
  23. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/input.css">
  24. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/label.css">
  25. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/list.css">
  26. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/loader.css">
  27. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/rail.css">
  28. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/reveal.css">
  29. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/segment.css">
  30. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/elements/step.css">
  31. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/collections/breadcrumb.css">
  32. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/collections/form.css">
  33. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/collections/grid.css">
  34. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/collections/menu.css">
  35. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/collections/message.css">
  36. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/collections/table.css">
  37. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/views/card.css">
  38. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/views/comment.css">
  39. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/views/feed.css">
  40. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/views/item.css">
  41. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/views/statistic.css">
  42. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/modal.css">
  43. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/accordion.css">
  44. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/dropdown.css">
  45. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/nag.css">
  46. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/popup.css">
  47. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/progress.css">
  48. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/rating.css">
  49. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/sidebar.css">
  50. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/search.css">
  51. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/shape.css">
  52. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/sticky.css">
  53. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/tab.css">
  54. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/checkbox.css">
  55. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/dimmer.css">
  56. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/transition.css">
  57. <link rel="stylesheet" type="text/css" class="ui" href="/build/uncompressed/definitions/modules/video.css">
  58. <% else: %>
  59. <link rel="stylesheet" type="text/css" class="ui" href="/build/packaged/definitions/css/semantic.min.css">
  60. <% end %>
  61. <!-- <link rel="stylesheet/less" type="text/css" href="/build/less/definitions/site.less" /> -->
  62. <link href='http://fonts.googleapis.com/css?family=Lato:300,400,700,300italic,700italic' rel='stylesheet' type='text/css'>
  63. <link rel="stylesheet" type="text/css" href="/stylesheets/doc-icon.css">
  64. <link rel="stylesheet" type="text/css" href="/stylesheets/semantic.css">
  65. <% if 'development' in @getEnvironments(): %>
  66. <script>
  67. (function () {
  68. var
  69. eventSupport = ('querySelector' in document && 'addEventListener' in window)
  70. jsonSupport = (typeof JSON !== 'undefined'),
  71. jQuery = (eventSupport && jsonSupport)
  72. ? '/javascript/library/jquery.js'
  73. : '/javascript/library/jquery.legacy.js'
  74. ;
  75. document.write('<script src="' + jQuery + '"><\/script>');
  76. }());
  77. </script>
  78. <% else: %>
  79. <script>
  80. (function () {
  81. var
  82. eventSupport = ('querySelector' in document && 'addEventListener' in window)
  83. jsonSupport = (typeof JSON !== 'undefined'),
  84. jQuery = (eventSupport && jsonSupport)
  85. ? '/javascript/library/jquery.min.js'
  86. : '/javascript/library/jquery.legacy.min.js'
  87. ;
  88. document.write('<script src="' + jQuery + '"><\/script>');
  89. }());
  90. </script>
  91. <% end %>
  92. <script src="/javascript/library/history.js"></script>
  93. <script src="/javascript/library/easing.js"></script>
  94. <script src="/javascript/library/ace/ace.js"></script>
  95. <script src="/javascript/library/tablesort.js"></script>
  96. <script src="/javascript/library/typing.js"></script>
  97. <% if 'development' in @getEnvironments(): %>
  98. <script src="/build/uncompressed/definitions/globals/site.js"></script>
  99. <script src="/build/uncompressed/definitions/behaviors/api.js"></script>
  100. <script src="/build/uncompressed/definitions/behaviors/visibility.js"></script>
  101. <script src="/build/uncompressed/definitions/behaviors/state.js"></script>
  102. <script src="/build/uncompressed/definitions/modules/accordion.js"></script>
  103. <script src="/build/uncompressed/definitions/modules/checkbox.js"></script>
  104. <script src="/build/uncompressed/definitions/modules/dimmer.js"></script>
  105. <script src="/build/uncompressed/definitions/modules/dropdown.js"></script>
  106. <script src="/build/uncompressed/definitions/modules/modal.js"></script>
  107. <script src="/build/uncompressed/definitions/modules/nag.js"></script>
  108. <script src="/build/uncompressed/definitions/modules/popup.js"></script>
  109. <script src="/build/uncompressed/definitions/modules/progress.js"></script>
  110. <script src="/build/uncompressed/definitions/modules/rating.js"></script>
  111. <script src="/build/uncompressed/definitions/modules/search.js"></script>
  112. <script src="/build/uncompressed/definitions/modules/shape.js"></script>
  113. <script src="/build/uncompressed/definitions/modules/sidebar.js"></script>
  114. <script src="/build/uncompressed/definitions/modules/sticky.js"></script>
  115. <script src="/build/uncompressed/definitions/modules/tab.js"></script>
  116. <script src="/build/uncompressed/definitions/modules/transition.js"></script>
  117. <script src="/build/uncompressed/definitions/modules/video.js"></script>
  118. <% else: %>
  119. <script src="/build/packaged/definitions/javascript/semantic.min.js"></script>
  120. <% end %>
  121. <script src="/javascript/semantic.js"></script>
  122. <script>
  123. (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  124. (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  125. m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  126. })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  127. ga('create', 'UA-44039803-2', 'auto');
  128. ga('send', 'pageview');
  129. </script>
  130. <script type="text/javascript">
  131. window.liveSettings = {
  132. api_key : '9ede3015b9f84c1aabc81ab839c55d74',
  133. parse_attr : [
  134. 'data-title',
  135. 'data-content'
  136. ],
  137. detectlang : true,
  138. autocollect : true,
  139. ignore_tags : ['i'],
  140. parse_attr : ['data-title', 'data-content', 'data-text'],
  141. ignore_class : ["code", "ace_editor"]
  142. };
  143. </script>
  144. <script type="text/javascript" src="http://cdn.transifex.com/live.js"></script>
  145. </head>
  146. <body id="example" class="pushable <%= @document.css %>" ontouchstart="">
  147. <%- @content %>
  148. <script src="/javascript/library/less.js"></script>
  149. </body>
  150. </html>