-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Improve readability of embedded templates #10900
Comments
jmooring
changed the title
Code readability is not strong, high barriers to entry for newcomers
Improve readability of embedded templates
Apr 17, 2023
Many (all?) of the embedded templates were created before the release of Go 1.6, which introduced syntax to remove white space ( Templates
Shortcodes
Render hooks
Partials
Other
|
jmooring
added a commit
to jmooring/hugo
that referenced
this issue
Apr 25, 2024
jmooring
added a commit
to jmooring/hugo
that referenced
this issue
May 14, 2024
bep
pushed a commit
that referenced
this issue
May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hugo/tpl/tplimpl/embedded/templates/_default/rss.xml
Lines 29 to 36 in 9906c1a
Whether the code can increase the readability, this will not affect the later compression, it should be updated and maintained.
The official documentation feels outdated, so you can only look at the source code. Sometimes the source code is not readable, but Hugo is really easy to use. When can you consider some basic issues.
It's just a personal feeling, if something is wrong, please forgive me, I hope Hugo will get better and better.
The text was updated successfully, but these errors were encountered: