aboutsummaryrefslogtreecommitdiff
path: root/src/html/bread.html
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-08-13 12:08:47 -0500
committerMark Powers <markppowers0@gmail.com>2020-08-13 12:08:47 -0500
commit0ea3736521aca1160a9c927b6a8e6a04724f67ee (patch)
tree03af5531f7d22a835997ea4f8699d636d69340d5 /src/html/bread.html
parent73e145884680242d64bc542afac09aee5f24b132 (diff)
Remove client JS requirement from single blog view
Diffstat (limited to 'src/html/bread.html')
-rw-r--r--src/html/bread.html39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/html/bread.html b/src/html/bread.html
deleted file mode 100644
index aa52655..0000000
--- a/src/html/bread.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<!doctype html>
-<html lang="en">
-
-<head>
- <title>Mark's Kitchen - Bread</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"></script>
- <!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
- <script>
- window.onload = loadFeed(function () {
- var feed = new Vue({
- el: '.feed',
- data: {
- posts: []
- },
- created() {
- fetch(new Request('/posts/bread')).then(response => response.json())
- .then(response => this.posts = response);
- }
- });
- })
- </script>
-</head>
-
-<body>
- <div>
- <h1>
- <a class="navigation" href="/" title="marks.kitchen">&lt;</a>
- Bread
- </h1>
- Some highlights (and lowlights) of breadmaking
- <div id="feed"></div>
- </div>
-</body>
-
-</html> \ No newline at end of file