This commit is contained in:
2024-03-03 20:46:52 +03:00
parent bdc8f8496f
commit 90b832e3e8
26 changed files with 199 additions and 530 deletions

View File

@@ -11,6 +11,11 @@ def pages(page):
"""
pagedata = {'title': 'Статьи - ' + app.config['TITLE']}
pages = models.db_session.query(
models.Page
).all()
pagedata['pages'] = pages
pagedata['pagination'] = {
"page": page,
"per_page": app.config['ITEMS_ON_PAGE'],