mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Getting rid of sass + adding <base href + adding image-process-thumb + styling mg-tag-filters + adding support for lang: tags
This commit is contained in:
@@ -1,16 +1,14 @@
|
||||
{
|
||||
"pages": [
|
||||
{% set len = (articles + pages)| length %}
|
||||
{% set comma = joiner(',') %}
|
||||
{% for item in articles + pages %}
|
||||
{{comma()}}
|
||||
{
|
||||
"title": "{{item.title|striptags|e}}",
|
||||
"text":"{{item.content|striptags|e}}",
|
||||
"tags": "{{item.category}}",
|
||||
"tags": "{{item.tags}}",
|
||||
"loc": "{{ SITEURL }}/{{item.url}}"
|
||||
}{% if loop.index < len %},
|
||||
{% else %}
|
||||
|
||||
{% endif %}
|
||||
}
|
||||
{% endfor %}
|
||||
]
|
||||
}
|
||||
|
Reference in New Issue
Block a user