Skip to content

fix(blog): preserve space when back link is hidden - #1201

Merged
wesleyboar merged 1 commit into
mainfrom
fix/blog-back-link-preserve-space
Jul 8, 2026
Merged

fix(blog): preserve space when back link is hidden#1201
wesleyboar merged 1 commit into
mainfrom
fix/blog-back-link-preserve-space

Conversation

@wesleyboar

@wesleyboar wesleyboar commented Jul 8, 2026

Copy link
Copy Markdown
Member

Overview

Filtered news list pages lost vertical space below the list after #1200 because the back link was omitted when PORTAL_BLOG_SHOW_BACK_LINK is false. The markup stays in place and is hidden with visibility: hidden so layout matches the previous back link spacing.

Related

Changes

  • updated post_list.html to always render .blog-back on author, archive, and tag views when the setting is false

Testing

  1. With default PORTAL_BLOG_SHOW_BACK_LINK, open a filtered news list URL.
  2. Confirm the “Back” link is not visible and spacing below the list is preserved.
  3. Set PORTAL_BLOG_SHOW_BACK_LINK = True and confirm the link is visible.

UI

keep extra space, but hide text

Keep the back link markup on filtered list views and use visibility:hidden when PORTAL_BLOG_SHOW_BACK_LINK is false.
@qodo-code-review

Copy link
Copy Markdown

Qodo reviews are paused for this user.

Troubleshooting steps vary by plan Learn more →

On a Teams plan?
Reviews resume once this user has a paid seat and their Git account is linked in Qodo.
Link Git account →

Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center?
These require an Enterprise plan - Contact us
Contact us →

@wesleyboar
wesleyboar merged commit 89b660f into main Jul 8, 2026
@wesleyboar
wesleyboar deleted the fix/blog-back-link-preserve-space branch July 8, 2026 21:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant