I just moved my blog from Wordpress to Hugo, and am loving being back on a static site generator (I used Blosxom back in the before time). I’ve got my site working great, but after adding a bunch of content exported from Wordpress, it’s taking a long time to generate the site. It looks like enabling relatedposts adds about a minute to site generation.
I have 2 content types - posts (2,821 entries) and photos (4,953 entries). I use tags and categories for posts, but don’t need them for photos (they’re just a simple post with an image and maybe a sentence of text - basically replacing flickr etc. for posting photos).
Any ideas for how I could exclude the photos content type from relatedposts, and I guess to prevent photos from being included in the tags taxonomy list?