I attempted to build a blog with blogdown and hugo theme. I have no intention to comit and push it to github.
Here is what I did:
New project
New Directory
Website using blogdown
Use alex-shpak/hugo-book as the Hugo theme, so copy and paste it in.
Create Projecct
When I did the following code
build_site(local = T)
I got the following message:
Start building sites …
hugo v0.91.2-1798BD3F+extended windows/amd64 BuildDate=2021-12-23T15:33:34Z VendorInfo=gohugoio
ERROR 2022/08/30 11:10:42 Failed to read Git log: fatal: not a git repository (or any of the parent directories): .git
WARN 2022/08/30 11:10:42 Expand shortcode is deprecated. Use 'details' instead.
WARN 2022/08/30 11:10:42 Page '/overview/configuration/' not found in 'posts\migrate-from-jekyll.md'
WARN 2022/08/30 11:10:42 Page '/layout/templates/' not found in 'posts\migrate-from-jekyll.md'
WARN 2022/08/30 11:10:42 Page '/doc/shortcodes/' not found in 'posts\migrate-from-jekyll.md'
WARN 2022/08/30 11:10:42 Page '/layout/variables' not found in 'posts\goisforlovers.md'
WARN 2022/08/30 11:10:42 Page '/layout/functions' not found in 'posts\goisforlovers.md'
WARN 2022/08/30 11:10:42 Page '/content/front-matter' not found in 'posts\goisforlovers.md'
Error: Error building site: logged 1 error(s)
Total in 818 ms