From ae46ea85084f2a7ac16e0999a1bad468e586ca77 Mon Sep 17 00:00:00 2001 From: "parsiya@gmail.com" Date: Sun, 28 Aug 2016 21:39:15 -0400 Subject: Categories now wrap properly. Fixes #23 --- layouts/partials/post_header.html | 8 ++++---- static/css/hugo-octopress.css | 5 ++--- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/layouts/partials/post_header.html b/layouts/partials/post_header.html index 4c64bfc..8d81eb6 100644 --- a/layouts/partials/post_header.html +++ b/layouts/partials/post_header.html @@ -1,9 +1,6 @@
-

- {{ if ($.Scratch.Get "isHome") }}{{ .Title }}{{ else }} {{ .Title }} {{ end }} -

{{ .Date.Format "Jan 2, 2006" }} {{ if not .Site.Params.disableReadingTime }} - {{ .ReadingTime }} minute read {{ end }} {{ if .Site.Params.disqusShortname }} - Comments{{ end }} @@ -12,7 +9,10 @@ - - {{ range .Params.categories }}{{ . }}{{ end }} + - {{ range .Params.categories }}{{ . }} {{ end }} {{ end }}

+

+ {{ if ($.Scratch.Get "isHome") }}{{ .Title }}{{ else }} {{ .Title }} {{ end }} +

diff --git a/static/css/hugo-octopress.css b/static/css/hugo-octopress.css index 1862bf5..96153a6 100644 --- a/static/css/hugo-octopress.css +++ b/static/css/hugo-octopress.css @@ -1040,7 +1040,7 @@ article { } article header { position: relative; - padding-top: 2em; + /*padding-top: 2em;*/ padding-bottom: 1em; margin-bottom: 1em; } @@ -1061,7 +1061,7 @@ article header p { } article header p.meta { text-transform: uppercase; - position: absolute; + /*position: absolute;*/ top: 0; } @media only screen and (min-width: 768px) { @@ -2150,7 +2150,6 @@ th { line-height: 1; color: #fff; text-align: center; - white-space: nowrap; vertical-align: baseline; border-radius: .25em; } -- cgit v1.2.3