First, run script/bootstrap to get your environment set up for development. This will install the necessary dependencies.
Now, to run the site locally, simply run:
hugo server -DNow you can visit localhost:1313 to see the site.
To pull in the latest updates from the Dario theme, run:
script/updateIf you wish to render open graph images, you can use the following commands:
script/imagesThen copy the resulting PNGs that got generated from the front matter of your blog posts into their corresponding content/posts/<post-name> directories.
The text on the open graph images comes from the following front matter fields of a blog post:
ogTitle: Grant Birkinbine
ogDescription: "Here is some description"After you drop the resulting PNGs into your content/posts/<post-name> directories, you can point the following front matter field to the PNG file:
ogImage: /posts/example/og.png