{{ .Title }}
++ {{ dateFormat "January 2, 2006" .Date }} +
+ + ++ {{ .Content }} +
+diff --git a/exampleSite/content/posts/first_post.md b/exampleSite/content/posts/first_post.md new file mode 100644 index 0000000..7f806cf --- /dev/null +++ b/exampleSite/content/posts/first_post.md @@ -0,0 +1,23 @@ +--- +title: "First Post" +date: 2021-05-15T23:39:49+05:30 +tags: ["abc", "def"] +--- + +Yo yo yo + +# This is a heading + +- And +- this +- is +- a +- list + +```py +Codeblocks look like this + +def print(): + print('Hello world!') + +``` diff --git a/themes/gokarna/layouts/_default/single.html b/themes/gokarna/layouts/_default/single.html index e69de29..44902ec 100644 --- a/themes/gokarna/layouts/_default/single.html +++ b/themes/gokarna/layouts/_default/single.html @@ -0,0 +1,35 @@ + + +{{- partial "head.html" . -}} + +
+ {{- partial "header.html" . -}} ++ {{ dateFormat "January 2, 2006" .Date }} +
+ + ++ {{ .Content }} +
+