from django import template
from ..models import Page
register = template.Library()


@register.inclusion_tag('pages/page-block.html')
def page_block():
    pages = Page.objects.all()[:5]
    return {'pages': pages}

e12b20868af95d93dfadbccf7b554104d21d81bf
<mask token>

<mask token>


@register.inclusion_tag('pages/page-block.html')
def page_block():
    pages = Page.objects.all()[:5]
    return {'pages': pages}

<mask token>
register = template.Library()


@register.inclusion_tag('pages/page-block.html')
def page_block():
    pages = Page.objects.all()[:5]
    return {'pages': pages}

from django import template
from ..models import Page
register = template.Library()


@register.inclusion_tag('pages/page-block.html')
def page_block():
    pages = Page.objects.all()[:5]
    return {'pages': pages}
