mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Adding .pre-commit-config.yaml
This commit is contained in:
@@ -3,13 +3,13 @@
|
||||
{% set len = (articles + pages)| length %}
|
||||
{% for item in articles + pages %}
|
||||
{
|
||||
"title": "{{item.title|striptags|e}}",
|
||||
"text":"{{item.content|striptags|e}}",
|
||||
"tags": "{{item.category}}",
|
||||
"title": "{{item.title|striptags|e}}",
|
||||
"text":"{{item.content|striptags|e}}",
|
||||
"tags": "{{item.category}}",
|
||||
"loc": "{{ SITEURL }}/{{item.url}}"
|
||||
}{% if loop.index < len %},
|
||||
{% else %}
|
||||
|
||||
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
]
|
||||
|
Reference in New Issue
Block a user