Book Store Sample Data

Example

I just followed the example here on the hugo docs to set up the simple books demo, but I intend to use this new feature to build out some great new dynamic content for content marketing purposes, such as lists of top products.

Small changes to my single.html

I added changes to fit my template better and a link to buy the book on amazon with a search link searching for the isbn. I haven’t figured out a way to link by isbn directly, you could do that years ago when I last messed with that stuff, but now the isbn is 13 digits and the asin is only 10.

<a href="https://www.amazon.com/s?k={{ $isbn }}&tag=grrquarterly-20" class="bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded">
  Buy it Now 
</a>

The Hunchback of Notre Dame

In projects
Buy The Hunchback of Notre Dame on Amazon.com

Interpreting the French Revolution

In projects
Buy Interpreting the French Revolution on Amazon.com

The Ancien Régime and the Revolution

In projects
Buy The Ancien Régime and the Revolution on Amazon.com

Les Misérables

In projects
Buy Les Misérables on Amazon.com