diff options
Diffstat (limited to '_layouts')
-rw-r--r-- | _layouts/default.html | 5 | ||||
-rw-r--r-- | _layouts/page.html | 17 | ||||
-rw-r--r-- | _layouts/post.html | 20 |
3 files changed, 21 insertions, 21 deletions
diff --git a/_layouts/default.html b/_layouts/default.html index 1030914..f202269 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,18 +3,17 @@ layout: compress --- <!DOCTYPE html> -<html lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}"> +<html class="no-js" lang="{{ site.lang | strip_newlines | strip_html | strip | slugify }}"> {% include head.html %} <body> {% include navbar.html %} - <main> + <main class="container" role="main"> {{ content }} </main> - {% include footer.html %} </body> </html> diff --git a/_layouts/page.html b/_layouts/page.html index 8938b9d..fcb0e0a 100644 --- a/_layouts/page.html +++ b/_layouts/page.html @@ -2,12 +2,13 @@ layout: default --- -<div class="content"> - <article> - <header> - <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> - </header> +<article> + <header class="page-header"> + <h1 class="text-muted"> + {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + <p><small>{{ page.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</small></p> + </h1> + </header> - {{ content }} - </article> -</div> + {{ content }} +</article> diff --git a/_layouts/post.html b/_layouts/post.html index 8cfd061..952b9f6 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,15 +2,15 @@ layout: default --- -<div class="content"> - <article> - <header> - <small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small> - <h1>{{ page.title | default: site.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }}</h1> - </header> +<article> + <header class="page-header"> + <h1 class="text-muted"> + {{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} + <p><small><time datetime="{{ page.date | date_to_xmlschema}}">{{ page.date | date_to_long_string }}</time></small></p> + </h1> + </header> - {{ content }} + {{ content }} - {% include disqus.html %} - </article> -</div> + {% include disqus.html %} +</article> |