aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--templates/web/about.html13
-rw-r--r--templates/web/base.html2
-rw-r--r--templates/web/entry.html2
-rw-r--r--templates/web/index.html2
4 files changed, 14 insertions, 5 deletions
diff --git a/templates/web/about.html b/templates/web/about.html
new file mode 100644
index 0000000..cfccb50
--- /dev/null
+++ b/templates/web/about.html
@@ -0,0 +1,13 @@
+{% extends "base.html" %}
+
+
+{% block content %}
+<article>
+ {% if readme %}
+ {{ readme | safe }}
+ {% else %}
+ This collection doesn't have a README.rst or README.txt file:
+ maybe add one?
+ {% endif %}
+</article>
+{% endblock %}
diff --git a/templates/web/base.html b/templates/web/base.html
index f0b7615..ecf8f06 100644
--- a/templates/web/base.html
+++ b/templates/web/base.html
@@ -6,7 +6,7 @@
<!-- <link rel="stylesheet" type="text/css" href="links.css"> -->
<link rel="shortcut icon" href="favicon.ico">
<link rel="alternate" type="application/rss+xml" title="RSS" href="/rss">
- <title>{% block title %}{% endblock %}</title>
+ <title>{% block title %}Linkopedia{% endblock %}</title>
<style>
html { width: 100%; }
body {
diff --git a/templates/web/entry.html b/templates/web/entry.html
index 852f5c8..9c3015d 100644
--- a/templates/web/entry.html
+++ b/templates/web/entry.html
@@ -1,7 +1,5 @@
{% extends "base.html" %}
-{% block title %}Linkopedia{% endblock %}
-
{% block content %}
<article>
<header>
diff --git a/templates/web/index.html b/templates/web/index.html
index e63c185..9683ddb 100644
--- a/templates/web/index.html
+++ b/templates/web/index.html
@@ -1,7 +1,5 @@
{% extends "base.html" %}
-{% block title %}Linkopedia{% endblock %}
-
{% block content %}
<section>
{% if q %}<h2>Cerca: '{{ q }}'</h2>{% endif %}