Kumi
c436885cbc
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.
13 lines
No EOL
394 B
HTML
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 %} |