aboutsummaryrefslogtreecommitdiff
path: root/views/includes
diff options
context:
space:
mode:
Diffstat (limited to 'views/includes')
-rw-r--r--views/includes/js.html3
-rw-r--r--views/includes/like.html3
2 files changed, 6 insertions, 0 deletions
diff --git a/views/includes/js.html b/views/includes/js.html
new file mode 100644
index 0000000..784c3b6
--- /dev/null
+++ b/views/includes/js.html
@@ -0,0 +1,3 @@
1{{ define "js" }}
2<script src="/assets/js/{{ . }}.js"></script>
3{{ end }}
diff --git a/views/includes/like.html b/views/includes/like.html
new file mode 100644
index 0000000..226aaff
--- /dev/null
+++ b/views/includes/like.html
@@ -0,0 +1,3 @@
1{{ define "like" }}
2<span class="like-count" content-type={{ .ContentType }} content-id={{ .ContentID }}></span> Likes
3{{ end }}