mitodl / ocw-hugo-themes

A Hugo theme for building OCW websites
BSD 3-Clause "New" or "Revised" License
5 stars 4 forks source link

fixed section rendering for the pages #1419

Closed umar8hassan closed 4 months ago

umar8hassan commented 4 months ago

What are the relevant tickets?

closes https://github.com/mitodl/hq/issues/4645

Description (What does it do?)

This fixes rendering of sections for pages in theme

How can this be tested?

  1. in local Hugo themes repo, switch to main branch

  2. start course with the following command: yarn start course 3.a04-fall-2008. This should pull course from rc

  3. Access course on http://localhost:3000/pages/forging/

  4. Identify that it shows only a few of images and incomplete page after Anvil heading.

    Screenshot 2024-06-26 at 4 49 02 PM
  5. Switch to umar/4645-broken-image-galleries-in-legacy-courses branch in themes repo.

  6. refresh page in browser. This should complete page rendering and multiple renderings along with images should appear

    Screenshot 2024-06-26 at 4 51 33 PM
github-actions[bot] commented 4 months ago

Netlify Deployments:
www: https://ocw-hugo-themes-www-pr-1419--ocw-next.netlify.app/
Course v2: https://ocw-hugo-themes-course-v2-pr-1419--ocw-next.netlify.app/