This commit is contained in:
Peter Molnar 2018-06-01 09:48:03 +00:00
parent 5e0dc9e0d9
commit e5cb408bb1
10 changed files with 421 additions and 439 deletions

View file

@ -1,120 +1,120 @@
{% include 'block_header_open.html' %} {% include 'block_header_open.html' %}
<title>{{ taxonomy.title }}</title> <title>{{ taxonomy.title }}</title>
<link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" /> <link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" />
<link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" /> <link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" />
{% include 'block_header_close.html' %} {% include 'block_header_close.html' %}
{% if taxonomy.add_welcome %} {% if taxonomy.add_welcome %}
<aside class="siteinfo limit"> <aside class="siteinfo limit">
<p>Hi!</p> <p>Hi!</p>
<p>Your are on a personal homepage. It has been my home one the Internet for many years, although the URL had changed a few times. It's <a href="https://indieweb.org/">IndieWeb</a>-compatible, and all content is produced by me. </p> <p>Your are on a personal homepage. It has been my home one the Internet for many years, although the URL had changed a few times. It's <a href="https://indieweb.org/">IndieWeb</a>-compatible, and all content is produced by me. </p>
<p>This page is a feed of everything that gets on the site.</p> <p>This page is a feed of everything that gets on the site.</p>
</aside> </aside>
{% endif %} {% endif %}
<section class="content-body h-feed"> <section class="content-body h-feed">
<aside class="follow"> <aside class="follow">
<p> <p>
<svg class="icon" width="16" height="16"> <svg class="icon" width="16" height="16">
<use xlink:href="#icon-rss" /> <use xlink:href="#icon-rss" />
</svg> </svg>
<a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">Atom feed</a> <a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">Atom feed</a>
</p> </p>
</aside> </aside>
<h1 class="p-name hide">{{ taxonomy.name }}</h1> <h1 class="p-name hide">{{ taxonomy.name }}</h1>
{% for post in posts %} {% for post in posts %}
<article class="h-entry hentry" lang="{{ post.lang }}"> <article class="h-entry hentry" lang="{{ post.lang }}">
<header> <header>
<h2>{% include 'Singular_title.html' %}</h2> <h2>{% include 'Singular_title.html' %}</h2>
</header> </header>
{% if post.summary %} {% if post.summary %}
<div class="e-summary entry-summary"> <div class="e-summary entry-summary">
{{ post.summary }} {{ post.summary }}
<span class="more"> <span class="more">
<a href="/{{ post.slug }}" title="{{ post.title }}"> <a href="/{{ post.slug }}" title="{{ post.title }}">
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %} {% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a> </a>
</span> </span>
</div> </div>
{% else %} {% else %}
<div class="e-content entry-content"> <div class="e-content entry-content">
{% if post.photo %} {% if post.photo %}
{{ post.photo }} {{ post.photo }}
{% endif %} {% endif %}
{{ post.html }} {{ post.html }}
</div> </div>
{% endif %} {% endif %}
</article> </article>
{% endfor %} {% endfor %}
</section> </section>
{% if taxonomy.total > 1 %} {% if taxonomy.total > 1 %}
{# based on: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/ #} {# based on: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/ #}
<nav class="pagination"> <nav class="pagination">
<ul> <ul>
{% if taxonomy.page > 1 %} {% if taxonomy.page > 1 %}
{% set prev = taxonomy.page - 1 %} {% set prev = taxonomy.page - 1 %}
<li> <li>
<a rel="prev" href="{{ taxonomy.url }}page/{{ prev }}">«</a> <a rel="prev" href="{{ taxonomy.url }}page/{{ prev }}">«</a>
</li> </li>
<li> <li>
<a rel="prev" href="{{ taxonomy.url }}">1</a> <a rel="prev" href="{{ taxonomy.url }}">1</a>
</li> </li>
{% endif %} {% endif %}
{% if taxonomy.page - 4 > 0 %} {% if taxonomy.page - 4 > 0 %}
<li> <li>
<span class="page-numbers dots"></span> <span class="page-numbers dots"></span>
</li> </li>
{% endif %} {% endif %}
{% if ( taxonomy.page - 1 > 1 ) %} {% if ( taxonomy.page - 1 > 1 ) %}
<li> <li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.page - 1 }}">{{ taxonomy.page - 1 }}</a> <a href="{{ taxonomy.url }}page/{{ taxonomy.page - 1 }}">{{ taxonomy.page - 1 }}</a>
</li> </li>
{% endif %} {% endif %}
<li> <li>
<span class="page-numbers taxonomy.page">{{ taxonomy.page }}</span> <span class="page-numbers taxonomy.page">{{ taxonomy.page }}</span>
</li> </li>
{% if ( taxonomy.page + 1 <= taxonomy.total -1 ) %} {% if ( taxonomy.page + 1 <= taxonomy.total -1 ) %}
<li> <li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.page + 1 }}">{{ taxonomy.page + 1 }}</a> <a href="{{ taxonomy.url }}page/{{ taxonomy.page + 1 }}">{{ taxonomy.page + 1 }}</a>
</li> </li>
{% endif %} {% endif %}
{% if taxonomy.page + 3 < taxonomy.total %} {% if taxonomy.page + 3 < taxonomy.total %}
<li> <li>
<span class="page-numbers dots"></span> <span class="page-numbers dots"></span>
</li> </li>
{% endif %} {% endif %}
{% if taxonomy.page != taxonomy.total %} {% if taxonomy.page != taxonomy.total %}
<li> <li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.total }}">{{ taxonomy.total }}</a> <a href="{{ taxonomy.url }}page/{{ taxonomy.total }}">{{ taxonomy.total }}</a>
</li> </li>
{% endif %} {% endif %}
{% if taxonomy.page < taxonomy.total %} {% if taxonomy.page < taxonomy.total %}
{% set next = taxonomy.page + 1 %} {% set next = taxonomy.page + 1 %}
<li> <li>
<a rel="next" href="{{ taxonomy.url }}page/{{ next }}">»</a> <a rel="next" href="{{ taxonomy.url }}page/{{ next }}">»</a>
</li> </li>
{% endif %} {% endif %}
</ul> </ul>
</nav> </nav>
{% endif %} {% endif %}

