Translate the whole site to English: English routes with 301 redirects from the Dutch paths, English UI, docs, seeds and captions, one-time live content migration
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<!-- retoor <retoor@molodetz.nl> -->
|
||||
{% extends "docs/base_docs.html" %}
|
||||
{% block docs_content %}
|
||||
<h1>Zoeken</h1>
|
||||
{% if query %}<p class="muted">{{ results | length }} resultaten voor <strong>{{ query }}</strong></p>{% endif %}
|
||||
<h1>Search</h1>
|
||||
{% if query %}<p class="muted">{{ results | length }} results for <strong>{{ query }}</strong></p>{% endif %}
|
||||
{% for hit in results %}
|
||||
<div class="search-hit">
|
||||
<a href="{{ hit.url }}">{{ hit.title }}</a> <span class="muted">{{ hit.score }}</span>
|
||||
<p>{{ hit.snippet | e | replace('[[', '<mark>') | replace(']]', '</mark>') | safe }}</p>
|
||||
</div>
|
||||
{% else %}
|
||||
{% if query %}<p class="empty">Niets gevonden.</p>{% endif %}
|
||||
{% if query %}<p class="empty">Nothing found.</p>{% endif %}
|
||||
{% endfor %}
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user