refactor: blog styles & features#1037
Merged
Merged
Conversation
- many sites manually hide .blog-visual, because of margin when no image - image should become smaller sooner
No one uses this setting as opportunity to add custom media. Category set is only used semantically, never functionally.
These tags can be more generic than I have named them.
Put all tgs in one place.
Name them like Django CMS ("cms_tags")
Remove django.cms.blog.app.page.multimedia.css. Origin: #572 Was for Texascale. Texascale still does not use blog. PR says use on `multimedia` articles, but code assumes `large-media`.
H.P. and I chatted. THis was the result. Tested on CTRN.
wesleyboar
added a commit
to TACC/Core-CMS-Custom
that referenced
this pull request
Nov 27, 2025
wesleyboar
added a commit
to TACC/Core-CMS-Custom
that referenced
this pull request
Nov 27, 2025
wesleyboar
marked this pull request as ready for review
December 1, 2025 00:58
This was referenced Dec 1, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
(so reuse within plugins does not duplicate and tweak code)
Related
Changes
PORTAL_BLOG_CUSTOM_MEDIA_POST_CATEGORY:--articlenews-mixinsblog_is_installedblog_cats_organized→blog_cats_sorted.blog-visualblog_post_use_custom_media→blog_post_has_categoryblog_post_is_show_abstract→blog_post_has_taglinkstosocialssnippets/news/hide-article-main-image.htmlSites can instead hide with CSS globally.
Testing & UI
Blog App
Article Feed
List Layout
This is the default and familiar layout.
list.layout.mov
Grid Layout
Inspect elements. Find
<form … hidden>. Removehiddenattribute. Click grid icon/option.double check narrow screen sizes
double check narrow screen sizes
double check narrow screen sizes
grid.layout.mov
Article Page
Blog Plugins
Feed: Latest Blog Articles
latest.blog.articles.mov
Feed: Author Blog Articles List
style, layout, responsiveness, flexibility