diff options
| author | Franck Cuny <franck.cuny@gmail.com> | 2014-01-26 22:10:02 -0800 |
|---|---|---|
| committer | Franck Cuny <franck.cuny@gmail.com> | 2014-02-01 10:15:18 -0800 |
| commit | 09ad8a394bf7deae4e5e1b8dca15163933417c28 (patch) | |
| tree | eb1e2413a7c003c8a0a14758c8cac8e8165d3e69 /_layouts | |
| parent | draft article for vagrant ansible and aws (diff) | |
| download | lumberjaph-09ad8a394bf7deae4e5e1b8dca15163933417c28.tar.gz | |
Major rewrite to get responsive design.
Diffstat (limited to '_layouts')
| -rw-r--r-- | _layouts/default.html | 25 | ||||
| -rw-r--r-- | _layouts/post.html | 18 | ||||
| -rw-r--r-- | _layouts/static.html | 6 |
3 files changed, 31 insertions, 18 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 5691df7..89ab31f 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -6,24 +6,37 @@ <head> <meta charset="utf-8"/> - <meta name="viewport" content="width=device-width"/> + + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="twitter:card" content="summary"> <meta name="twitter:creator" content="@franckcuny"/> <meta name="twitter:site" content="@franckcuny"/> <meta name="twitter:title" content="{{ page.title }}"/> <meta name="twitter:domain" content="lumberjaph.net"> <meta name="twitter:description" content="{{ page.summary }}"> + <title>{{ page.title }} | lumberjaph.net</title> - <link rel="stylesheet" href="/static/css/style.css" type="text/css"/> - <link rel="stylesheet" href="/static/css/pygments.css" type="text/css"/> + {% css_asset_tag global %} + - /_assets/screen.scss + {% endcss_asset_tag %} - <link rel="canonical" href="http://lumberjaph.net{{ page.url | replace:'index.html','' }}" /> + <link rel="stylesheet" href="/assets/pygments.css" type="text/css"/> + <link rel="canonical" href="http://lumberjaph.net{{ page.url | replace:'index.html','' }}" /> </head> -<body> - <div id="container"> {{ content }} </div> +<body style> + + {% include cover.html %} + + <div id="site"> {{ content }} </div> + + {% include footer.html %} + </body> + + </html> diff --git a/_layouts/post.html b/_layouts/post.html index 6014106..1801d73 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,17 +1,15 @@ --- layout: default --- -<h1><a href="{{ page.url }}">{{ page.title }}</a></h1> -<div id="entry"> - {{ content }} +<article id="entry"> - <p class="timestamp"> + <header class="entry-title"> + <h1>{{ page.title }}</h1> + </header> - {{ page.date | date_to_string }} + <section> + {{ content }} + </section> - </p> - -</div> - -{% include footer.html %} +</article> diff --git a/_layouts/static.html b/_layouts/static.html index 0fb107f..6cda4d7 100644 --- a/_layouts/static.html +++ b/_layouts/static.html @@ -2,6 +2,8 @@ layout: default --- -{{ content }} +<div id="site"> -{% include footer.html %} + {{ content }} + +</div> |
