adityatelange / hugo-PaperMod

A fast, clean, responsive Hugo theme.
https://adityatelange.github.io/hugo-PaperMod/
MIT License
10.26k stars 2.72k forks source link

[Enhancement]: Update the Getting Started section to delete the hugo.yaml caused by new site --format yaml command #1595

Closed dkotama closed 2 months ago

dkotama commented 2 months ago

What you'd like to propose?

Based on this issue resolves Number #70 A new Hugo installation , currently im using v0.120.4

When follows the new tutorial on the official wiki using this command hugo new site MyFreshWebsite --format yaml

This version of hugo will also create hugo.yaml and no config.yaml created. when new user runs hugo server this errors will happens:

WARN  found no layout file for "html" for kind "home": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
WARN  found no layout file for "html" for kind "taxonomy": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.

as the issues no #70 said , this can be fixed by :

  1. manually creates config.yaml
  2. deleting the hugo.yaml

I think it would be good if the new getting started were up to date with this fixes since the new hugo will always return this error from the new --format yaml

Code of Conduct