def archive_all(date_filter): archive = Article.archive_statistic(author="cxw") tags = Article.tag_statistic(author="cxw") published_article = Article.archive(date_filter=date_filter, author="cxw") return render_template("CxwBlog.html", published_article=published_article, archive=archive, tags=tags)
def archive_all(date_filter): archive = Article.archive(date_filter=date_filter, author="scc") return render_template("AllArticle.html", archive=archive)