diff --git a/CHANGELOG.md b/CHANGELOG.md index 98af637..201751c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 1.4.1 + +- On a post page, the admin-only link sections (Backlinks, Linked Posts, External Links, External Backlinks) and the comments sit on cards like the post body. They were drawn straight onto the background photo, where the text was hard to read. + ## 1.4.0 - The footer's "Powered by goblog" line comes from goblog's shared `_powered_by` partial instead of being written out in the theme. It now links to [goblog.live](https://www.goblog.live) rather than the GitHub repository, and a site can hide it with the **Show "Powered by goblog"** setting under Admin → Settings → Appearance (goblog #644). diff --git a/static/css/goblog.css b/static/css/goblog.css index fe231fe..0a01507 100644 --- a/static/css/goblog.css +++ b/static/css/goblog.css @@ -108,3 +108,6 @@ video { /* The "Powered by goblog" credit is goblog's shared _powered_by partial; its link takes the colour of the footer line around it. */ .powered-by a { color: inherit; } + +/* Admin-only link sections under a post */ +.post-links + .post-links { margin-top: 24px; } diff --git a/templates/post.html b/templates/post.html index 2ec8947..d8d4711 100644 --- a/templates/post.html +++ b/templates/post.html @@ -27,8 +27,8 @@

{{ .post.Title {{ if .is_admin }} -
-
+
+

Backlinks

Posts that link to this post

{{ if .backlinks }} @@ -41,10 +41,8 @@

Backlinks

None

{{ end }}
-
-
-
+

Linked Posts

Blog posts this post links to

{{ if .outbound_links }} @@ -57,10 +55,8 @@

Linked Posts

None

{{ end }}
-
-
-
+

External Links

External URLs in this post

{{ if .post.ExternalLinks }} @@ -73,10 +69,8 @@

External Links

None

{{ end }}
-
-
-
+

External Backlinks

External sites linking to this post

{{ if .external_backlinks }} @@ -107,14 +101,9 @@

External Backlinks

{{ end }} -
- - - -
-
-
-
+ +
+

Comments ({{ len .comments }})

{{ if .comment_error }}