-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
errors: Position for YAML front matter errors are offset by 1 line #9857
Comments
bep
added a commit
to bep/hugo
that referenced
this issue
May 4, 2022
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
bep
added a commit
to bep/hugo
that referenced
this issue
May 4, 2022
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
bep
added a commit
to bep/hugo
that referenced
this issue
May 4, 2022
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
bep
added a commit
to bep/hugo
that referenced
this issue
May 5, 2022
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
bep
added a commit
to bep/hugo
that referenced
this issue
May 5, 2022
To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
bep
added a commit
to bep/hugo
that referenced
this issue
May 6, 2022
* Add file context to minifier errors when publishing * Misc fixes (see issues) * Allow custom server error template in layouts/server/error.html To get to this, this commit also cleans up and simplifies the code surrounding errors and files. This also removes the usage of `github.com/pkg/errors`, mostly because of pkg/errors#223 -- but also because most of this is now built-in to Go. Fixes gohugoio#9852 Fixes gohugoio#9857 Fixes gohugoio#9863
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
E.g.
_index.md:4:1": failed to unmarshal YAML: yaml: line 3: could not find expected ':'
The text was updated successfully, but these errors were encountered: