Minor modifications
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
@@ -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" />
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user