<. include!("./post_meta.html"); .>

<.= data.title .>

<.= data.creator.name .> <.= data.creator.name .> on <.= &date .> · <.= reading_time .> min read

<. let paragraphs = &data.content.body_model.paragraphs; .> <. for (pindex, p) in paragraphs.iter().enumerate() {.> <. if pindex == 0 && p.type_ == "H3" {.> <. continue; .> <.}.> <. if p.type_ == "IMG" {.> <. include!("./img.html"); .> <.} else if p.type_ == "P" {.>

<. include!("./_markup.html"); .>

<.} else if p.type_ == "BQ" {.>
<. include!("./_markup.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 .>
<.} else if p.type_ == "IFRAME" {.> <. let src = &p.iframe.as_ref().unwrap().media_resource.as_ref().unwrap().href; .> <. if src.contains("gist.github.com"){.> <. include!("./gist_insert.html"); .> <.} else {.> <.}.> <.} else {.>

<. include!("./_markup.html"); .>

From LibMedium: LibMedium is built by reverse engineering the Meduim's internal API. This post contains markup(formatting rules) that we are unaware of. Please report this URL on our bug tracker so that we can improve page rendering.
Alternatively, you can also email me at realaravinth at batsense dot net!

<.}.> <.}.>