OSDN Git Service

js: fix to work embed journal editor
[newslash/newslash.git] / src / newslash_web / templates / journal / journal.html.tt2
index d05b2e9..e5b21d7 100644 (file)
@@ -1,9 +1,15 @@
 [% WRAPPER common/layout sidebar=1 vue=1 %]
+[% INCLUDE components/article_item %]
+[% INCLUDE components/content_editor %]
 <script>
   var article = {};
 </script>
 <div class="main-column">
   <div class="journal main-contents" id="journal-index">
+    <div class="item-wrapper">
+      <article-item :item="item"></article-item>
+      <content-editor :item="item"></content-editor>
+    </div>
     [%- INCLUDE common/article story=journal hide_more_link = 1 %]
   </div><!-- .story -->
 
@@ -12,5 +18,4 @@
 
 [%- INCLUDE common/sidebar -%]
 
-
 [% END %]