statichunt / iwriter-hugo

iWriter is a Travel blog template based on Bootstrap and powered by Hugo.
https://statichunt.com/themes/hugo-iwriter
MIT License
16 stars 15 forks source link

Make a Go/Hugo module, ensure theme pulls modules #15

Closed genebean closed 1 year ago

genebean commented 1 year ago

This does a couple of things:

Testing

One way to test this is to cd into the example site, add the line below to go.mod, and run hugo serve -w

replace github.com/statichunt/iwriter-hugo => ../

This method is per https://gohugo.io/hugo-modules/use-modules/#make-and-test-changes-in-a-module

tfsomrat commented 1 year ago

Sorry, We couldn't accept this PR. we have a pattern for our themes. and we can't break that. hope you understand. have a good day.