wikimore/templates/search_results.html
Kumi c436885cbc
feat: initial setup of Wikimore Flask app with basic features
Added initial setup for "Wikimore", a simple frontend for Wikimedia projects using Flask. The app includes the following features:

- Multi-language and multi-project support
- Search functionality with results displayed
- Proxy support for Wikimedia images
- Basic structure and templates (home, article, search results)

Configured appropriate .gitignore and .vscode settings for development. Licensed under MIT License.
2024-07-11 12:25:19 +02:00

13 lines
No EOL
394 B
HTML

{% extends "base.html" %}
{% block content %}
<h1>Search Results for "{{ query }}"</h1>
<ul>
{% for result in search_results %}
<li>
<a href="{{ url_for('wiki_article', project=project, lang=lang, title=result['title']) }}">{{ result['title'] }}</a>
<p>{{ result['snippet']|safe }}</p>
</li>
{% endfor %}
</ul>
{% endblock %}