mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
Add render template hooks for links and images
This commit also * revises the change detection for templates used by content files in server mode. * Adds a Page.RenderString method Fixes #6545 Fixes #4663 Closes #6043
This commit is contained in:
@@ -811,6 +811,7 @@ Short Thumb Width: {{ $thumb.Width }}
|
||||
writeSource(t, fs, filepath.Join(workDir, "layouts", "_default", "single.html"), singleLayout)
|
||||
writeSource(t, fs, filepath.Join(workDir, "layouts", "_default", "list.html"), listLayout)
|
||||
writeSource(t, fs, filepath.Join(workDir, "layouts", "shortcodes", "myShort.html"), myShort)
|
||||
writeSource(t, fs, filepath.Join(workDir, "layouts", "shortcodes", "myShort.customo"), myShort)
|
||||
|
||||
writeSource(t, fs, filepath.Join(workDir, "base", "_index.md"), pageContent)
|
||||
writeSource(t, fs, filepath.Join(workDir, "base", "_1.md"), pageContent)
|
||||
|
Reference in New Issue
Block a user