@@ -25,8 +25,7 @@ _Generate cover images from Hugo posts_
- Install the [go toolchain](https://go.dev/doc/install)
- Run `go install .`
- This bundles your selected fonts into the binary
-- Run the tool from the root of your Hugo site (it also expects the site to be a- git repository)
+- Run the tool from the root of your Hugo site
- **Example:** `p2c -i content/posts/post.md -o public/post/cover.png`
```
@@ -52,7 +51,7 @@ It looks at...
- date
- Site's config.{toml/yaml/yml} fields for
- title (site title)
-- Git history to determine the date the post was last edited.
+- The file's metadata for the last modified date
```
[goreportcard-badge]: https://goreportcard.com/badge/git.sr.ht/~amolith/p2c
@@ -309,7 +309,7 @@ It looks at...
- date
- The site's config.{toml/yaml/yml} fields for
- title (site title)
-- The git history to determine the date the post was last edited.
+- The file's metadata for the last modified date
`)
}