base.html 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. <!--
  2. _ _ _ __ _ _
  3. | | (_)| | / _|| |(_)
  4. | | _ | |__ _ __ ___ | |_ | | _ __ __
  5. | | | || '_ \ | '__|/ _ \| _|| || |\ \/ /
  6. | |____ | || |_) || | | __/| | | || | > <
  7. |______||_||_.__/ |_| \___||_| |_||_|/_/\_\
  8. Hey, friend. Check out the source-code at notabug.org/libreflix
  9. -->
  10. <!DOCTYPE html>
  11. <html lang="{{ DEFAULT_LANG }}">
  12. <head>
  13. <meta charset="utf-8">
  14. <title>{% block title %}{{ SITENAME }}{% endblock %}</title>
  15. <link rel="icon" type="image/png" href="/images/libre-icon.png" />
  16. <meta name="description" content="">
  17. <meta name="author" content="{{ AUTHOR }}">
  18. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  19. <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
  20. <!--[if lt IE 9]>
  21. <script src="{{ SITEURL }}/theme/html5.js"></script>
  22. <![endif]-->
  23. <!-- Le styles -->
  24. <link href="{{ SITEURL }}/theme/bootstrap.min.css" rel="stylesheet">
  25. <link href="{{ SITEURL }}/theme/bootstrap.min.responsive.css" rel="stylesheet">
  26. <link href="{{ SITEURL }}/theme/local.css" rel="stylesheet">
  27. <link href="{{ SITEURL }}/theme/pygments.css" rel="stylesheet">
  28. <!-- So Firefox can bookmark->"abo this site" -->
  29. {% if FEED_ALL_ATOM %}
  30. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
  31. {% endif %}
  32. {% if FEED_ATOM %}
  33. <link href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate" title="{{ SITENAME }}" type="application/atom+xml">
  34. {% endif %}
  35. {% if FEED_RSS %}
  36. <link href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
  37. {% endif %}
  38. {% if FEED_ALL_RSS %}
  39. <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" rel="alternate" title="{{ SITENAME }}" type="application/rss+xml">
  40. {% endif %}
  41. </head>
  42. <body>
  43. <div class="navbar">
  44. <div class="navbar-inner">
  45. <div class="container">
  46. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
  47. <span class="icon-bar"></span>
  48. <span class="icon-bar"></span>
  49. <span class="icon-bar"></span>
  50. </a>
  51. <a href="/">
  52. <img src="/images/libreflix-blog.png" class="logo">
  53. </a>
  54. <div class="nav-collapse">
  55. <ul class="nav">
  56. {% for title, link in MENUITEMS %}
  57. <li><a href="{{ link }}">{{ title }}</a></li>
  58. {% endfor %}
  59. {% if DISPLAY_PAGES_ON_MENU %}
  60. {% for page in pages %}
  61. <li><a href="{{ SITEURL }}/{{ page.url }}">{{ page.title }}</a></li>
  62. {% endfor %}
  63. {% endif %}
  64. </ul>
  65. </div>
  66. </div>
  67. </div>
  68. </div>
  69. <div class="container">
  70. <div class="content">
  71. <div class="row">
  72. <div class="span9">
  73. {% block content %}{% endblock %}
  74. </div>
  75. <div class="span3">
  76. <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
  77. <ul class="nav nav-list">
  78. <li class="nav-header">
  79. Site
  80. </li>
  81. <li><a href="{{ SITEURL }}/archives.html">Arquivo</a>
  82. <li><a href="{{ SITEURL }}/tags.html">Tags</a>
  83. {% if FEED_ALL_ATOM %}
  84. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" rel="alternate">Atom feed</a></li>
  85. {% endif %}
  86. {% if FEED_ATOM %}
  87. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ATOM }}" rel="alternate">Atom feed</a></li>
  88. {% endif %}
  89. {% if FEED_RSS %}
  90. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li>
  91. {% endif %}
  92. {% if FEED_ALL_RSS %}
  93. <li><a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" rel="alternate">RSS feed</a></li>
  94. {% endif %}
  95. </ul>
  96. </div>
  97. {% if categories %}
  98. <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
  99. <ul class="nav nav-list">
  100. <li class="nav-header">
  101. Categorias
  102. </li>
  103. {% for cat, null in categories %}
  104. <li><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
  105. {% endfor %}
  106. </ul>
  107. </div>
  108. {% endif %}
  109. {% if LINKS %}
  110. <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
  111. <ul class="nav nav-list">
  112. <li class="nav-header">
  113. Links
  114. </li>
  115. {% for name, link in LINKS %}
  116. <li><a href="{{ link }}">{{ name }}</a></li>
  117. {% endfor %}
  118. </ul>
  119. </div>
  120. {% endif %}
  121. {% if SOCIAL %}
  122. <div class="social">
  123. <div class="well" style="padding: 8px 0; background-color: #FBFBFB;">
  124. <ul class="nav nav-list">
  125. <li class="nav-header">
  126. Social
  127. </li>
  128. {% for name, link in SOCIAL %}
  129. <li><a href="{{ link }}" target="_blank">{{ name }}</a></li>
  130. {% endfor %}
  131. </ul>
  132. </div>
  133. </div>
  134. {% endif %}
  135. </div> {# End span3 #}
  136. </div> {# End row #}
  137. </div> {# End content #}
  138. </div> <!-- /container -->
  139. <hr>
  140. <div class="container">
  141. <div class="content">
  142. <div class="row-fluid">
  143. <footer>
  144. <br />
  145. {% if articles %}
  146. {% set copy_date = articles[0].date.strftime('%Y') %}
  147. {% else %}
  148. {% set copy_date = '' %}
  149. {% endif %}
  150. <div class="span2 logo-footer">
  151. <img src="/images/libreflix-logo.png" width="150px">
  152. <br>
  153. <a href="https://libreflix.org">Libreflix</a> | <a href="https://libreflix.org/apps">Apps</a> | <a href="/">Blog</a>
  154. </div>
  155. <div class="span6">
  156. <div class="about-footer">
  157. Libreflix é uma plataforma de streaming aberta e colaborativa que reúne produções audiovisuais independentes, provocativas e de livre exibição.
  158. </div>
  159. </div>
  160. <!--<div class="span2 links-footer">
  161. <b>Blog</b>
  162. <br>
  163. Posts
  164. <br>
  165. Na Mídia
  166. <br>
  167. </div>
  168. <div class="span2 links-footer">
  169. <b>Libreflix</b>
  170. </div>-->
  171. </div><!-- row footer-->
  172. </div><!-- content footer-->
  173. </div><!-- Container footer-->
  174. <br><br>
  175. </footer>
  176. <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
  177. <script src="{{ SITEURL }}/theme/bootstrap-collapse.js"></script>
  178. <script type="text/javascript" charset="utf-8">
  179. // Creating custom :external selector
  180. $.expr[':'].external = function(obj) {
  181. return !obj.href.match(/^mailto\:/) &&
  182. (obj.hostname != location.hostname);
  183. };
  184. $(function() {
  185. // Add 'external' CSS class to all external links
  186. $('a:external').addClass('external');
  187. // turn target into target=_blank for elements w external class
  188. $(".external").attr('target', '_blank');
  189. });
  190. $(document).ready(function() {
  191. $('.container').fadeIn();
  192. });
  193. </script>
  194. {% include "analytics.html" %}
  195. {% include "github.html" %}
  196. </body>
  197. </html>