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