18F / development-guide

A set of guidelines and best practices for an awesome software engineering team
https://engineering.18f.gov
Other
1.25k stars 122 forks source link

Merge content under (JavaScript, CSS) directories into single pages #235

Closed Sgtpluck closed 3 years ago

Sgtpluck commented 3 years ago

Addresses #199.

ryanhofdotgov commented 3 years ago

Cool! A couple of quick thoughts:

Sgtpluck commented 3 years ago

😭 😭 okay i will make them one long page. thanks for the intra page subsections tip, that looks much nicer

Sgtpluck commented 3 years ago

@ryanhofdotgov this look better? thanks for the review!

ryanhofdotgov commented 3 years ago

👍 – the one remaining thing I'd recommend is to add redirects for the pages you're deleting.

Here's the docs for jekyll-redirect-from and an example in this guide. Under this approach, the JavaScript and CSS pages would each have ~10 entries under redirect_from in its Jekyll front matter.

Last year I did some minor reorganization of the website, without setting up a redirect, and I promptly got a ticket opened by someone working at a public library 😁. It also gives the search engines some time to catch up to the new site structure.

Sgtpluck commented 3 years ago

whew that's one way to get some user feedback @ryanhofdotgov! thanks for the tip, that's really smart.