perladvent / perldotcom

The source code for Perl.com website
https://www.perl.com
77 stars 80 forks source link

Update baseurl to be www.perl.com #349

Closed abh closed 6 months ago

abh commented 6 months ago

Fastly redirects there anyway, so save some redirects

briandfoy commented 6 months ago

This is blocked because David and I are both in .github/CODEOWNERS, but both of us are on to other projects. Someone can remove that file so it doesn't require one of us to review the PR.

oalders commented 6 months ago

I think this also needs a rebase since the codeowners file will still be in this branch.

abh commented 6 months ago

I liked the idea of building the site as part of the deployment pipeline.

Something changed in Hugo that a few dozen URLs (with double hyphens) changed URLs. To upgrade Hugo those need to have a hardcoded url slug, I think.

oalders commented 6 months ago

In the meantime, we could pin Hugo by using Docker. To test with an older version, I've been using:

docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:0.59.1-ubuntu server
rwp0 commented 6 months ago

Thanks @abh committed the change with baseURL separately