From dd0aa015cdb720b4caddda5a80896c1b6df8dede Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Wed, 24 Jun 2020 15:28:07 -0400 Subject: [PATCH] feat: make topic tags partial --- templates/partials/post_bar.tpl | 6 +----- templates/partials/topic/tags.tpl | 6 ++++++ 2 files changed, 7 insertions(+), 5 deletions(-) create mode 100644 templates/partials/topic/tags.tpl diff --git a/templates/partials/post_bar.tpl b/templates/partials/post_bar.tpl index 524eb5f..8543967 100644 --- a/templates/partials/post_bar.tpl +++ b/templates/partials/post_bar.tpl @@ -1,10 +1,6 @@
- {{{each tags}}} - - {tags.valueEscaped} - {tags.score} - {{{end}}} +
diff --git a/templates/partials/topic/tags.tpl b/templates/partials/topic/tags.tpl new file mode 100644 index 0000000..79a7b7d --- /dev/null +++ b/templates/partials/topic/tags.tpl @@ -0,0 +1,6 @@ +{{{each tags}}} + + {tags.valueEscaped} + {tags.score} + +{{{end}}} \ No newline at end of file