diff options
author | Mark Powers <markppowers0@gmail.com> | 2020-08-13 12:08:47 -0500 |
---|---|---|
committer | Mark Powers <markppowers0@gmail.com> | 2020-08-13 12:08:47 -0500 |
commit | 0ea3736521aca1160a9c927b6a8e6a04724f67ee (patch) | |
tree | 03af5531f7d22a835997ea4f8699d636d69340d5 /src/html/bread.html | |
parent | 73e145884680242d64bc542afac09aee5f24b132 (diff) |
Remove client JS requirement from single blog view
Diffstat (limited to 'src/html/bread.html')
-rw-r--r-- | src/html/bread.html | 39 |
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"><</a> - Bread - </h1> - Some highlights (and lowlights) of breadmaking - <div id="feed"></div> - </div> -</body> - -</html>
\ No newline at end of file |