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

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html> <!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> <head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

View File

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

View File

@@ -6,7 +6,7 @@ layout: default
<section> <section>
<header> <header>
<div class="timeline"> <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> </div>
<h1><a href="/{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1> <h1><a href="/{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a></h1>
{% if post.description %} {% if post.description %}