/_layouts/default.html
https://github.com/To1ne/writepermission · HTML · 96 lines · 93 code · 3 blank · 0 comment · 0 complexity · a824d0a3b4cab0209df835d9f3a9326f MD5 · raw file
- <!DOCTYPE html>
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>{% assign maintitle = 'rw-r--r-- | writepermission.com' %}
- {% if page.title %}<title>{{ page.title }} ~ {{ maintitle }}</title>
- {% else %}<title>{{ maintitle }}</title>{% endif %}
- <link rel="stylesheet" href="/css/style.css" type="text/css" />
- <link href="http://feeds.feedburner.com/writepermission" rel="alternate" title="rw-r--r-- | writepermission.com" type="application/atom+xml" />
- <meta name="robots" content="index,follow" />
- <meta name="author" content="Toon Claes" />
- <meta name="copyright" content="Copyright (c) 2009" />
- <meta name="description" content="permitted to write..." />
- <link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
- </head>
- <body>
- <div id="container">
- <div id="header">
- <div id="dasher-fixed">{% capture dashing %}{% for i in (1..150) %}-{% endfor %}{% endcapture %}
- <h1 class="pre" >{{ dashing }}</h1>
- <h1 class="post">{{ dashing }}</h1>
- </div><!-- #dasher-fixed -->
- <div id="dasher">
- <h1 class="undash">---------</h1>
- <h1 class="title"><a href="/" title="rw-r--r--">rw-r--r--</a></h1>
- <h2>permitted to write...</h2>
- </div><!-- #dasher -->
- </div><!-- #header -->
- <div id="content">
- {{ content }}
- {% if paginator.total_pages > 1 %}
- <ul id="nav">
- {% capture prevattr %}
- {% if paginator.previous_page %}
- {% if paginator.previous_page > 1 %}
- href="/page{{ paginator.previous_page }}"
- {% else %}
- href="/"
- {% endif %}
- {% else %}
- class="hide"
- {% endif %}
- {% endcapture %}
- <li class="prev"><a {{ prevattr | strip_newlines | remove:' ' }} title="Go to previous page">« Previous</a></li>
- <li class="current">Page <strong>{{ paginator.page }}</strong> of <strong>{{ paginator.total_pages }}</strong></li>
- {% capture nextattr %}
- {% if paginator.next_page %}
- href="/page{{ paginator.next_page }}"
- {% else %}
- class="hide"
- {% endif %}
- {% endcapture %}
- <li class="next"><a {{ nextattr | strip_newlines | remove:' ' }} title="Go to next page">Next »</a></li>
- </ul>
- {% endif %}
- </div><!-- #content -->
- <div id="side">
- <div class="box">
- <h1>Search</h1>
- <div class="search-wrapper">
- <iframe class="search-box" src="https://duckduckgo.com/search.html?site=writepermission.com&prefill=search"></iframe>
- </div>
- </div><!-- #box -->
- <div class="box">
- <h1>Meta</h1>
- <ul>
- <li><a href="http://feeds.feedburner.com/writepermission">RSS feed</a></li>
- </ul>
- </div><!-- #box -->
- <div class="box last">
- <h1>About</h1>
- <ul>
- <li><a href="http://iotcl.com">Personal webpage</a></li>
- <li>Twitter: <a href="http://twitter.com/to1ne">@To1ne</a></li>
- </ul>
- </div><!-- #box -->
- </div><!-- #side -->
- </div>
- <script type="text/javascript">
- //<![CDATA[
- (function() {
- var links = document.getElementsByTagName('a');
- var query = '?';
- for(var i = 0; i < links.length; i++) {
- if(links[i].href.indexOf('#disqus_thread') >= 0) {
- query += 'url' + i + '=' + encodeURIComponent(links[i].href) + '&';
- }
- }
- document.write('<script charset="utf-8" type="text/javascript" src="http://disqus.com/forums/writepermission/get_num_replies.js' + query + '"></' + 'script>');
- })();
- //]]>
- </script>
- </body>
- </html>