aboutsummaryrefslogtreecommitdiff
path: root/src/mixins/postUtils.pug
diff options
context:
space:
mode:
Diffstat (limited to 'src/mixins/postUtils.pug')
-rw-r--r--src/mixins/postUtils.pug4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mixins/postUtils.pug b/src/mixins/postUtils.pug
index b96ff1e..7eef9b2 100644
--- a/src/mixins/postUtils.pug
+++ b/src/mixins/postUtils.pug
@@ -1,4 +1,8 @@
1- 1-
2 function isPostMedia(p) {
3 return isPostImage(p) || isPostGallery(p) || isPostVideo(p);
4 }
5-
2 function isPostGallery(p) { 6 function isPostGallery(p) {
3 return (p.is_gallery && p.is_gallery == true); 7 return (p.is_gallery && p.is_gallery == true);
4 } 8 }