def render_seo_links(self, scheme=None):
    'Render the rel=canonical, rel=prev and rel=next links to a Markup object for injection into a template'
    out = self.render_prev_next_links(scheme=scheme)
    if (self.total_pages == 1):
        out += self.render_canonical_link(scheme=scheme)
    return out
Render the rel=canonical, rel=prev and rel=next links to a Markup object for injection into a template
def render_seo_links(self, scheme=None):
    
    out = self.render_prev_next_links(scheme=scheme)
    if (self.total_pages == 1):
        out += self.render_canonical_link(scheme=scheme)
    return out