aboutsummaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/index.html22
-rw-r--r--data/templates/template.html18
2 files changed, 40 insertions, 0 deletions
diff --git a/data/templates/index.html b/data/templates/index.html
new file mode 100644
index 0000000..adfac6e
--- /dev/null
+++ b/data/templates/index.html
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html lang="en">
+ <link rel="stylesheet" href="./styles.css">
+ <head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <title>{{ ring_name }} List</title>
+ </head>
+ <body>
+ <h1>{{ ring_name }} List</h1>
+ <p>{{ ring_description }}</p>
+ <p>Add all sites with declared RSS feeds to your feed reader with this <a href ="{{ opml }}">OPML</a> link.</p>
+ {{ table_of_sites | safe}}
+
+
+ <br>
+ <footer>
+ <p>Last updated: {{ current_time }} </p>
+ <p>Powered by <a href="https://github.com/k3rs3d/ringfairy">ringfairy</a>!</p>
+ </footer>
+ </body>
+</html>
diff --git a/data/templates/template.html b/data/templates/template.html
new file mode 100644
index 0000000..0ae260d
--- /dev/null
+++ b/data/templates/template.html
@@ -0,0 +1,18 @@
+<!doctype html>
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="refresh" content="0; url={{ url }}">
+ <title>Redirecting...</title>
+
+ <style>
+ body {
+ background-color: #000;
+ color: #fff;
+ }
+ </style>
+</head>
+<body>
+ <p>A fairy is teleporting you to <a href="{{ url }}">{{ url }}</a>...!</p>
+</body>
+</html>