You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A clear and concise description of what the bug is.
I create a new folder on my laptop called test
I initialise git for the folder test
I add the Loveit Theme using the git submodule command
I copy the contents of the example site (from the loveit theme directory) to the root of my test folder
I add files to git with git add *
I edit the config.toml file and comment out the theme directory setting (# themesDir = "../..")
I check the site it working as expected with hugo serve --disableFastRender -D
Everything looks great!.
I make an initial commit with git.
I add some of my own posts with the hugo new posts/testpost3.md command
I can see these added to the site and all looks great locally and exit the hugo serve command.
I now want to remove the example site posts that I copied over, so I can make the site my own, so i remove them from the /test/content/posts folder.
I now try to start the local webserver again with hugo serve --disableFastRender -D. I now receive the following error
Error: Error building site: failed to render pages: render of "taxonomy" failed: "/Users/xxxxxx/MyDevStuff/test/themes/LoveIt/layouts/taxonomy/list.html:22:26": execute of template failed: template: taxonomy/list.html:22:26: executing "content" at <$.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages
Expected behavior 期待的行为
I would assume the local webserver would just work as normal, cant work out why removing the example posts would cause the issue!.
一段简短的对于你期待的行为的描述.
Screenshots 屏幕截图
N/A error message above
如果可以的话, 提供屏幕截图对解决问题很有帮助.
Build Environment 构建环境
OS: MacOS
Theme version/commit Latest Master (0.26)
Hugo version [e.g. 0.69.0]: 0.69.2/extended
Please use Hugo extended version.
请使用 Hugo extended 版本.
Preview Environment 预览环境
N/A
Additional Information 补充信息
N/A
The text was updated successfully, but these errors were encountered:
Quick Update -> If I follow the instructions on creating a basic site everything works fine!. I am guessing this is the correct approach for building a new site!. I just thought I could speed up that process by using the example site as a baseline - which has clearly not worked!! 😄 . I will close this issue based on going down the clean site route. However I wont delete as I am sure others will try and use the same approach as me thinking it might save time. It did not 🤦
Describe the bug 描述你遇到的错误
A clear and concise description of what the bug is.
I create a new folder on my laptop called test
I initialise git for the folder test
I add the Loveit Theme using the git submodule command
I copy the contents of the example site (from the loveit theme directory) to the root of my test folder
I add files to git with git add *
I edit the config.toml file and comment out the theme directory setting (# themesDir = "../..")
I check the site it working as expected with hugo serve --disableFastRender -D
Everything looks great!.
I make an initial commit with git.
I add some of my own posts with the hugo new posts/testpost3.md command
I can see these added to the site and all looks great locally and exit the hugo serve command.
I now want to remove the example site posts that I copied over, so I can make the site my own, so i remove them from the /test/content/posts folder.
I now try to start the local webserver again with hugo serve --disableFastRender -D. I now receive the following error
Error: Error building site: failed to render pages: render of "taxonomy" failed: "/Users/xxxxxx/MyDevStuff/test/themes/LoveIt/layouts/taxonomy/list.html:22:26": execute of template failed: template: taxonomy/list.html:22:26: executing "content" at <$.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages
Expected behavior 期待的行为
I would assume the local webserver would just work as normal, cant work out why removing the example posts would cause the issue!.
一段简短的对于你期待的行为的描述.
Screenshots 屏幕截图
N/A error message above
如果可以的话, 提供屏幕截图对解决问题很有帮助.
Build Environment 构建环境
Please use Hugo extended version.
请使用 Hugo extended 版本.
Preview Environment 预览环境
N/A
Additional Information 补充信息
N/A
The text was updated successfully, but these errors were encountered: