aboutsummaryrefslogtreecommitdiff
path: root/comments/templates
diff options
context:
space:
mode:
authorMartin Ashby <martin@ashbysoft.com>2023-08-22 10:49:17 +0100
committerMartin Ashby <martin@ashbysoft.com>2023-08-22 10:49:17 +0100
commit7ed589a06539fcc91ab779a1e6de0a995f8238b5 (patch)
treef23bd017d43af4714280aea2d152379370393214 /comments/templates
parent8f7f272d68b4197f17d1e76c97546017b8ebea90 (diff)
downloadmfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.tar.gz
mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.tar.bz2
mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.tar.xz
mfashby.net-7ed589a06539fcc91ab779a1e6de0a995f8238b5.zip
Replace comments with zig version
Diffstat (limited to 'comments/templates')
-rw-r--r--comments/templates/comments.html9
-rw-r--r--comments/templates/form.html11
-rw-r--r--comments/templates/notification.txt5
3 files changed, 0 insertions, 25 deletions
diff --git a/comments/templates/comments.html b/comments/templates/comments.html
deleted file mode 100644
index e64ba1c..0000000
--- a/comments/templates/comments.html
+++ /dev/null
@@ -1,9 +0,0 @@
-<ul class="comments">
-{% for comment in comments -%}
- <li class="comment">
- <span class="comment author">{{ comment.author }}</span>
- <p class="comment content">{{ comment.comment }}</p>
- <span class="comment timestamp">{{ comment.ts }}</span>
- </li>
-{%- endfor %}
-</ul>
diff --git a/comments/templates/form.html b/comments/templates/form.html
deleted file mode 100644
index 1f1692c..0000000
--- a/comments/templates/form.html
+++ /dev/null
@@ -1,11 +0,0 @@
-<form action="{{ base_path }}/comment" method="post">
- <input type="hidden" name="url" value="{{ url }}"><br>
- <input type="hidden" name="capcha_id" value="{{ capcha_id }}"><br>
- <label for="author">Name:</label><br>
- <input type="text" id="author" name="author"><br>
- <label for="comment">Comment:</label><br>
- <input type="text" id="comment" name="comment"><br>
- <label for="capcha">{{ capcha_question }}</label><br>
- <input type="text" id="capcha" name="capcha_answer"><br>
- <input type="submit" value="Submit">
-</form>
diff --git a/comments/templates/notification.txt b/comments/templates/notification.txt
deleted file mode 100644
index ba85056..0000000
--- a/comments/templates/notification.txt
+++ /dev/null
@@ -1,5 +0,0 @@
-New comment on {{ url }}:
-
-Author: {{ author }}
-
-Comment: {{ comment }} \ No newline at end of file