Update show page template.

This commit is contained in:
BoHung Chiu 2020-09-23 21:23:18 +08:00
parent 1e33b7541e
commit 60b8e5c146
1 changed files with 8 additions and 1 deletions

View File

@ -19,7 +19,12 @@
</ul> </ul>
<section class="s-annc__post-wrap"> <section class="s-annc__post-wrap">
<p class="s-annc__post-body">{{body}}</p> <div class="s-annc__sub-img pull-right {{hide_class}}">
<img src="{{img_src}}" alt="{{img_description}}"></img>
<span class="s-annc__img_description">{{img_description}}</span>
</div>
<div class="s-annc__subtitle">{{subtitle_ann}}</div>
<div class="s-annc__post-body">{{body}}</div>
</section> </section>
<ul class="s-annc__related-wrap list-unstyled no-print"> <ul class="s-annc__related-wrap list-unstyled no-print">
@ -61,5 +66,7 @@
// Links // Links
hideEmptyEl($('.s-annc__link-title'), $('.s-annc__related-link')); hideEmptyEl($('.s-annc__link-title'), $('.s-annc__related-link'));
$("img[src='']").remove();
}(jQuery)); }(jQuery));
</script> </script>