Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 127 lines (120 sloc) 4.339 kb
7bdb2b90 »
2011-05-05 Add 404 error pages.
1 {# -*- html -*- #}
b4bbe64c »
2011-05-05 Initial commit.
2 <!doctype html>
1ce34edb »
2011-10-17 css: make inline-block compatible with IE7 everywhere
3 <html class="no-js" lang="{{ resource.meta.language }}">
b4bbe64c »
2011-05-05 Initial commit.
4 <head>
0db1ba56 »
2011-05-29 HTML: remove uneeded self-close stuff from <head>
5 <meta charset="utf-8">
222572f5 »
2011-06-26 Templates: escape most text contents
6 <title>{{ resource.meta.title|e }} | {{ resource.meta.author|e }}</title>
7 <meta name="keywords" content="{{ resource.meta.keywords|e }}">
8 <meta name="author" content="{{ resource.meta.author|e }}">
0db1ba56 »
2011-05-29 HTML: remove uneeded self-close stuff from <head>
9 <meta name="viewport" content="width=device-width,initial-scale=1.0">
83681244 »
2011-05-29 HTML: add an "Apple Touch" icon.
10 <link rel="apple-touch-icon-precomposed" href="{{ media_url('images/l/apple-touch-icon.png') }}">
bf72bff3 »
2011-07-01 Add canonical URL
11 <link rel="canonical" href="{{base}}{{ content_url(resource.url) }}">
0db1ba56 »
2011-05-29 HTML: remove uneeded self-close stuff from <head>
12 <link rel="alternate" href="{{ content_url( resource.meta.language + '/blog/atom.xml') }}" type="application/atom+xml" title="ATOM feed">
2160077c »
2011-09-29 Move fonts to Google Web Fonts.
13 <link rel="stylesheet"
14 href="//fonts.googleapis.com/css?family=Droid+Serif:400,400italic,700|Droid+Sans:700|Inconsolata">
0db1ba56 »
2011-05-29 HTML: remove uneeded self-close stuff from <head>
15 <link rel="stylesheet" href="{{ media_url('css/luffy.css') }}" type="text/css">
dee532a2 »
2011-05-13 Add resume.
16 {% block stylesheets %}{% endblock %}
11e30aaf »
2011-05-27 JS: Move modernizr out of js/libs/ since it is a custom build.
17 <script src="{{ media_url('js/modernizr.js') }}"></script>
b4bbe64c »
2011-05-05 Initial commit.
18 </head>
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
19 {% if resource.meta.class is defined %}
20 <body class="lf-{{ resource.meta.class }}">
21 {% else %}
22 <body>
23 {% endif %}
b4bbe64c »
2011-05-05 Initial commit.
24
7bdb2b90 »
2011-05-05 Add 404 error pages.
25 {# Navigation bar #}
b4bbe64c »
2011-05-05 Initial commit.
26 <nav id="lf-navbar">
27 <div id="lf-homeicon">
5c21beb4 »
2011-08-26 Add a rel="author" to home page.
28 <a class="lf-sprite lf-sprite-strawhat" rel="author"
a53bb732 »
2011-05-16 Use CSS sprite for some images.
29 href="{{ content_url( resource.meta.language ) }}/"></a>
b4bbe64c »
2011-05-05 Initial commit.
30 </div>
31 <div id="lf-menubar">
452fac42 »
2011-05-07 Enhance search engine.
32 <form id="lf-search" action="//www.google.com/search">
eac4077d »
2011-07-30 css: rework a bit how the search engine is displayed
33 <i id="lf-search-glass"><input type="submit" class="lf-sprite lf-sprite-search" value=""></i>
452fac42 »
2011-05-07 Enhance search engine.
34 <input type="hidden" name="hl" value="{{ resource.meta.language }}">
4fe00bbd »
2011-08-24 search: when using Google Search, search with the appropriate language
35 <input type="hidden" name="q" value="site:vincent.bernat.im/{{ resource.meta.language }}/*">
b4bbe64c »
2011-05-05 Initial commit.
36 <input id="lf-search-query" type="text" name="q"
222572f5 »
2011-06-26 Templates: escape most text contents
37 placeholder="{{resource.meta.l10n.search|e}}" value="">
b4bbe64c »
2011-05-05 Initial commit.
38 </form>
39 {% include "menu.j2" %}
40 </div>
41 </nav>
89e2f9fc »
2011-08-24 search: search engine with Bing.
42 <div id="lf-search-results">
43 <div id="lf-search-results-results"></div>
44 <span id="lf-search-results-close"
45 class="lf-sprite lf-sprite-slimbox-close"></span>
46 </div>
6db348eb »
2011-05-22 CSS: use of CSS media query for small screens.
47
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
48 {% include "sidebar.j2" %}
b4bbe64c »
2011-05-05 Initial commit.
49
7bdb2b90 »
2011-05-05 Add 404 error pages.
50 {# Pages #}
b4bbe64c »
2011-05-05 Initial commit.
51 <div id="lf-pages">
52 <div id="lf-page-1"></div>
53 <div id="lf-page-2"></div>
54 <div id="lf-page">
b7e98218 »
2011-10-17 microformats: remove some useless markups
55 <article>
bee9b7e5 »
2011-08-27 More microdata/microformat.
56 {% block header %}
b4bbe64c »
2011-05-05 Initial commit.
57 <header>
b7e98218 »
2011-10-17 microformats: remove some useless markups
58 <h1>{{resource.meta.title|typogrify|e}}</h1>
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
59 {% if resource.meta.author != None %}
b7e98218 »
2011-10-17 microformats: remove some useless markups
60 <h2>{{resource.meta.author|e}}</h2>
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
61 {% endif %}
62 {% from "macros.j2" import resource_date with context %}
63 {{ resource_date(resource) }}
b4bbe64c »
2011-05-05 Initial commit.
64 </header>
bee9b7e5 »
2011-08-27 More microdata/microformat.
65 {% endblock %}
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
66 {% block main %}
b7e98218 »
2011-10-17 microformats: remove some useless markups
67 <div id="lf-main" role="main">
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
68 {% filter markdown|typogrify -%}
69 {% mark article -%}{% block article -%}{%- endblock %}{%- endmark %}
70 {%- endfilter %}
add3e774 »
2011-05-18 CSS: center images only in main article, not in comments.
71 </div>
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
72 {% endblock %}
b7e98218 »
2011-10-17 microformats: remove some useless markups
73 </article>
060f5378 »
2011-06-17 layout: push out prev/next navigation out of the main layout
74 {% include "prevnext.j2" %}
75 {% include "comments.j2" %}
b4bbe64c »
2011-05-05 Initial commit.
76 </div>
77 </div>
b2084d6b »
2011-05-05 Add multilanguage stuff.
78
7bdb2b90 »
2011-05-05 Add 404 error pages.
79 {# Footer #}
b4bbe64c »
2011-05-05 Initial commit.
80 <footer>
1ce34edb »
2011-10-17 css: make inline-block compatible with IE7 everywhere
81 <div>
222572f5 »
2011-06-26 Templates: escape most text contents
82 <h3>{{ resource.meta.l10n.otherlinks|e }}</h3>
16328ff6 »
2011-05-13 CSS: Rework a bit the footer to work better when width is small.
83 <ul>
84 <li><a href="https://github.com/vincentbernat">GitHub</a></li>
85 <li><a href="http://www.linkedin.com/in/vincentbernat">LinkedIn</a></li>
86 <li><a href="http://qa.debian.org/developer.php?login=bernat">Debian</a></li>
87 <li><a href="http://delicious.com/vbernat/">Delicious</a></li>
88 <li><a href="http://twitter.com/vince2_">@vince2_</a></li>
89 </ul>
90 </div>
91
1ce34edb »
2011-10-17 css: make inline-block compatible with IE7 everywhere
92 <div>
16328ff6 »
2011-05-13 CSS: Rework a bit the footer to work better when width is small.
93 <h3>Sources</h3>
94 <ul>
95 <li>Powered by <a href="http://ringce.com/hyde">Hyde</a></li>
96 <li><a href="https://github.com/vincentbernat/www.luffy.cx">Site</a></li>
97 <li>
98 <a href="https://github.com/vincentbernat/www.luffy.cx/tree/master/content/{{ resource.relative_path }}">Page</a>
99 </li>
100 </ul>
101 </div>
bee9b7e5 »
2011-08-27 More microdata/microformat.
102 <address class="vcard author">
103 © 2011 <a class="fn email" href="mailto:vincent@bernat.im">Vincent Bernat</a>
178b0870 »
2011-06-18 HTML: replace place-holder <span>s by <i>s which is shorter
104 <a class="lf-sprite lf-sprite-rss"
a53bb732 »
2011-05-16 Use CSS sprite for some images.
105 href="{{ content_url(resource.meta.language + '/blog/atom.xml') }}">
106 &nbsp;
178b0870 »
2011-06-18 HTML: replace place-holder <span>s by <i>s which is shorter
107 </a>
b4bbe64c »
2011-05-05 Initial commit.
108 </address>
109 </footer>
110
8ea6d14c »
2011-05-06 Rework javascript loading.
111 {# Load remaining scripts #}
b4bbe64c »
2011-05-05 Initial commit.
112 <script>
8ea6d14c »
2011-05-06 Rework javascript loading.
113 yepnope([{
cd8a1fb1 »
2011-10-09 js: upgrade to jQuery 1.6.4.
114 load: '//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js',
4dbb6da0 »
2011-07-02 JS: fix fallback to jQuery
115 callback: function () {
116 if (!window.jQuery) {
cd8a1fb1 »
2011-10-09 js: upgrade to jQuery 1.6.4.
117 yepnope({ load: '{{ media_url("js/libs/jquery-1.6.4.js") }}' });
4dbb6da0 »
2011-07-02 JS: fix fallback to jQuery
118 }
119 }
8ea6d14c »
2011-05-06 Rework javascript loading.
120 },{
a8da340c »
2011-06-09 JS: don't end objects with a comma, this is not allowed.
121 load: '{{ media_url("js/luffy.js") }}'
8ea6d14c »
2011-05-06 Rework javascript loading.
122 }]);
b4bbe64c »
2011-05-05 Initial commit.
123 </script>
124
125 {% include "analytics.j2" %}
126 </body>
127 </html>
Something went wrong with that request. Please try again.