aboutsummaryrefslogtreecommitdiff
path: root/views/includes
diff options
context:
space:
mode:
authorjan <jan@ruken.pw>2016-11-14 15:55:50 (UTC)
committerjan <jan@ruken.pw>2016-11-14 15:55:50 (UTC)
commitc735553214400f3af69e516ff41a6da9214449a7 (patch)
treec9a8e8fc84fdbaffb3a3fa318453b36270550ebb /views/includes
parent9832cd28de49421021ed7c1f3caa7fdda7bc4372 (diff)
likes und so.
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 }}