1
0
mirror of https://github.com/kremalicious/blog.git synced 2024-11-22 18:00:06 +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"> <footer class="entry-meta">
<p class="byline author vcard source-org"> <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> </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 %} {% if page.updated %}
<time class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | timeago }}</time> <time class="updated" datetime="{{ page.updated | date_to_xmlschema }}">Updated {{ page.updated | timeago }}</time>
{% endif %} {% endif %}
<!-- <p class="categories">
{{ page.categories | category_links }}
</p> -->
</footer> </footer>

View File

@ -1,8 +1,11 @@
<footer role="contentinfo" class="footer container"> <footer role="contentinfo" class="footer container">
<div class="row"> <div class="row">
<div class="vcard author">
<img class="avatar photo" src="/assets/img/avatar.jpeg" /> <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"> <aside class="subscribe">
<h1 class="subscribe-title">Subscribe</h1> <h1 class="subscribe-title">Subscribe</h1>

View File

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

View File

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