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

Fix #2011 #2013

Merged
merged 1 commit into from Sep 4, 2015
Merged

Fix #2011 #2013

merged 1 commit into from Sep 4, 2015

Conversation

jjconti
Copy link
Contributor

@jjconti jjconti commented Sep 4, 2015

No description provided.

@Kwpolska
Copy link
Member

Kwpolska commented Sep 4, 2015

what about _generate_posts_task for daily archives?

@jjconti
Copy link
Contributor Author

jjconti commented Sep 4, 2015

_generate_posts_task calls _prepare_task with items = None

@@ -8,8 +8,11 @@
</header>
%if items:
<ul class="postlist">
% for text, link in items:
% for text, link, count in items:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

other lists might not contain the count thing, you should look into that (in self.site.generic_post_list_renderer?)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I looked for uses of list.tmpl. That's why I added None as count element in indexes.py

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, let’s merge this.

Kwpolska added a commit that referenced this pull request Sep 4, 2015
@Kwpolska Kwpolska merged commit 02b9068 into master Sep 4, 2015
@Kwpolska Kwpolska deleted the archive_count branch September 4, 2015 17:46
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

Successfully merging this pull request may close these issues.

None yet

3 participants