Skip to content

Conversation

@wesleyboar
Copy link
Member

@wesleyboar wesleyboar commented May 27, 2025

Overview

Add a CMS template to support loading TACC news HTML on other sites.

Status

Related

Changes

  • added a template bare.html
  • added CMS_TEMPLATES entry

Testing

  1. Open https://dev.tup.tacc.utexas.edu/news/latest-news/?template=bare.html
  2. Verify page loads News content but:
    • no header nor footer
    • no global assets (e.g. styles, scripts)
  3. (Optional) Verify page template "Bare" is available to editors.
    Editors should not use this, but it must be available to support ?template=.

UI

New Feature Regular View
dev tup news bare dev tup news normal
Testing Step 3 (Optional)
a "Side Effect"
dev bare template option

Notes

I manually made these changes on prod (to test TACC/Core-CMS#868 loading news via prod) — because prod is (likely) allowed as cross-origin resource (pre-prod is not) — but server restart (which I will not do) is required to enable the change, so wasted effort.

@jarosenb jarosenb merged commit 76f2122 into main May 27, 2025
1 check passed
@jarosenb jarosenb deleted the feat/tup-706-news-on-other-sites branch May 27, 2025 18:55
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.

3 participants