aboutsummaryrefslogtreecommitdiff
path: root/src/html
diff options
context:
space:
mode:
Diffstat (limited to 'src/html')
-rw-r--r--src/html/tags.html39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/html/tags.html b/src/html/tags.html
deleted file mode 100644
index 9302993..0000000
--- a/src/html/tags.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!doctype html>
-<html lang="en">
-
-<head>
- <title>Mark's Kitchen - Blog</title>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
- <link rel="stylesheet" type="text/css" href="/css/styles.css">
- <script src="/js/feed.js"></script>
- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
- <script>
- window.onload = window.onhashchange = function () {
- loadFeed(function () {
- var feed = new Vue({
- el: '#view',
- data: {
- posts: [],
- tag: window.location.hash
- },
- created() {
- console.log(this.tag);
- var tag = window.location.hash.substring(1);
- fetch(new Request(`/tags/${tag}`)).then(response => response.json())
- .then(response => this.posts = response);
- }
- });
- })
- }
- </script>
-</head>
-
-<body>
- <div id="view">
- <h1><a class="navigation" href="/" title="marks.kitchen">&lt;</a>{{tag}}</h1>
- <div id="feed"></div>
- </div>
-</body>
-
-</html> \ No newline at end of file