/_layouts/default.html

https://github.com/To1ne/writepermission · HTML · 96 lines · 93 code · 3 blank · 0 comment · 0 complexity · a824d0a3b4cab0209df835d9f3a9326f MD5 · raw file

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>{% assign maintitle = 'rw-r--r-- | writepermission.com' %}
  5. {% if page.title %}<title>{{ page.title }} ~ {{ maintitle }}</title>
  6. {% else %}<title>{{ maintitle }}</title>{% endif %}
  7. <link rel="stylesheet" href="/css/style.css" type="text/css" />
  8. <link href="http://feeds.feedburner.com/writepermission" rel="alternate" title="rw-r--r-- | writepermission.com" type="application/atom+xml" />
  9. <meta name="robots" content="index,follow" />
  10. <meta name="author" content="Toon Claes" />
  11. <meta name="copyright" content="Copyright (c) 2009" />
  12. <meta name="description" content="permitted to write..." />
  13. <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
  14. </head>
  15. <body>
  16. <div id="container">
  17. <div id="header">
  18. <div id="dasher-fixed">{% capture dashing %}{% for i in (1..150) %}-{% endfor %}{% endcapture %}
  19. <h1 class="pre" >{{ dashing }}</h1>
  20. <h1 class="post">{{ dashing }}</h1>
  21. </div><!-- #dasher-fixed -->
  22. <div id="dasher">
  23. <h1 class="undash">---------</h1>
  24. <h1 class="title"><a href="/" title="rw-r--r--">rw-r--r--</a></h1>
  25. <h2>permitted to write...</h2>
  26. </div><!-- #dasher -->
  27. </div><!-- #header -->
  28. <div id="content">
  29. {{ content }}
  30. {% if paginator.total_pages > 1 %}
  31. <ul id="nav">
  32. {% capture prevattr %}
  33. {% if paginator.previous_page %}
  34. {% if paginator.previous_page > 1 %}
  35. href="/page{{ paginator.previous_page }}"
  36. {% else %}
  37. href="/"
  38. {% endif %}
  39. {% else %}
  40. class="hide"
  41. {% endif %}
  42. {% endcapture %}
  43. <li class="prev"><a {{ prevattr | strip_newlines | remove:' ' }} title="Go to previous page">&laquo; Previous</a></li>
  44. <li class="current">Page <strong>{{ paginator.page }}</strong> of <strong>{{ paginator.total_pages }}</strong></li>
  45. {% capture nextattr %}
  46. {% if paginator.next_page %}
  47. href="/page{{ paginator.next_page }}"
  48. {% else %}
  49. class="hide"
  50. {% endif %}
  51. {% endcapture %}
  52. <li class="next"><a {{ nextattr | strip_newlines | remove:' ' }} title="Go to next page">Next &raquo;</a></li>
  53. </ul>
  54. {% endif %}
  55. </div><!-- #content -->
  56. <div id="side">
  57. <div class="box">
  58. <h1>Search</h1>
  59. <div class="search-wrapper">
  60. <iframe class="search-box" src="https://duckduckgo.com/search.html?site=writepermission.com&prefill=search"></iframe>
  61. </div>
  62. </div><!-- #box -->
  63. <div class="box">
  64. <h1>Meta</h1>
  65. <ul>
  66. <li><a href="http://feeds.feedburner.com/writepermission">RSS feed</a></li>
  67. </ul>
  68. </div><!-- #box -->
  69. <div class="box last">
  70. <h1>About</h1>
  71. <ul>
  72. <li><a href="http://iotcl.com">Personal webpage</a></li>
  73. <li>Twitter: <a href="http://twitter.com/to1ne">@To1ne</a></li>
  74. </ul>
  75. </div><!-- #box -->
  76. </div><!-- #side -->
  77. </div>
  78. <script type="text/javascript">
  79. //<![CDATA[
  80. (function() {
  81. var links = document.getElementsByTagName('a');
  82. var query = '?';
  83. for(var i = 0; i < links.length; i++) {
  84. if(links[i].href.indexOf('#disqus_thread') >= 0) {
  85. query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
  86. }
  87. }
  88. document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/writepermission/get_num_replies.js' + query + '"></' + 'script>');
  89. })();
  90. //]]>
  91. </script>
  92. </body>
  93. </html>