Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor(layouts): Category pages (excl. videos.html) use common layout file #8

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

ithake
Copy link
Owner

@ithake ithake commented Dec 12, 2023

_layouts/default_category.html created to store common code.
All category/ files except videos.html use default_category for layout.

Affected category pages:

Unaffected category page:

Testing

Visually checked each category file lined up with current blog:

compare-category-pages ... image

Checklist

Have you (please tick each box to show completion):

  • Checked that the build passes?

Posts are approved based on their category. replace (at) with @ to notify them!

  • Tech - Colin Eberhardt - (at)ColinEberhardt
  • Cloud - Colin Eberhardt - (at)ColinEberhardt
  • Delivery - Matt Phillips - (at)scottlogicmphillips
  • UX - Graham Odds - (at)godds
  • People - Graham Odds - (at)godds
  • Testing - Laurence Pisani - (at)lpisani-SL

_layouts/default_category.html created to store common code.
All category/ files except videos.html use default_category for layout.
@ithake
Copy link
Owner Author

ithake commented Dec 12, 2023

@jcarstairs-scottlogic - please let me know when you have your changes merged into the mainsite and I'll rebase with an updated layouts file so that I can test a deployed version on ithake/blog-slogic before submitting to the main site.

Copy link
Collaborator

@jcarstairs-scottlogic jcarstairs-scottlogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good: but you'll want to merge into ScottLogic/gh-pages, not the gh-pages branch on your repo, and assuming the landmark roles PR gets merged first, you'll want to include <main> in the default category layout. I'll notify you when that gets merged

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.

2 participants