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

Won't able to render blog #65

Closed
paskal opened this issue Mar 20, 2018 · 1 comment
Closed

Won't able to render blog #65

paskal opened this issue Mar 20, 2018 · 1 comment
Assignees
Milestone

Comments

@paskal
Copy link

paskal commented Mar 20, 2018

Hello!

$subj, when trying to run this theme against my blog source I get following:

Building sites … ERROR 2018/03/20 11:47:54 Error while rendering "page" in "post/": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/single.html:7:15: executing "main" at <partial "content-typ...>: error calling partial: template: theme/partials/content-type/article.html:8:7: executing "theme/partials/content-type/article.html" at <partial "tag-footer"...>: error calling partial: template: theme/partials/tag-footer.html:2:14: executing "theme/partials/tag-footer.html" at <len .Params.tags>: error calling len: len of untyped nil
ERROR 2018/03/20 11:48:03 Error while rendering "taxonomy" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/list.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/03/20 11:48:04 Error while rendering "home" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/index.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/03/20 11:48:04 Error while rendering "section" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/list.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
ERROR 2018/03/20 11:48:05 Error while rendering "taxonomyTerm" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/_default/list.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer

                   | EN
+------------------+----+
  Pages            | 84
  Paginator pages  |  0
  Non-page files   |  0
  Static files     | 31
  Processed images |  0
  Aliases          |  0
  Sitemaps         |  1
  Cleaned          |  0

Total in 32221 ms
Watching for changes in /srv/hugo/{content,layouts,static,themes}
Serving pages from memory
Running in Fast Render Mode. For full rebuilds on change: hugo server --disableFastRender
Web Server is available at http://localhost:11009/ (bind address 0.0.0.0)
Press Ctrl+C to stop

Change detected, rebuilding site
2018-03-20 12:10:21.604 +0000
Source changed "/srv/hugo/content/post/2018-03-19-lust-for-text-life.markdown": WRITE
ERROR 2018/03/20 12:10:22 Error while rendering "home" in "": template: /srv/hugo/themes/bilberry-hugo-theme/layouts/index.html:2:21: executing "main" at <.Paginate>: error calling Paginate: 'pager size' must be a positive integer
Total in 1612 ms

The reason may be some absent .Site. parameter or something else but you can't tell it from error messages.

@paskal
Copy link
Author

paskal commented Mar 24, 2018

victoriadrake/hugo-theme-sam#3 is an example of how this can be fixed.

@Lednerb Lednerb self-assigned this Jun 11, 2018
@Lednerb Lednerb added this to the version 1.7.0 milestone Jun 16, 2018
Lednerb added a commit that referenced this issue Jun 16, 2018
…mplemented showSocialMedia switch for the footer.
@Lednerb Lednerb closed this as completed Jun 16, 2018
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

2 participants