forked from realaravinth/libmedium
implement additional markup types on post
This commit is contained in:
parent
260dcb97e1
commit
847afe1bdd
1 changed files with 11 additions and 1 deletions
|
@ -26,12 +26,22 @@
|
||||||
<. include!("./img.html"); .>
|
<. include!("./img.html"); .>
|
||||||
<.} else if p.type_ == "P" {.>
|
<.} else if p.type_ == "P" {.>
|
||||||
<. include!("./p.html"); .>
|
<. include!("./p.html"); .>
|
||||||
|
<.} else if p.type_ == "H2" {.>
|
||||||
|
<h2><.= p.text .></h2>
|
||||||
|
<.} else if p.type_ == "H3" {.>
|
||||||
|
<h3><.= p.text .></h3>
|
||||||
|
<.} else if p.type_ == "H4" {.>
|
||||||
|
<h4><.= p.text .></h4>
|
||||||
|
<.} else if p.type_ == "H5" {.>
|
||||||
|
<h5><.= p.text .></h5>
|
||||||
|
<.} else if p.type_ == "H6" {.>
|
||||||
|
<h6><.= p.text .></h6>
|
||||||
<.}.>
|
<.}.>
|
||||||
<.}.>
|
<.}.>
|
||||||
</article>
|
</article>
|
||||||
</main>
|
</main>
|
||||||
</body>
|
</body>
|
||||||
<style>
|
<style>
|
||||||
<. include!("./main.css"); .>
|
<. include!("./main.css"); .>
|
||||||
</style>
|
</style>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue