I'm trying to create singlepage blog, blog post looks like this:
I succeed posting text and images, but I can't figure out how to include html code. Because of that I can't post a new post, only update the old one. This is the current code that I'm running:
I need to include <article></article><h2></h2><p></p> in my posts.
Any idea how to do this? Tnx!
- Code: Select all
<article>
<a class="thumbnail" href="images/fulls/12.jpg"><img src="images/thumbs/12.jpg" alt="" /></a>
<h2>Mattis lorem sodales</h2>
<p>Feugiat auctor leo massa, nec vestibulum nisl erat faucibus, rutrum nulla.</p>
</article>
I succeed posting text and images, but I can't figure out how to include html code. Because of that I can't post a new post, only update the old one. This is the current code that I'm running:
- Code: Select all
<cms:template title="AddPost" clonable="1" commentable="0">
<cms:editable name='Num_1' type='richtext'/>
<cms:editable name='Num_2' type='richtext'/>
<cms:editable name='img' type='image'/>
</cms:template>
<article>
<a class="thumbnail" href="<cms:show img/>"><img src="<cms:show img/>" alt="" /></a>
<h2><cms:show Num_1/></h2>
<p><cms:show Num_2/></p>
</article>
I need to include <article></article><h2></h2><p></p> in my posts.
Any idea how to do this? Tnx!