diff --git a/assets/css/dark.css b/assets/css/dark.css index 1f25da1..9a407ef 100644 --- a/assets/css/dark.css +++ b/assets/css/dark.css @@ -43,7 +43,7 @@ main#content ul#posts li a:hover { color: #21c7ff; } -main#content header#post-header time { +main#content header#post-header div { color: #a7a7a7; } {{- if not (eq .Site.Params.dark "on") -}} diff --git a/assets/css/main.css b/assets/css/main.css index db49ef7..f55c504 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -142,7 +142,7 @@ main#content header#post-header h1 { line-height: 1.15; } -main#content header#post-header time { +main#content header#post-header div { display: block; font-size: 0.85em; color: #767676; diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7c78e66..db7888c 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,9 +2,15 @@

{{ .Title }}

- {{- if isset .Params "date" -}} - - {{- end -}} +
+ {{- if isset .Params "date" -}} + {{ if eq .Lastmod .Date }} + + {{ else }} + Updated + {{ end }} + {{- end -}} +
{{- .Content -}}