def METHOD_NAME(self, site):
    """Set Nikola site."""
    self.site = site
    directives.register_directive('post-list', PostListDirective)
    directives.register_directive('post_list', PostListDirective)
    PostListDirective.site = site
    return super().METHOD_NAME(site)