diff options
Diffstat (limited to '_pages')
| -rw-r--r-- | _pages/404.html | 15 | ||||
| -rw-r--r-- | _pages/atom.xml | 14 | ||||
| -rw-r--r-- | _pages/index.html | 36 | 
3 files changed, 38 insertions, 27 deletions
| diff --git a/_pages/404.html b/_pages/404.html index 42aec99..be2e1fb 100644 --- a/_pages/404.html +++ b/_pages/404.html @@ -4,10 +4,11 @@ title: "Error 404"  layout: default  --- -<section class="container centered"> -    <div class="error"> -        <h1>404</h1> -        <h2>Page Not Found</h2> -        <p>Sorry, this page does not exist.<br/>You can head back to <a href="{{ site.baseurl | uri_escape }}">homepage</a>.</p> -    </div> -</section> +<div class="jumbotron text-center"> +  <h1>404: Not Found</h1> +  <p>Sorry, this page does not exist.</p> +  <p> +    <a class="btn btn-lg btn-primary" role="button" href="/">Home page</a> +    <a class="btn btn-lg btn-default" role="button" href="mailto:{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | uri_escape }}">Contact</a> +  </p> +</div> diff --git a/_pages/atom.xml b/_pages/atom.xml index 79cd5e1..d149c67 100644 --- a/_pages/atom.xml +++ b/_pages/atom.xml @@ -1,6 +1,8 @@  ---  permalink: "atom.xml"  layout: compress +title: "RSS" +show: true  ---  <?xml version="1.0" encoding="utf-8"?> @@ -19,9 +21,9 @@ layout: compress      <!-- Author -->      <author> -        <email>{{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> -        <name>{{ site.data.author_info.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> -        <uri>{{ site.data.author_info.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> +        <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> +        <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> +        <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri>      </author>      {% for item in site.posts %} @@ -39,9 +41,9 @@ layout: compress              <!-- Author -->              <author> -                <email>{{ site.data.author_info.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> -                <name>{{ site.data.author_info.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> -                <uri>{{ site.data.author_info.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri> +                <email>{{ site.author.email | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</email> +                <name>{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</name> +                <uri>{{ site.author.url | strip_newlines | strip_html | strip | normalize_whitespace | xml_escape }}</uri>              </author>              <!-- Content --> diff --git a/_pages/index.html b/_pages/index.html index 3257c6a..ecf5f69 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -1,26 +1,34 @@  ---  permalink: "index.html" +title: "Home"  layout: page  ---  {% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %} -<!-- Links to external resources --> -{% include external_links.html %} -  {% for year in postsByYear %}    <h2>{{ year.name | strip_newlines | strip_html | strip | normalize_whitespace | slugify }}</h2> -  {% for post in year.items %} -    <div class="post-item"> -      <small><time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time></small> -      <h4> -        <a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}"> -          {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} -        </a> -      </h4> +  <table class="table table-striped"> +    {% for post in year.items %} +      <tr> +        <!-- Date --> +        <td> +          <time datetime="{{ post.date | date_to_xmlschema}}">{{ post.date | date_to_long_string }}</time> +        </td> + +        <!-- Title --> +        <td> +          <a href="{{ post.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}"> +            {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify | xml_escape }} +          </a> +        </td> -      <p>{{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }}</p> -    </div> -  {% endfor %} +        <!-- Description --> +        <td> +          {{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify | truncatewords: 32 | xml_escape }} +        </td> +      </tr> +    {% endfor %} +  </table>  {% endfor %} | 
