From f3302ecb76be3f42d782d73a58552775416b5052 Mon Sep 17 00:00:00 2001 From: Martin Ashby Date: Fri, 4 Aug 2023 22:29:41 +0100 Subject: Convert comments to zig --- zig-comments/src/templates/badrequest.html | 6 ++++++ zig-comments/src/templates/comments.html | 9 +++++++++ zig-comments/src/templates/form.html | 11 +++++++++++ zig-comments/src/templates/notfound.html | 6 ++++++ zig-comments/src/templates/notification.txt | 5 +++++ 5 files changed, 37 insertions(+) create mode 100644 zig-comments/src/templates/badrequest.html create mode 100644 zig-comments/src/templates/comments.html create mode 100644 zig-comments/src/templates/form.html create mode 100644 zig-comments/src/templates/notfound.html create mode 100644 zig-comments/src/templates/notification.txt (limited to 'zig-comments/src/templates') diff --git a/zig-comments/src/templates/badrequest.html b/zig-comments/src/templates/badrequest.html new file mode 100644 index 0000000..927e908 --- /dev/null +++ b/zig-comments/src/templates/badrequest.html @@ -0,0 +1,6 @@ + + + +

Bad Request!

+ + \ No newline at end of file diff --git a/zig-comments/src/templates/comments.html b/zig-comments/src/templates/comments.html new file mode 100644 index 0000000..a1d8b76 --- /dev/null +++ b/zig-comments/src/templates/comments.html @@ -0,0 +1,9 @@ + diff --git a/zig-comments/src/templates/form.html b/zig-comments/src/templates/form.html new file mode 100644 index 0000000..8c492ea --- /dev/null +++ b/zig-comments/src/templates/form.html @@ -0,0 +1,11 @@ +
+
+
+
+
+
+
+
+
+ +
diff --git a/zig-comments/src/templates/notfound.html b/zig-comments/src/templates/notfound.html new file mode 100644 index 0000000..417e20d --- /dev/null +++ b/zig-comments/src/templates/notfound.html @@ -0,0 +1,6 @@ + + + +

Not found!

+ + \ No newline at end of file diff --git a/zig-comments/src/templates/notification.txt b/zig-comments/src/templates/notification.txt new file mode 100644 index 0000000..ba85056 --- /dev/null +++ b/zig-comments/src/templates/notification.txt @@ -0,0 +1,5 @@ +New comment on {{ url }}: + +Author: {{ author }} + +Comment: {{ comment }} \ No newline at end of file -- cgit v1.2.3-ZIG