1
0
Fork 0

added google analytics and next previous in category include

This commit is contained in:
Moritz »mo.« Sauer 2015-02-25 13:54:46 +01:00
parent 6636839e37
commit 3efde330dc
22 changed files with 151 additions and 63 deletions

View file

@ -1,23 +1,23 @@
{% comment %}
Possible parameter for this loop:
entries
offset
category
tag
Example for Category: {% include list-posts.html entries='3' offset='1' category='design' %}
Example for Tag: {% include list-posts.html entries='5' tag='terminal' %}
This loop works like this:
1. First we check if there was given a category for filtering if include.categories == NULL
2. If no category is given for filtering do a general loop.
3. If a category/tag was given, assign category/tag to the variable category/tag assign category = include.categories
*
* Possible parameter for this loop:
*
* entries
* offset
* category
* tag
*
* Example for Category: {% include list-posts.html entries='3' offset='1' category='design' %}
*
* Example for Tag: {% include list-posts.html entries='5' tag='terminal' %}
*
*
* This loop works like this:
*
* 1. First we check if there was given a category for filtering if include.categories == NULL
* 2. If no category is given for filtering do a general loop.
* 3. If a category/tag was given, assign category/tag to the variable category/tag assign category = include.categories
*
{% endcomment %}