mirror of
https://github.com/ProjectSynthoria/SynthoriaArchive.git
synced 2025-03-12 15:26:56 +02:00

Infobubble text is now in a separate file, along with a timestamp, so that changes to it don't result in merge conflicts too often. We also add some JS to make the bubble dismissible, keeping track of the last timestamp that was dismissed in localstorage.
20 lines
771 B
HTML
20 lines
771 B
HTML
{% extends "layout.html" %}
|
|
{% block title %}{% if search.term %}{{ search.term | e}}{% else %}Browse{% endif %} :: {{ config.SITE_NAME }}{% endblock %}
|
|
{% block metatags %}
|
|
{% if search.term %}
|
|
<meta property="og:description" content="Search for '{{ search.term }}'">
|
|
{% else %}
|
|
<meta name="description" content="A BitTorrent community focused on Eastern Asian media including anime, manga, music, and more">
|
|
<meta name="keywords" content="torrents, bittorrent, torrent, anime, manga, sukebei, download, nyaa, magnet, magnets">
|
|
<meta property="og:description" content="{{ config.SITE_NAME }} homepage">
|
|
{% endif %}
|
|
{% endblock %}
|
|
{% block body %}
|
|
|
|
{% if not search.term %}
|
|
{% include "infobubble.html" %}
|
|
{% endif %}
|
|
|
|
{% include "search_results.html" %}
|
|
|
|
{% endblock %}
|