A Hugo Installation that I use to test and learn Hugo features

Hi,

I very often need a “test” installation of Hugo to try out new features, templates, shortcodes etc. It has content that you could (generously) call “real” with images, taxonomies etc. I have found it incredibly useful in my wonderful journey learning and deploying Hugo based sites.

If you are also in need of such an installation, I have removed all the branches that were a part of my testing/learning and uploaded it for anyone with the same need as mine. The content is the list of Top 50 films of All Time - a list that is maintained by the British Film Institute. The content for each film (each film is a post) is pulled from the metadata, posters, backdrop images and synopsis from The Movie Database. Each post also has the poster and a backdrop for the film so that you wont have to live link to this amazing public domain resource that is TMDB.

I have also included trhe full metadata for each film and they are all added in the assets/metadata folder. Feel free to parse these local files to embellish your content. If you have any ideas in Design, UX or the use of Hugo capabilities that you would like to showcase, there is always the “Showcases” section to show off but also give an opportunity for others to learn. I have deliberately kept the Theme to be the default one that is generated by hugo new theme simple with minimal changes.

The way I work with this is to start from the initial commit and make a branch for each topic that I want to explore/learn (I learnt this trick from the maintainers, so a hat-tip to them is in order).

Just one request. If you publish the Test site with your own theme and templates, TMDB just requires you to acknowledge the source. A request that is trivially satisfied.

You can find my repo at GitHub - gurunandan-bhat/hugot: A Hugo installation for testing with content, images and data · GitHub

If you have any ideas on how this could be more useful to learners and triers, I would be happy to incorporate your pull request.

Enjoy!!

2 Likes