diff --git a/templates/p.html b/templates/_markup.html similarity index 99% rename from templates/p.html rename to templates/_markup.html index a1dcee6..fc792b2 100644 --- a/templates/p.html +++ b/templates/_markup.html @@ -1,4 +1,3 @@ -
<. if p.markups.is_empty() {.> <.= p.text .> <.} else {.> @@ -41,4 +40,3 @@ <.= p.text.slice(cur..) .> <.}.> <.}.> -
diff --git a/templates/main.css b/templates/main.css index 4885427..ee86c29 100644 --- a/templates/main.css +++ b/templates/main.css @@ -133,3 +133,8 @@ iframe { .gist_link { margin-left: 5px; } + +.libmedium__meta { + background-color: rgb(255, 165, 0); + padding: 5px; +} diff --git a/templates/post.html b/templates/post.html index 4802f49..116db2b 100644 --- a/templates/post.html +++ b/templates/post.html @@ -26,7 +26,7 @@ <. if p.type_ == "IMG" {.> <. include!("./img.html"); .> <.} else if p.type_ == "P" {.> - <. include!("./p.html"); .> +<. include!("./_markup.html"); .>
<.} else if p.type_ == "H2" {.>+ <. include!("./_markup.html"); .> +
+ + <.}.> <.}.>