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

Add some site statistics to global context #235

wants to merge 3 commits into from


Copy link

@leingang leingang commented Jun 7, 2017

This is a tiny plugin I wrote to add some keys to the global context.

  • post_count: the number of posts in the site
  • cat_count: the number of categories in the site
  • tag_count: the number of tags in the site.
Copy link

@Kwpolska Kwpolska left a comment


This plugin breaks incremental rebuilds by editing GLOBAL_CONTEXT with something that changes pretty often. Please make it work the way sidebar does, by producing a single HTML file.

Copy link

@leingang leingang commented Jun 7, 2017

Oh, OK. I think I might just adapt sidebar, then.

@leingang leingang closed this Jun 7, 2017
Copy link

@felixfontein felixfontein commented Jun 7, 2017

I prepared an example on how to use the sidebar plugin with filetreesubs here:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants