mirror of
https://github.com/kemko/liquid.git
synced 2026-01-08 19:25:40 +03:00
Put all the filters on one page
This commit is contained in:
10
_config.yml
10
_config.yml
@@ -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
|
||||
|
||||
@@ -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
12
filters.md
Normal 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 %}
|
||||
Reference in New Issue
Block a user