diff --git a/assets/css/bobastyle.css b/assets/css/bobastyle.css index a569a9e..ee506f3 100644 --- a/assets/css/bobastyle.css +++ b/assets/css/bobastyle.css @@ -29,15 +29,11 @@ margin-top: 5px; } -.wordcount, .rss-link, .readingtime { +(.date, .wordcount, .readingtime, .gitcommit, .tag) + (.date, .wordcount, .readingtime, .gitcommit, .tag) { margin-left: 5px; } -.tags { - margin-top: 5px; -} - -.wordcount, .readingtime, .tag { +.post-meta-item { white-space: nowrap; } @@ -121,6 +117,12 @@ hr { border-color: #444; } +code { + background-color: #282828; + padding: 2px 4px; + border-radius: 5px; +} + * { box-sizing: border-box; } diff --git a/layouts/partials/post-metadata.html b/layouts/partials/post-metadata.html index cb1bfe2..cd6960e 100644 --- a/layouts/partials/post-metadata.html +++ b/layouts/partials/post-metadata.html @@ -2,7 +2,7 @@
{{ if .Date }} - + {{ if .Site.Params.wordcount }} - + {{ end }} {{ if .Site.Params.readingtime }} - + {{ end }} -
- {{ range (.GetTerms "tags") }} - - {{ partial "icon.html" "tag" }} - {{ .LinkTitle }} - - {{ end }} -
+ {{ with .GitInfo }} + + {{ end }} + + {{ range (.GetTerms "tags") }} + + {{ end }}
{{ end }}