diff --git a/layouts/shortcodes/chat.html b/layouts/shortcodes/chat.html new file mode 100644 index 0000000..ff50c22 --- /dev/null +++ b/layouts/shortcodes/chat.html @@ -0,0 +1,116 @@ +{{ if eq (.Get "position") "left" }} +
+
+
{{ .Get "name" }}   {{ .Get "timestamp" }}
+
+ {{ .Inner }} +
+
+
+{{ else if eq (.Get "position") "right" }} +
+
+
{{ .Get "timestamp" }}   {{ .Get "name" }}
+
+ {{ .Inner }} +
+
+
+{{ end }} + + \ No newline at end of file