Put all the filters on one page

This commit is contained in:
Parker Moore
2015-03-13 16:11:04 -07:00
parent 1b5ff4c86f
commit 48b5f59b8e
3 changed files with 14 additions and 10 deletions

View File

@@ -3,12 +3,4 @@ baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://liquidmarkup.org" # the base hostname & protocol for your site
markdown: kramdown
collections:
filters:
output: true
defaults:
-
scope:
type: filters
values:
layout: page
- filters

View File

@@ -12,7 +12,7 @@
<li>{{ collection[0] | capitalize }}
<ul>
{% for doc in collection[1].docs %}
<li><a href="{{ doc.url | prepend: site.baseurl }}">{{ doc.title }}</a></li>
<li><a href="{{ "/filters/" | append: "#" | append: doc.title | prepend: site.baseurl }}">{{ doc.title }}</a></li>
{% endfor %}
</ul>
</li>

12
filters.md Normal file
View File

@@ -0,0 +1,12 @@
---
title: Filters
permalink: /filters/
layout: page
---
{% for doc in site.filters %}
<h3 class="component-link" id="{{ doc.title }}">{{ doc.title }}</h3>
<p>
{{ doc.output }}
</p>
{% endfor %}