Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
** Why are these changes being introduced: * DSpace@MIT currently sends traffic to a page showing all news articles with a specific "dspacemit" tag - the only such example of a tag index on the site. Unfortunately, this tag index is not displaying correctly due to a bug in the parent theme's tag template. * On the legacy site, this display functions, but is a poor fit for the need because the display isn't branded correctly (it is partially branded with the parent theme) ** Relevant ticket(s): * https://mitlibraries.atlassian.net/browse/pw-55 ** How does this address that need: * This adds a tag template to the News theme. It repeats the structure of the legacy display, being a paginated list of complete articles, instead of the category index that shows an AJAX-paginated list of cards. * There is a small change to content-single.php in the News theme, which we realized was previously unused. Now it is used by the tag template, but we need to change one class to control how the article metadata is displayed (the former class name results in an absolutely-positioned element on screen, which was useful in a card display but is a bug here). * The news styles are updated to ensure that large images don't overflow their container, and to add some padding around each news article in the list. * The parent styles are updated to ensure that pagination links are placed alongside each other. * The news theme version is bumped to 0.3.0. This is a nice-to-have, not required by the style changes as the changed stylesheets are not compiled by SCSS. ** Document any side effects to this change: * The page structure we're using for the tag index is a new visual approach, but the work to provide an AJAX-powerd paginated list of cards would have been higher, and isn't justified by how little use this template will likely see.
- Loading branch information