diff --git a/templates/post.html b/templates/post.html index ffdff6c..ea803eb 100644 --- a/templates/post.html +++ b/templates/post.html @@ -26,12 +26,22 @@ <. include!("./img.html"); .> <.} else if p.type_ == "P" {.> <. include!("./p.html"); .> + <.} else if p.type_ == "H2" {.> +

<.= p.text .>

+ <.} else if p.type_ == "H3" {.> +

<.= p.text .>

+ <.} else if p.type_ == "H4" {.> +

<.= p.text .>

+ <.} else if p.type_ == "H5" {.> +
<.= p.text .>
+ <.} else if p.type_ == "H6" {.> +
<.= p.text .>
<.}.> <.}.>