Skip to content

Instantly share code, notes, and snippets.

@GiovanniMoretti
Last active January 15, 2020 10:21
Show Gist options
  • Save GiovanniMoretti/8c874652689960c9c11d81952c0ecbd6 to your computer and use it in GitHub Desktop.
Save GiovanniMoretti/8c874652689960c9c11d81952c0ecbd6 to your computer and use it in GitHub Desktop.
If UglyURLs = True, Hugo version 0.15 produced broken links to the category and tag pages. This Python 3 script moves and renames the category and tag index files, so that for these pages, we're pretending the UglyURLs=False.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment