OSDN Git Service

template: fix common/article/article for journal body show doubled
authorhylom <hylom@users.sourceforge.jp>
Wed, 4 Oct 2017 11:47:05 +0000 (20:47 +0900)
committerhylom <hylom@users.sourceforge.jp>
Wed, 4 Oct 2017 11:47:05 +0000 (20:47 +0900)
src/newslash_web/templates/common/article/article.html.tt2

index 683d874..cda19ca 100644 (file)
@@ -76,7 +76,7 @@ IF story.content_type == 'poll'; url = "/poll/" _ story.id _ "/"; END;
   <div class="body contents-text" v-html="item.introtext">[% story.introtext %]</div>
   [%- END -%]
 
-  [% IF story.bodytext && !hide_bodytext %]
+  [% IF story.content_type != "journal" && story.bodytext && !hide_bodytext %]
   <div class="body contents-text" v-html="item.bodytext">[% story.bodytext %]</div>
   [% END %]