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' %}
<title>{{ taxonomy.title }}</title>
<link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" />
<link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" />
<title>{{ taxonomy.title }}</title>
<link rel="alternate" type="application/atom+xml" title="{{ taxonomy.title }} feed" href="{{ taxonomy.feed }}" />
<link rel="self" href="{{ site.url }}{{ taxonomy.feed }}/" />
{% include 'block_header_close.html' %}
{% if taxonomy.add_welcome %}
<aside class="siteinfo limit">
<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>This page is a feed of everything that gets on the site.</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>This page is a feed of everything that gets on the site.</p>
</aside>
{% endif %}
<section class="content-body h-feed">
<aside class="follow">
<p>
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-rss" />
</svg>
<a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">Atom feed</a>
</p>
</aside>
<aside class="follow">
<p>
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-rss" />
</svg>
<a title="follow {{ taxonomy.title }}" rel="feed" href="{{ site.url }}{{ taxonomy.feed }}">Atom feed</a>
</p>
</aside>
<h1 class="p-name hide">{{ taxonomy.name }}</h1>
{% for post in posts %}
<article class="h-entry hentry" lang="{{ post.lang }}">
<header>
<h2>{% include 'Singular_title.html' %}</h2>
</header>
<h1 class="p-name hide">{{ taxonomy.name }}</h1>
{% for post in posts %}
<article class="h-entry hentry" lang="{{ post.lang }}">
<header>
<h2>{% include 'Singular_title.html' %}</h2>
</header>
{% if post.summary %}
<div class="e-summary entry-summary">
{{ post.summary }}
<span class="more">
<a href="/{{ post.slug }}" title="{{ post.title }}">
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a>
</span>
</div>
{% else %}
<div class="e-content entry-content">
{% if post.photo %}
{{ post.photo }}
{% endif %}
{{ post.html }}
</div>
{% endif %}
</article>
{% if post.summary %}
<div class="e-summary entry-summary">
{{ post.summary }}
<span class="more">
<a href="/{{ post.slug }}" title="{{ post.title }}">
{% if post.lang == 'hu' %}Tovább »{% else %}Continue »{% endif %}
</a>
</span>
</div>
{% else %}
<div class="e-content entry-content">
{% if post.photo %}
{{ post.photo }}
{% endif %}
{{ post.html }}
</div>
{% endif %}
</article>
{% endfor %}
{% endfor %}
</section>
{% if taxonomy.total > 1 %}
{# based on: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/ #}
<nav class="pagination">
<ul>
{% if taxonomy.page > 1 %}
{% set prev = taxonomy.page - 1 %}
<li>
<a rel="prev" href="{{ taxonomy.url }}page/{{ prev }}">«</a>
</li>
<li>
<a rel="prev" href="{{ taxonomy.url }}">1</a>
</li>
{% endif %}
{# based on: http://dev.dbl-a.com/symfony-2-0/symfony2-and-twig-pagination/ #}
<nav class="pagination">
<ul>
{% if taxonomy.page > 1 %}
{% set prev = taxonomy.page - 1 %}
<li>
<a rel="prev" href="{{ taxonomy.url }}page/{{ prev }}">«</a>
</li>
<li>
<a rel="prev" href="{{ taxonomy.url }}">1</a>
</li>
{% endif %}
{% if taxonomy.page - 4 > 0 %}
<li>
<span class="page-numbers dots"></span>
</li>
{% endif %}
{% if taxonomy.page - 4 > 0 %}
<li>
<span class="page-numbers dots"></span>
</li>
{% endif %}
{% if ( taxonomy.page - 1 > 1 ) %}
<li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.page - 1 }}">{{ taxonomy.page - 1 }}</a>
</li>
{% endif %}
{% if ( taxonomy.page - 1 > 1 ) %}
<li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.page - 1 }}">{{ taxonomy.page - 1 }}</a>
</li>
{% endif %}
<li>
<span class="page-numbers taxonomy.page">{{ taxonomy.page }}</span>
</li>
<li>
<span class="page-numbers taxonomy.page">{{ taxonomy.page }}</span>
</li>
{% if ( taxonomy.page + 1 <= taxonomy.total -1 ) %}
<li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.page + 1 }}">{{ taxonomy.page + 1 }}</a>
</li>
{% endif %}
{% if ( taxonomy.page + 1 <= taxonomy.total -1 ) %}
<li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.page + 1 }}">{{ taxonomy.page + 1 }}</a>
</li>
{% endif %}
{% if taxonomy.page + 3 < taxonomy.total %}
<li>
<span class="page-numbers dots"></span>
</li>
{% endif %}
{% if taxonomy.page + 3 < taxonomy.total %}
<li>
<span class="page-numbers dots"></span>
</li>
{% endif %}
{% if taxonomy.page != taxonomy.total %}
<li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.total }}">{{ taxonomy.total }}</a>
</li>
{% endif %}
{% if taxonomy.page != taxonomy.total %}
<li>
<a href="{{ taxonomy.url }}page/{{ taxonomy.total }}">{{ taxonomy.total }}</a>
</li>
{% endif %}
{% if taxonomy.page < taxonomy.total %}
{% set next = taxonomy.page + 1 %}
<li>
<a rel="next" href="{{ taxonomy.url }}page/{{ next }}">»</a>
</li>
{% endif %}
</ul>
</nav>
{% if taxonomy.page < taxonomy.total %}
{% set next = taxonomy.page + 1 %}
<li>
<a rel="next" href="{{ taxonomy.url }}page/{{ next }}">»</a>
</li>
{% endif %}
</ul>
</nav>
{% endif %}

