I try to update to version 0.55.0. Hugo doesn’t render the markdown of the homepage correctly. How can I solve the warning?
hugo server
Building sites … WARN 2019/04/09 00:16:20 Page's .Hugo is deprecated and will be removed in a future release. Use the global hugo function.
| DE | EN
+------------------+----+----+
Pages | 21 | 21
Paginator pages | 0 | 0
Non-page files | 0 | 0
Static files | 23 | 23
Processed images | 0 | 0
Aliases | 0 | 0
Sitemaps | 1 | 1
Cleaned | 0 | 0
Total in 68 ms
Watching for changes in /home/example/Projects/homepage/{content,layouts,themes}
Watching for config changes in /home/example/Projects/homepage/config.toml
Environment: "development"
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:1313/ (bind address 127.0.0.1)
Environment: "development"
Web Server is available at http://localhost:1314/ (bind address 127.0.0.1)
Press Ctrl+C to stop
Yes, this is probably because of the shortcode changes – see https://gohugo.io/news/0.55.0-relnotes/ – I assumed this would break something, but we had to do this sooner or later, as it is a good thing.
I experienced the same type of not rendering. If your shortcode has something like this <div>{{ .Inner }}</div> and you are calling it with {{% myshortcode %}} [This is a link](#) {{% /myshortcode %}} than everything inside the div is not rendered. However, the same div in the normal content would not be handled by blackfriday, so I figure it is the correct behaviour of not rendering.
Yes, we have some examples of the same in the Hugo Docs (which needs to be fixed). The old behaviour was odd (I take the blame for that), but the new way has much less negative side-effects than positive.