diff --git a/config.toml b/config.toml index af3b290..8bb8cce 100644 --- a/config.toml +++ b/config.toml @@ -17,6 +17,8 @@ pygmentscodefencesguesssyntax = true googleAnalytics = "UA-60089-16" disqusShortname = "" +enableGitInfo = true + [permalinks] posts = "/:year/:month/:day/:slug" diff --git a/themes/devroom-2020/assets/scss/devroom.scss b/themes/devroom-2020/assets/scss/devroom.scss index 0956ef1..c231c7a 100644 --- a/themes/devroom-2020/assets/scss/devroom.scss +++ b/themes/devroom-2020/assets/scss/devroom.scss @@ -132,4 +132,9 @@ small { .meta { color: $meta; -} \ No newline at end of file +} + +.reading-time { + display: inline-block; + float: right; +} diff --git a/themes/devroom-2020/layouts/partials/post.html b/themes/devroom-2020/layouts/partials/post.html index bdc033c..ec1501d 100644 --- a/themes/devroom-2020/layouts/partials/post.html +++ b/themes/devroom-2020/layouts/partials/post.html @@ -1,16 +1,26 @@ +{{ $lastmod := .Lastmod.Format "2006-01-02" }} +{{ $date := .Date.Format "2006-01-02" }}

{{ .Title }}

-
{{ .Content }} -
\ No newline at end of file +