Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
<meta content="{{ site.title }}" property="og:title">{% endif %}
{% if page.layout == 'post' %}
<meta content="article" property="og:type">
{% if page.author.first %}
<meta content="{{ site.url }}/authors/{{ page.author.first }}" property="article:author">
{% else %}
<meta content="{{ site.url }}/authors/{{ page.author }}" property="article:author">
{% endif %}
{% else %}<meta content="website" property="og:type">{% endif %}
{% if page.description %}<meta name="twitter:description" content="{{ page.description }}">
<meta content="{{ page.description }}" property="og:description">
Expand Down
8 changes: 7 additions & 1 deletion _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@

<div class="post">
<h1 class="post-title">{{ page.title }}</h1>
<span class="post-date">{{ page.date | date_to_string }}</span>
{% assign post_author = page.author | join: ",/authors/" | prepend: "/authors/" %}
{% assign post_authors = site.authors | where_exp: "item", "post_author contains item.id" %}
<span class="post-metadata">
Written by {{ post_authors | map: "name" | join: ", " }}
{{ page.date | date_to_string }}
</span>

{{ content }}
</div>

Expand Down
4 changes: 3 additions & 1 deletion _posts/2018-11-15-nabla-kubecnc-cn18.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
layout: post
title: Nabla Containers @ Kubecon + CloudNativeCon China 2018
date: 2018-11-15
author: lumjjb
author:
- lumjjb
- ricarkol
description: Nabla Containers Presentation at Kubecon + CloudNativeCon China 2018
---

Expand Down
2 changes: 1 addition & 1 deletion blog.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ hide-title: true
{{ post.title }}
</a>
</h1>
<span class="post-date">{{ post.date | date_to_string }}</span>
<span class="post-metadata">{{ post.date | date_to_string }}</span>
{{ post.excerpt | strip_html | strip_newlines | truncate: 175 }}
</div>
{% endfor %}
Expand Down
2 changes: 1 addition & 1 deletion public/css/poole.css
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ tbody tr:nth-child(odd) th {
}

/* Meta data line below post title */
.post-date {
.post-metadata{
display: block;
margin-top: -.5rem;
margin-bottom: 1rem;
Expand Down