You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
732 B
28 lines
732 B
{% extends "layout.html" %}
|
|
{% block content %}
|
|
|
|
<div class="diversionpage content-block">
|
|
|
|
<div class="diverge_all">
|
|
<p>Sentences that have <i>{{ searchterm }}</i> in common : </p><br>
|
|
{% for word in wordlist_dict %}
|
|
{% if searchterm == word %}
|
|
{% set length_d = wordlist_dict[word]|length %}
|
|
<div class="diverge_list">
|
|
{% for item in wordlist_dict[word] %}
|
|
{% set address = "/description?id=" + item['id'] %}
|
|
<a href={{address}} class="diverge">
|
|
{{ item['sentence'] }}
|
|
</a><br>
|
|
|
|
<span class="folder-corner">└ from {{ item['id'] }} — {{index_dict[ item['id'] ]}}</span>
|
|
|
|
<br><br><br>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
</div>
|
|
{% endblock %}
|
|
|