This code corresponds to section 12.3.4 of Hugo in Action.
You can see this live at https://chapter-12-05.hugoinaction.com.
You can see the changes made in this branch at https://github.com/hugoinaction/hugoinaction/compare/chapter-12-04...chapter-12-05
Note that the website configuration baseURL has been updated to match the code checkpoint.