1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 09:56:51 +01:00

fix some hentry meta stuff

This commit is contained in:
Matthias Kretschmann 2013-12-28 17:05:47 +01:00
parent afb4d63973
commit 30d5f2b17c
4 changed files with 16 additions and 12 deletions

View File

@ -1,16 +1,18 @@
<footer class="entry-meta">
<p class="byline author vcard source-org">
<span class="by">by</span> <a class="fn" rel="author" href="/about/">{{ page.author }}</a>
<span class="by">by</span> <a class="fn" rel="author" href="/about/">
{% if page.author %}
{{ page.author }}
{% else %}
{{ site.author }}
{% endif %}
</a>
</p>
<time class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if updated %} data-updated="true"{% endif %}>{{ page.date | timeago }}</time>
<time class="pubdate" datetime="{{ page.date | date_to_xmlschema }}" pubdate{% if page.updated %} data-updated="true"{% endif %}>{{ page.date | timeago }}</time>
{% if page.updated %}
<time class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | timeago }}</time>
{% endif %}
<!-- <p class="categories">
{{ page.categories | category_links }}
</p> -->
</footer>

View File

@ -1,8 +1,11 @@
<footer role="contentinfo" class="footer container">
<div class="row">
<div class="vcard author">
<img class="avatar photo" src="/assets/img/avatar.jpeg" />
<p class="footer-description">Blog of designer &amp; developer <a href="/about">Matthias Kretschmann</a></p>
<p class="footer-description">Blog of designer &amp; developer <a class="fn" rel="author" href="/about/">{{ site.author }}</a>
</div>
<aside class="subscribe">
<h1 class="subscribe-title">Subscribe</h1>

View File

@ -29,7 +29,6 @@
<meta charset="utf-8">
<title>
{% if paginator.previous_page %}
Page {{ paginator.page }} &brvbar; {{ page.title }}
{% elsif page.path contains '_posts' %}
@ -37,15 +36,14 @@
{% else %}
{{ page.title }} &brvbar; {{ site.description }}
{% endif %}
</title>
{% if page.description %}
<meta name="description" content="{{ page.description }}">
{% else %}
<meta name="description" content="{{ site.description }}" />
<meta name="description" content="{{ page.excerpt | strip_html | strip_newlines }}" />
{% endif %}
<meta name="author" content="{{ site.author }}">
<meta name="author" content="{% if page.author %}{{ page.author }}{% else %}{{ site.author }}{% endif %}">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="HandheldFriendly" content="True">

View File

@ -1,6 +1,7 @@
---
layout: page
title: About
description: About this blog and the author
---
<img class="avatar photo" src="/assets/img/avatar.jpeg" />