Skip to content
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

error calling Paginate: cannot convert type page.PagesGroup to Pages #56

Closed
gusennan opened this issue May 12, 2020 · 0 comments
Closed

Comments

@gusennan
Copy link

Hi, thanks for developing Docsy!

I'm just starting to use it in a project and have a content directory layout like so:

PS C:\Users\nsg\code\duke\osprey-gui\docs\content> tree /F
Folder PATH listing
Volume serial number is BEEA-4A21
C:.
└───en
    ├───about
    │       _index.html
    │
    ├───articles
    ├───blog
    │       _index.md
    │
    ├───docs
    │       _index.md
    │
    └───tutorials

I get this error message when trying to run hugo server:

PS C:\Users\nsg\code\duke\osprey-gui\docs> hugo server
Building sites … Built in 451 ms
Error: Error building site: failed to render pages: render of "section" failed: "C:\Users\nsg\code\duke\osprey-gui\docs\themes\docsy\layouts\blog\list.html:7:11": execute of template failed: template: blog/list.html:7:11: executing "main" at <.Paginate>: error calling Paginate: cannot convert type page.PagesGroup to Pages
PS C:\Users\nsg\code\duke\osprey-gui\docs>

I'm using docsy as a submodule:

PS C:\Users\nsg\code\duke\osprey-gui\docs> git submodule status
 8b786354829536454688df1e63b9cad792f68562 themes/docsy (heads/master)

Any idea what might be going on, or might I need to provide more information?

Thanks!

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

No branches or pull requests

1 participant