Minor modifications

This commit is contained in:
2016-02-07 16:23:36 +00:00
parent 7fe512cc37
commit 199ba50462
4 changed files with 4 additions and 3 deletions

View File

@@ -1,7 +1,7 @@
{% assign gallery=site.data.gallery[include.gallery] %}
{% assign photos=gallery.photos | sort:'date' %}
<div style="text-align: center;">
{% unless include.no-link == null %}
{% unless include.no-link %}
<a href="/{{ site.baseurl }}/gallery/{{ include.gallery }}/">[ gallery ]</a><br />
{% endunless %}
{% for photo in photos %}

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" prefix="og: http://ogp.me/ns# twitter: http://ogp.me/ns/fb/twitter#">
<html lang="en" prefix="og: http://ogp.me/ns#">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

View File

@@ -1,5 +1,6 @@
# adapted from
# - https://gist.githubusercontent.com/nathangrigg/7387238/raw/fdb229fb162a303cbd9a666de8be7d0aa3515cd6/assign_page.rb
module Jekyll
module Tags
class AssignPage < Liquid::Assign

View File

@@ -6,7 +6,7 @@ layout: default
<section>
<header>
<div class="timeline">
<time datetime="{{ post.date|date_to_xmlschema }}"><strong>{{ post.date|date:"%b %d"|upcase }}</strong><br />{{ post.date|date:"%Y" }}</time>
<time datetime="{{ post.date|date_to_xmlschema }}"><strong>{{ post.date | date:"%b %d" | upcase }}</strong><br />{{ post.date | date:"%Y" }}</time>
</div>
<h1><a href="/{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
{% if post.description %}