Skip to content

GrantBirki/software

Repository files navigation

software

deploy Unlock On Merge ci

Development

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 -D

Now you can visit localhost:1313 to see the site.

Open Graph Images

If you wish to render open graph images, you can use the following commands:

script/images

Then 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