View file

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

View file

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

View file

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

View file

@ -1,160 +1,155 @@
{% include 'block_header_open.html' %}
<title>{{ post.title }}</title>
<meta name="author" content="{{ site.author.name }}">
<meta name="keywords" content="{{ post.tags|join(',') }}">
<meta name="description" content="{{ post.description|e }}">
<title>{{ post.title }}</title>
<meta name="author" content="{{ site.author.name }}">
<meta name="keywords" content="{{ post.tags|join(',') }}">
<meta name="description" content="{{ post.description|e }}">
<link rel="canonical" href="{{ site.url }}/{{ post.slug }}/" />
<link rel="shortlink" href="{{ site.url }}/{{ post.shortslug }}" />
<link rel="license" href="{{ post.licence.url }}" />
<link rel="canonical" href="{{ site.url }}/{{ post.slug }}/" />
<link rel="shortlink" href="{{ site.url }}/{{ post.shortslug }}" />
<link rel="license" href="{{ post.licence.url }}" />
{% include 'block_header_close.html' %}
<section class="content-body">
<article class="h-entry hentry singular" lang="{{ post.lang }}">
<header>
<h1>{% include 'Singular_title.html' %}</h1>
</header>
<article class="h-entry hentry singular" lang="{{ post.lang }}">
<header>
<h1>{% include 'Singular_title.html' %}</h1>
</header>
{% if post.review %}
<div class="h-review hreview">
<h2>Review summary</h2>
<p>
<a href="{{ post.review.url }}" class="p-name url fn p-item h-product">{{ post.review.title }}</a>
</p>
<p>
<span class="rating">
<span class="value">{{ post.review.rating }}</span>
out of
<span class="best">5</span>
</span>
</p>
<p class="p-summary">{{ post.review.summary }}</p>
</div>
<div class="h-review hreview">
<h2>Review summary</h2>
<p>
<a href="{{ post.review.url }}" class="p-name url fn p-item h-product">{{ post.review.title }}</a>
</p>
<p>
<span class="rating">
<span class="value">{{ post.review.rating }}</span>
out of
<span class="best">5</span>
</span>
</p>
<p class="p-summary">{{ post.review.summary }}</p>
</div>
{% endif %}
{% if post.summary %}
<div class="e-summary entry-summary">
{{ post.summary }}
<br class="clear" />
</div>
<div class="e-summary entry-summary">
{{ post.summary }}
<br class="clear" />
</div>
{% endif %}
<div class="e-content entry-content">
<div class="content-inner">
{% if post.photo %}
{{ post.photo }}
{% endif %}
{{ post.html }}
</div>
</div>
<div class="e-content entry-content">
<div class="content-inner">
{% if post.photo %}
{{ post.photo }}
{% endif %}
{{ post.html }}
</div>
</div>
<footer>
<dl>
<dt>Published</dt>
<dd class="published">
<time class="dt-published" datetime="{{ post.pubtime }}">{{ post.pubdate }}</time>
</dd>
<dt>Author</dt>
<dd>
{% include 'block_author.html' %}
</dd>
<dt>Entry URL</dt>
<dd>
<a class="u-url u-uuid" rel="bookmark" href="{{ site.url}}/{{ post.slug }}/">{{ site.url}}/{{ post.slug }}/</a>
</dd>
<dt>License</dt>
<dd class="license">
{% 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">
<use xlink:href="#icon-creative-commons" />
</svg><br />
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.
{% elif post.licence.text == 'CC BY-NC 4.0' %}
<a rel="license" href="https://creativecommons.org/licenses/by-nc/4.0/" class="u-license">CC BY-NC 4.0</a>
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" />
</svg><br />
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.
{% else %}
<a rel="license" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" class="u-license">CC BY-NC-ND 4.0</a>
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" />
</svg><br />
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.
{% endif %}
</dd>
<dt class="noprint">Leave a tip</dt>
<dd class="donation">
<p>
{% if post.category == 'photo' %}
Did you like this photo?<br />Leave a tip! If you're interested in prints, please get in touch.
{% elif post.category == 'article' %}
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.
{% elif post.category == 'journal' %}
Did you like this entry?<br />Encourage me to write more of them.
{% else %}
Did you like what you read?<br />Leave a tip!</a>
{% endif %}
</p>
<ul>
{% for method, data in site.tips.items() %}
<li>
<a rel="payment" title="pay {{ site.author.name }} via {{ data.label }} {{ data.value }}" href="{{ data.url }}">
{{ data.value }}
<span class="method">
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-{{ method }}"></use>
</svg>
with {{ data.label }}
</span>
</a>
</li>
{% endfor %}
</ul>
</dd>
</footer>
<footer>
<dl>
<dt>Published</dt>
<dd class="published">
<time class="dt-published" datetime="{{ post.pubtime }}">{{ post.pubdate }}</time>
</dd>
<dt>Author</dt>
<dd>
{% include 'block_author.html' %}
</dd>
<dt>Entry URL</dt>
<dd>
<a class="u-url u-uuid" rel="bookmark" href="{{ site.url}}/{{ post.slug }}/">{{ site.url}}/{{ post.slug }}/</a>
</dd>
<dt>License</dt>
<dd class="license">
{% if post.licence.text == 'CC BY 4.0' %}
<svg class="icon" width="16" height="16">
<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.
{% elif post.licence.text == 'CC BY-NC 4.0' %}
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" />
</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.
{% else %}
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-creative-commons" />
</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.
{% endif %}
</dd>
<dt class="noprint">Leave a tip</dt>
<dd class="donation">
<p>
{% if post.category == 'photo' %}
Did you like this photo?<br />Leave a tip! If you're interested in prints, please get in touch.
{% elif post.category == 'article' %}
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.
{% elif post.category == 'journal' %}
Did you like this entry?<br />Encourage me to write more of them.
{% else %}
Did you like what you read?<br />Leave a tip!</a>
{% endif %}
</p>
<ul>
{% for method, data in site.tips.items() %}
<li>
<a rel="payment" title="pay {{ site.author.name }} via {{ data.label }} {{ data.value }}" href="{{ data.url }}">
{{ data.value }}
<span class="method">
<svg class="icon" width="16" height="16">
<use xlink:href="#icon-{{ method }}"></use>
</svg>
with {{ data.label }}
</span>
</a>
</li>
{% endfor %}
</ul>
</dd>
</dl>
</footer>
{% if post.syndicate|length %}
<section class="syndication">
{% for url in post.syndicate %}
<a href="{{ url }}" class="u-syndication"></a>
{% endfor %}
</section>
<section class="syndication">
{% for url in post.syndicate %}
<a href="{{ url }}" class="u-syndication"></a>
{% endfor %}
</section>
{% endif %}
{% if post.replies|length %}
<section class="replies">
<h2><a name="replies"></a>Replies</h2>
<ol>
{% for mtime, comment in post.replies %}
{% include 'Comment.html' %}
{% endfor %}
</ol>
</section>
<section class="replies">
<h2><a id="replies"></a>Replies</h2>
<ol>
{% for mtime, comment in post.replies %}
{% include 'Comment.html' %}
{% endfor %}
</ol>
</section>
{% endif %}
{% if post.reactions|length %}
<section class="reactions">
<h2><a name="reactions"></a>Reactions</h2>
<dl>
{% for character, comments in post.reactions.items() %}
<dt>{{ character }}</dt>
<dd>
<ul>
{% for mtime, comment in comments %}
{% include 'Comment.html' %}
{% endfor %}
</ul>
</dd>
{% endfor %}
</dl>
</section>
<section class="reactions">
<h2><a id="reactions"></a>Reactions</h2>
<dl>
{% for character, comments in post.reactions.items() %}
<dt>{{ character }}</dt>
<dd>
<ul>
{% for mtime, comment in comments %}
{% include 'Comment.html' %}
{% endfor %}
</ul>
</dd>
{% endfor %}
</dl>
</section>
{% endif %}
</article>
</article>
</section>

View file

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

View file

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

View file

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

View file

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

View file

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