mirror of
https://github.com/c0de-archive/pelican-mg.git
synced 2025-07-30 13:30:17 +00:00
Fixing Tipue search
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<base href="{{ SITEURL }}">
|
||||
<base href="{{ SITEURL }}/">
|
||||
|
||||
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
|
||||
<meta name="description" content="{% block description %}{{ DESCRIPTION }}{% endblock %}">
|
||||
|
@@ -4,9 +4,9 @@
|
||||
{% for item in articles + pages %}
|
||||
{{comma()}}
|
||||
{
|
||||
"title": "{{item.title|striptags|e}}",
|
||||
"text":"{{item.content|striptags|e}}",
|
||||
"tags": "{{item.tags}}",
|
||||
"title": {{item.title|striptags|tojson}},
|
||||
"text": {{item.content|striptags|tojson}},
|
||||
"tags": "{{' '.join(item.tags|map(attribute="name"))}}",
|
||||
"loc": "{{ SITEURL }}/{{item.url}}"
|
||||
}
|
||||
{% endfor %}
|
||||
|
Reference in New Issue
Block a user