Skip to content
Permalink
Browse files
added missing docstring
  • Loading branch information
ralsina committed Apr 15, 2018
1 parent f7ec3d6 commit 3bc74fc0948b6c15193ece0320be35976d1d1bdb
Showing with 1 addition and 0 deletions.
  1. +1 −0 nikola/plugins/shortcode/post_list.py
@@ -47,6 +47,7 @@ def handler(self, start=None, stop=None, reverse=False, tags=None, require_all_t
sections=None, slugs=None, post_type='post', type=False,
lang=None, template='post_list_directive.tmpl', sort=None,
id=None, data=None, state=None, site=None, date=None, filename=None, post=None):
"""Generate HTML for post-list."""
if lang is None:
lang = utils.LocaleBorg().current_lang
if site.invariant: # for testing purposes

0 comments on commit 3bc74fc

Please sign in to comment.