View file

@ -1,50 +1,50 @@
{% include 'block_header_open.html' %} {% include 'block_header_open.html' %}
<title>{{ taxonomy.title }}</title> <title>{{ taxonomy.title }}</title>
<link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" /> <link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" />
<link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" /> <link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" />
{% include 'block_header_close.html' %} {% include 'block_header_close.html' %}
<section class="content-body h-feed"> <section class="content-body h-feed">
<aside class="follow"> <aside class="follow">
<p> <p>
<svg class="icon" width="16" height="16"> <svg class="icon" width="16" height="16">
<use xlink:href="#icon-rss" /> <use xlink:href="#icon-rss" />
</svg> </svg>
<a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">XML feed</a> <a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">XML feed</a>
</p> </p>
</aside> </aside>
<h1 class="p-name hide">{{ taxonomy.name }}</h1> <h1 class="p-name hide">{{ taxonomy.name }}</h1>
{% for year in by_year.keys()|sort(reverse=True) %} {% for year in by_year.keys()|sort(reverse=True) %}
<h2>{{ year }}</h2> <h2>{{ year }}</h2>
{% for post in by_year[year]|sort(attribute='pubtime',reverse=True) %} {% for post in by_year[year]|sort(attribute='pubtime',reverse=True) %}
<article class="h-entry hentry" lang="{{ post.lang }}"> <article class="h-entry hentry" lang="{{ post.lang }}">
<header> <header>
<h3>{% include 'Singular_title.html' %}</h3> <h3>{% include 'Singular_title.html' %}</h3>
</header> </header>
{% if post.summary %} {% if post.summary %}
<div class="e-summary entry-summary"> <div class="e-summary entry-summary">
{{ post.summary }} {{ post.summary }}
<span class="more"> <span class="more">
<a href="/{{ post.slug }}" title="{{ post.title }}"> <a href="/{{ post.slug }}" title="{{ post.title }}">
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %} {% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a> </a>
</span> </span>
<br class="clear" /> <br class="clear" />
</div> </div>
{% else %} {% else %}
<div class="e-content entry-content"> <div class="e-content entry-content">
{% if post.photo %} {% if post.photo %}
{{ post.photo }} {{ post.photo }}
{% endif %} {% endif %}
{{ post.html }} {{ post.html }}
</div> </div>
{% endif %} {% endif %}
</article> </article>
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
</section> </section>

View file

@ -1,27 +1,27 @@
<li class="h-entry p-comment"> <li class="h-entry p-comment">
{% if 'webmention' != comment.type %} {% if 'webmention' != comment.type %}
<span class="reaction"> <span class="reaction">
<a class="u-url" href="{{ comment.source }}">{{ comment.type }} </a> <a class="u-url" href="{{ comment.source }}">{{ comment.type }} </a>
</span> </span>
{% endif %} {% endif %}
<time class="dt-published" datetime="{{ comment.pubtime }}"> <time class="dt-published" datetime="{{ comment.pubtime }}">
{{ comment.pubdate }} {{ comment.pubdate }}
</time> from </time> from
<span class="p-author h-card"> <span class="p-author h-card">
{% if comment.author.url %} {% if comment.author.url %}
<a class="url u-url" href="{{ comment.author.url }}"> <a class="url u-url" href="{{ comment.author.url }}">
<span class="p-name fn">{{ comment.author.name }}</span> <span class="p-name fn">{{ comment.author.name }}</span>
</a> </a>
{% else %} {% else %}
<span class="p-name fn">{{ comment.author.name }}</span> <span class="p-name fn">{{ comment.author.name }}</span>
{% endif %} {% endif %}
</span><br /> </span><br />
{% if 'webmention' == comment.type %} {% if 'webmention' == comment.type %}
<span class="source"> <span class="source">
<svg class="icon" width="16" height="16"> <svg class="icon" width="16" height="16">
<use xlink:href="#icon-link"></use> <use xlink:href="#icon-link"></use>
</svg> </svg>
<a class="u-url" href="{{ comment.source }}">{{ comment.source }}</a> <a class="u-url" href="{{ comment.source }}">{{ comment.source }}</a>
</span> </span>
{% endif %} {% endif %}
</li> </li>

View file

@ -1,51 +1,51 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1" />
<style media="all"> <style media="all">
{% include 'style-dark.css' %} {% include 'style-dark.css' %}
</style> </style>
<title>Search results for "{{ term }}"</title> <title>Search results for "{{ term }}"</title>
</head> </head>
<body> <body>
<header class="content-header" id="main-header"> <header class="content-header" id="main-header">
<nav class="content-navigation"> <nav class="content-navigation">
<ul> <ul>
<li> <li>
<a title="back to site" href="/"> <a title="back to site" href="/">
« back to the site « back to the site
</a> </a>
</li> </li>
</ul> </ul>
</nav> </nav>
<form role="search" method="get" class="search-form" action="/search"> <form role="search" method="get" class="search-form" action="/search">
<label for="search" class="hide">Search</label> <label for="search" class="hide">Search</label>
<input type="search" class="search-field" placeholder="search..." value="{{ term }}" name="s" id="s" title="Search for:"> <input type="search" class="search-field" placeholder="search..." value="{{ term }}" name="s" id="s" title="Search for:">
<input type="submit" class="search-submit" value="Go ➡"> <input type="submit" class="search-submit" value="Go ➡">
</form> </form>
<br class="clear" /> <br class="clear" />
</header> </header>
<section class="content-body"> <section class="content-body">
<h1 class="p-name hide">Search results for "{{ term }}"</h1> <h1 class="p-name hide">Search results for "{{ term }}"</h1>
{% for category, posts in results.items() %} {% for category, posts in results.items() %}
<details open="open" class="search-section"> <details open="open" class="search-section">
<summary>{{ category }} [{{ posts|length }}]</summary> <summary>{{ category }} [{{ posts|length }}]</summary>
<ol> <ol>
{% for fname, post in posts.items() %} {% for fname, post in posts.items() %}
<li> <li>
<p><a href="{{ post.url }}">{{ post.url }}</a></p> <p><a href="{{ post.url }}">{{ post.url }}</a></p>
<p>{% if post.title|e %}{{ post.txt }}{% else %}{{ post.title }}{% endif %}</p> <p>{% if post.title|e %}{{ post.txt }}{% else %}{{ post.title }}{% endif %}</p>
</li> </li>
{% endfor %} {% endfor %}
</ol> </ol>
</details> </details>
{% endfor %} {% endfor %}
</section> </section>

View file

@ -1,160 +1,155 @@
{% include 'block_header_open.html' %} {% include 'block_header_open.html' %}
<title>{{ post.title }}</title> <title>{{ post.title }}</title>
<meta name="author" content="{{ site.author.name }}"> <meta name="author" content="{{ site.author.name }}">
<meta name="keywords" content="{{ post.tags|join(',') }}"> <meta name="keywords" content="{{ post.tags|join(',') }}">
<meta name="description" content="{{ post.description|e }}"> <meta name="description" content="{{ post.description|e }}">
<link rel="canonical" href="{{ site.url }}/{{ post.slug }}/" /> <link rel="canonical" href="{{ site.url }}/{{ post.slug }}/" />
<link rel="shortlink" href="{{ site.url }}/{{ post.shortslug }}" /> <link rel="shortlink" href="{{ site.url }}/{{ post.shortslug }}" />
<link rel="license" href="{{ post.licence.url }}" /> <link rel="license" href="{{ post.licence.url }}" />
{% include 'block_header_close.html' %} {% include 'block_header_close.html' %}
<section class="content-body"> <section class="content-body">
<article class="h-entry hentry singular" lang="{{ post.lang }}"> <article class="h-entry hentry singular" lang="{{ post.lang }}">
<header> <header>
<h1>{% include 'Singular_title.html' %}</h1> <h1>{% include 'Singular_title.html' %}</h1>
</header> </header>
{% if post.review %} {% if post.review %}
<div class="h-review hreview"> <div class="h-review hreview">
<h2>Review summary</h2> <h2>Review summary</h2>
<p> <p>
<a href="{{ post.review.url }}" class="p-name url fn p-item h-product">{{ post.review.title }}</a> <a href="{{ post.review.url }}" class="p-name url fn p-item h-product">{{ post.review.title }}</a>
</p> </p>
<p> <p>
<span class="rating"> <span class="rating">
<span class="value">{{ post.review.rating }}</span> <span class="value">{{ post.review.rating }}</span>
out of out of
<span class="best">5</span> <span class="best">5</span>
</span> </span>
</p> </p>
<p class="p-summary">{{ post.review.summary }}</p> <p class="p-summary">{{ post.review.summary }}</p>
</div> </div>
{% endif %} {% endif %}
{% if post.summary %} {% if post.summary %}
<div class="e-summary entry-summary"> <div class="e-summary entry-summary">
{{ post.summary }} {{ post.summary }}
<br class="clear" /> <br class="clear" />
</div> </div>
{% endif %} {% endif %}
<div class="e-content entry-content"> <div class="e-content entry-content">
<div class="content-inner"> <div class="content-inner">
{% if post.photo %} {% if post.photo %}
{{ post.photo }} {{ post.photo }}
{% endif %} {% endif %}
{{ post.html }} {{ post.html }}
</div> </div>
</div> </div>
<footer> <footer>
<dl> <dl>
<dt>Published</dt> <dt>Published</dt>
<dd class="published"> <dd class="published">
<time class="dt-published" datetime="{{ post.pubtime }}">{{ post.pubdate }}</time> <time class="dt-published" datetime="{{ post.pubtime }}">{{ post.pubdate }}</time>
</dd> </dd>
<dt>Author</dt> <dt>Author</dt>
<dd> <dd>
{% include 'block_author.html' %} {% include 'block_author.html' %}
</dd> </dd>
<dt>Entry URL</dt> <dt>Entry URL</dt>
<dd> <dd>
<a class="u-url u-uuid" rel="bookmark" href="{{ site.url}}/{{ post.slug }}/">{{ site.url}}/{{ post.slug }}/</a> <a class="u-url u-uuid" rel="bookmark" href="{{ site.url}}/{{ post.slug }}/">{{ site.url}}/{{ post.slug }}/</a>
</dd> </dd>
<dt>License</dt> <dt>License</dt>
<dd class="license"> <dd class="license">
{% if post.licence.text == 'CC BY 4.0' %} {% if post.licence.text == 'CC BY 4.0' %}
<a rel="license" href="https://creativecommons.org/licenses/by/4.0/" class="u-license">CC BY 4.0</a> <svg class="icon" width="16" height="16">
<svg class="icon" width="16" height="16"> <use xlink:href="#icon-creative-commons" />
<use xlink:href="#icon-creative-commons" /> </svg><a rel="license" href="https://creativecommons.org/licenses/by/4.0/" class="u-license">CC BY 4.0</a> You are free to share or republish, even if modified, if you link back here and indicate the modifications, even for commercial use.
</svg><br /> {% elif post.licence.text == 'CC BY-NC 4.0' %}
Licensed under <a href="https://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International</a>. You are free to share or republish, even if modified, if you link back here and indicate the modifications, even for commercial use. <svg class="icon" width="16" height="16">
{% elif post.licence.text == 'CC BY-NC 4.0' %} <use xlink:href="#icon-creative-commons" />
<a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/" class="u-license">CC BY-NC 4.0</a> </svg><a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/" class="u-license">CC BY-NC 4.0</a> You are free to share or republish, even if modified, if you link back here and indicate the modifications, for non commercial use. For commercial use please contact the author.
<svg class="icon" width="16" height="16"> {% else %}
<use xlink:href="#icon-creative-commons" /> <svg class="icon" width="16" height="16">
</svg><br /> <use xlink:href="#icon-creative-commons" />
Licensed under <a href="https://creativecommons.org/licenses/by-nc/4.0/">Creative Commons Attribution-NonCommercial 4.0 International</a>. You are free to share or republish, even if modified, if you link back here and indicate the modifications, for non commercial use. For commercial use please contact the author. </svg><a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" class="u-license">CC BY-NC-ND 4.0</a> You are free to share if you link back here for non commercial use, but you can't publish any altered versions of it. For commercial use please contact the author.
{% else %} {% endif %}
<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" class="u-license">CC BY-NC-ND 4.0</a> </dd>
<svg class="icon" width="16" height="16"> <dt class="noprint">Leave a tip</dt>
<use xlink:href="#icon-creative-commons" /> <dd class="donation">
</svg><br /> <p>
Licensed under <a href="https://creativecommons.org/licenses/by-nc-nd/4.0/">Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International</a>. You are free to share if you link back here for non commercial use, but you can't publish any altered versions of it. For commercial use please contact the author. {% if post.category == 'photo' %}
{% endif %} Did you like this photo?<br />Leave a tip! If you're interested in prints, please get in touch.
</dd> {% elif post.category == 'article' %}
<dt class="noprint">Leave a tip</dt> Did you find this article useful?<br />Support me, so I can write more like this.<br />If you want my help for your project, get in touch.
<dd class="donation"> {% elif post.category == 'journal' %}
<p> Did you like this entry?<br />Encourage me to write more of them.
{% if post.category == 'photo' %} {% else %}
Did you like this photo?<br />Leave a tip! If you're interested in prints, please get in touch. Did you like what you read?<br />Leave a tip!</a>
{% elif post.category == 'article' %} {% endif %}
Did you find this article useful?<br />Support me, so I can write more like this.<br />If you want my help for your project, get in touch. </p>
{% elif post.category == 'journal' %} <ul>
Did you like this entry?<br />Encourage me to write more of them. {% for method, data in site.tips.items() %}
{% else %} <li>
Did you like what you read?<br />Leave a tip!</a> <a rel="payment" title="pay {{ site.author.name }} via {{ data.label }} {{ data.value }}" href="{{ data.url }}">
{% endif %} {{ data.value }}
</p> <span class="method">
<ul> <svg class="icon" width="16" height="16">
{% for method, data in site.tips.items() %} <use xlink:href="#icon-{{ method }}"></use>
<li> </svg>
<a rel="payment" title="pay {{ site.author.name }} via {{ data.label }} {{ data.value }}" href="{{ data.url }}"> with {{ data.label }}
{{ data.value }} </span>
<span class="method"> </a>
<svg class="icon" width="16" height="16"> </li>
<use xlink:href="#icon-{{ method }}"></use> {% endfor %}
</svg> </ul>
with {{ data.label }} </dd>
</span> </dl>
</a> </footer>
</li>
{% endfor %}
</ul>
</dd>
</footer>
{% if post.syndicate|length %} {% if post.syndicate|length %}
<section class="syndication"> <section class="syndication">
{% for url in post.syndicate %} {% for url in post.syndicate %}
<a href="{{ url }}" class="u-syndication"></a> <a href="{{ url }}" class="u-syndication"></a>
{% endfor %} {% endfor %}
</section> </section>
{% endif %} {% endif %}
{% if post.replies|length %} {% if post.replies|length %}
<section class="replies"> <section class="replies">
<h2><a name="replies"></a>Replies</h2> <h2><a id="replies"></a>Replies</h2>
<ol> <ol>
{% for mtime, comment in post.replies %} {% for mtime, comment in post.replies %}
{% include 'Comment.html' %} {% include 'Comment.html' %}
{% endfor %} {% endfor %}
</ol> </ol>
</section> </section>
{% endif %} {% endif %}
{% if post.reactions|length %} {% if post.reactions|length %}
<section class="reactions"> <section class="reactions">
<h2><a name="reactions"></a>Reactions</h2> <h2><a id="reactions"></a>Reactions</h2>
<dl> <dl>
{% for character, comments in post.reactions.items() %} {% for character, comments in post.reactions.items() %}
<dt>{{ character }}</dt> <dt>{{ character }}</dt>
<dd> <dd>
<ul> <ul>
{% for mtime, comment in comments %} {% for mtime, comment in comments %}
{% include 'Comment.html' %} {% include 'Comment.html' %}
{% endfor %} {% endfor %}
</ul> </ul>
</dd> </dd>
{% endfor %} {% endfor %}
</dl> </dl>
</section> </section>
{% endif %} {% endif %}
</article> </article>
</section> </section>

View file

@ -1,15 +1,15 @@
{% if post.is_reply %} {% if post.is_reply %}
<span class="p-name"> <span class="p-name">
<svg class="icon" width="16" height="16"><use xlink:href="#icon-reply" /></svg> <svg class="icon" width="16" height="16"><use xlink:href="#icon-reply" /></svg>
<a href="{{ post.slug }}" class="u-url" title="{{ post.title }}"> <a href="/{{ post.slug }}/" class="u-url" title="{{ post.title }}">
RE: RE:
</a> </a>
<a href="{{ post.is_reply }}" class="u-in-reply-to" title="Reply to: {{ post.is_reply }}"> <a href="{{ post.is_reply }}" class="u-in-reply-to" title="Reply to: {{ post.is_reply }}">
{{ post.is_reply }} {{ post.is_reply }}
</a> </a>
</span> </span>
{% else %} {% else %}
<a href="/{{ post.slug }}/" title="{{ post.title }}" class="{% if post.summary %}has-summary{% endif %}"> <a href="/{{ post.slug }}/" title="{{ post.title }}" class="{% if post.summary %}has-summary{% endif %}">
<span class="entry-title p-name">{{ post.title }}</span> <span class="entry-title p-name">{{ post.title }}</span>
</a> </a>
{% endif %} {% endif %}

View file

@ -1,59 +1,59 @@
<footer class="content-footer" id="main-footer"> <footer class="content-footer" id="main-footer">
<nav class="footer-contact p-author h-card vcard limit"> <nav class="footer-contact p-author h-card vcard limit">
<h2>Site author</h2> <h2>Site author</h2>
<dl> <dl>
<dt> <dt>
<img class="photo avatar u-photo u-avatar" src="{{ site.author.avatar }}" alt="Photo of {{ site.author.name }}" /> <img class="photo avatar u-photo u-avatar" src="{{ site.author.avatar }}" alt="Photo of {{ site.author.name }}" />
</dt> </dt>
<dd> <dd>
<a class="fn p-name url u-url u-uid" href="/about.html"> <a class="fn p-name url u-url u-uid" href="/about.html">
{{ site.author.name }} {{ site.author.name }}
</a> </a>
</dd> </dd>
<dt>email</dt> <dt>email</dt>
<dd> <dd>
<a rel="me" class="u-email email" href="mailto:{{ site.author.email }}"> <a rel="me" class="u-email email" href="mailto:{{ site.author.email }}">
{{ site.author.email }} {{ site.author.email }}
</a> </a>
</dd> </dd>
{% if site.author.sip %} {% if site.author.sip %}
<dt>SIP</dt> <dt>SIP</dt>
<dd> <dd>
<a rel="me" class="u-sip sip" href="sip:{{ site.author.sip }}"> <a rel="me" class="u-sip sip" href="sip:{{ site.author.sip }}">
{{ site.author.sip }} {{ site.author.sip }}
</a> </a>
</dd> </dd>
{% endif %} {% endif %}
{% if site.author.xmpp %} {% if site.author.xmpp %}
<dt>XMPP</dt> <dt>XMPP</dt>
<dd> <dd>
<a rel="me" class="u-xmpp xmpp" href="xmpp:{{ site.author.xmpp }}">{{ site.author.xmpp }}</a> <a rel="me" class="u-xmpp xmpp" href="xmpp:{{ site.author.xmpp }}">{{ site.author.xmpp }}</a>
</dd> </dd>
{% endif %} {% endif %}
{% if site.author.gpg %} {% if site.author.gpg %}
<dt>GPG</dt> <dt>GPG</dt>
<dd> <dd>
<a rel="me" class="u-gpg gpg" href="/{{ site.author.gpg }}">key</a> <a rel="me" class="u-gpg gpg" href="/{{ site.author.gpg }}">key</a>
</dd> </dd>
{% endif %} {% endif %}
{% if site.author.flickr %} {% if site.author.flickr %}
<dt>flickr</dt> <dt>flickr</dt>
<dd> <dd>
<a rel="me" class="u-flickr" href="https://flickr.com/people/{{ site.author.flickr }}">{{ site.author.flickr }}</a> <a rel="me" class="u-flickr" href="https://flickr.com/people/{{ site.author.flickr }}">{{ site.author.flickr }}</a>
</dd> </dd>
{% endif %} {% endif %}
{% if site.author.github %} {% if site.author.github %}
<dt>github</dt> <dt>github</dt>
<dd> <dd>
<a rel="me" class="u-github" href="https://github.com/{{ site.author.github }}">{{ site.author.github }}</a> <a rel="me" class="u-github" href="https://github.com/{{ site.author.github }}">{{ site.author.github }}</a>
</dd> </dd>
{% endif %} {% endif %}
</dl> </dl>
</nav> </nav>
</footer> </footer>
{% include 'symbols.svg' %} {% include 'symbols.svg' %}
</body> </body>
</html> </html>

View file

@ -1,70 +1,70 @@
<style media="all"> <style media="all">
{% include 'style-dark.css' %} {% include 'style-dark.css' %}
</style> </style>
</head> </head>
<body> <body>
<header class="content-header" id="main-header"> <header class="content-header" id="main-header">
<nav class="content-navigation"> <nav class="content-navigation">
<ul> <ul>
<li> <li>
{% set cssclass = '' %} {% set cssclass = '' %}
{% if taxonomy is defined and taxonomy.name == '' %} {% if taxonomy is defined and taxonomy.name == '' %}
{% set cssclass = 'active' %} {% set cssclass = 'active' %}
{% endif %} {% endif %}
<a title="home" href="/" class="{{ cssclass }}"> <a title="home" href="/" class="{{ cssclass }}">
<svg class="icon" width="16" height="16"><use xlink:href="#icon-home" /></svg> <svg class="icon" width="16" height="16"><use xlink:href="#icon-home" /></svg>
home home
</a> </a>
</li> </li>
{% set cssclass = '' %} {% set cssclass = '' %}
{% if (post is defined and post.category == 'photo' ) or ( taxonomy is defined and taxonomy.name == 'photo' ) %} {% if (post is defined and post.category == 'photo' ) or ( taxonomy is defined and taxonomy.name == 'photo' ) %}
{% set cssclass = 'active' %} {% set cssclass = 'active' %}
{% endif %} {% endif %}
<li> <li>
<a title="photos" href="/category/photo/" class="{{ cssclass }}"> <a title="photos" href="/category/photo/" class="{{ cssclass }}">
<svg class="icon" width="18" height="16"><use xlink:href="#icon-photo" /></svg> <svg class="icon" width="18" height="16"><use xlink:href="#icon-photo" /></svg>
photos photos
</a> </a>
</li> </li>
{% set cssclass = '' %} {% set cssclass = '' %}
{% if (post is defined and post.category == 'journal' ) or ( taxonomy is defined and taxonomy.name == 'journal' ) %} {% if (post is defined and post.category == 'journal' ) or ( taxonomy is defined and taxonomy.name == 'journal' ) %}
{% set cssclass = 'active' %} {% set cssclass = 'active' %}
{% endif %} {% endif %}
<li> <li>
<a title="journal" href="/category/journal/" class="{{ cssclass }}"> <a title="journal" href="/category/journal/" class="{{ cssclass }}">
<svg class="icon" width="16" height="16"><use xlink:href="#icon-journal" /></svg> <svg class="icon" width="16" height="16"><use xlink:href="#icon-journal" /></svg>
journal journal
</a> </a>
</li> </li>
{% set cssclass = '' %} {% set cssclass = '' %}
{% if (post is defined and post.category == 'article' ) or ( taxonomy is defined and taxonomy.name == 'article' ) %} {% if (post is defined and post.category == 'article' ) or ( taxonomy is defined and taxonomy.name == 'article' ) %}
{% set cssclass = 'active' %} {% set cssclass = 'active' %}
{% endif %} {% endif %}
<li> <li>
<a title="IT" href="/category/article/" class="{{ cssclass }}"> <a title="IT" href="/category/article/" class="{{ cssclass }}">
<svg class="icon" width="16" height="16"><use xlink:href="#icon-article" /></svg> <svg class="icon" width="16" height="16"><use xlink:href="#icon-article" /></svg>
IT IT
</a> </a>
</li> </li>
{% set cssclass = '' %} {% set cssclass = '' %}
{% if (post is defined and post.category == 'note' ) or ( taxonomy is defined and taxonomy.name == 'note' ) %} {% if (post is defined and post.category == 'note' ) or ( taxonomy is defined and taxonomy.name == 'note' ) %}
{% set cssclass = 'active' %} {% set cssclass = 'active' %}
{% endif %} {% endif %}
<li> <li>
<a title="notes" href="/category/note/" class="{{ cssclass }}"> <a title="notes" href="/category/note/" class="{{ cssclass }}">
<svg class="icon" width="16" height="16"><use xlink:href="#icon-note" /></svg> <svg class="icon" width="16" height="16"><use xlink:href="#icon-note" /></svg>
notes notes
</a> </a>
</li> </li>
</ul> </ul>
</nav> </nav>
<form role="search" method="get" class="search-form" action="/search"> <form role="search" method="get" class="search-form" action="/search">
<label for="search" class="hide">Search</label> <label for="search" class="hide">Search</label>
<input type="search" class="search-field" placeholder="search..." value="" name="s" id="s" title="Search for:" /> <input type="search" class="search-field" placeholder="search..." value="" name="s" id="s" title="Search for:" />
<input type="submit" class="search-submit" value="Go ➡" /> <input type="submit" class="search-submit" value="Go ➡" />
</form> </form>
<br class="clear" /> <br class="clear" />
</header> </header>

View file

@ -1,9 +1,9 @@
<!DOCTYPE html> <!DOCTYPE html>
<html{% if post and post.lang %} lang="{{ post.lang }}"{% endif %}> <html{% if post and post.lang %} lang="{{ post.lang }}"{% endif %}>
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1" /> <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1" />
<link rel="icon" href="{{ site.url }}/favicon.ico" /> <link rel="icon" href="{{ site.url }}/favicon.ico" />
<link rel="http://webmention.org/" href="{{ site.url }}/webmention" /> <link rel="http://webmention.org/" href="{{ site.url }}/webmention" />
<link rel="webmention" href="{{ site.url }}/webmention" /> <link rel="webmention" href="{{ site.url }}/webmention" />
<link rel="hub" href="{{ site.websub.hub }}"> <link rel="hub" href="{{ site.websub.hub }}">

View file

@ -293,7 +293,7 @@ code.sourceCode span.va { color: turquoise; }
.content-footer { .content-footer {
margin-top: 2em; margin-top: 2em;
padding: 1em 0 0.6em 0; padding: 1.6em 0;
text-align: center; text-align: center;
} }
@ -332,6 +332,8 @@ code.sourceCode span.va { color: turquoise; }
.content-footer dl dd:last-of-type:after { .content-footer dl dd:last-of-type:after {
content: ''; content: '';
display: none;
visibility: hidden;
} }
input { input {
@ -455,25 +457,10 @@ input.search-submit:hover {
color: #eee; color: #eee;
} }
.h-entry.singular footer dl,
.h-entry.singular footer dt,
.h-entry.singular footer dd { .h-entry.singular footer dd {
vertical-align:top; margin: 0 0 1em 0;
} }
.h-entry.singular footer dt {
display: inline-block;
width: 18%;
margin: 0 1% 0 0;
text-align: right;
}
.h-entry.singular footer dd {
display: inline-block;
width: 80%;
}
.h-entry.singular footer img { .h-entry.singular footer img {
width: 1em; width: 1em;
height: auto; height: auto;
@ -714,12 +701,12 @@ figcaption .author,
h1, h2, h3, h4, h5, h6 { h1, h2, h3, h4, h5, h6 {
page-break-after: avoid; page-break-after: avoid;
} }
h3, h3,
a, a,
.footnotes ol li a, .footnotes ol li a,
.h-feed .h-entry, .h-feed .h-entry,
code, code,
pre { pre {
border: none; border: none;
} }