Skip to content

Move everything to the “new” template system - #128

Open
alterNERDtive wants to merge 1 commit into
michimani:masterfrom
alterNERDtive:push-w
Open

alterNERDtive wants to merge 1 commit into
michimani:masterfrom
alterNERDtive:push-w

Conversation

@alterNERDtive

Copy link
Copy Markdown
Contributor

The “new” system has been introduced in Hugo 0.146 :)

https://gohugo.io/templates/new-templatesystem-overview/

There should be no semantic differences.

  • layouts/_default/* moved to layouts/*
  • layouts/partials renamed to layouts/_partials
    • fixed all occurences in templates
  • layouts/shortcodes renamed to layouts/_shortcodes
  • template "_internal/*" replaced with partial "*"

The “new” system has been introduced in Hugo 0.146 :)

https://gohugo.io/templates/new-templatesystem-overview/

There should be no semantic differences.

* `layouts/_default/*` moved to `layouts/*`
* `layouts/partials` renamed to `layouts/_partials`
  * fixed all occurences in templates
* `layouts/shortcodes` renamed to `layouts/_shortcodes`
* `template "_internal/*"` replaced with `partial "*"`

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant