Commit 73c9d7e6 authored by eric's avatar eric
Browse files

Ad hoc: remove the about page from indexing

Long term: maybe have some meta info. that determine if a page can be sniffed?
parent 6a59b2d5
......@@ -134,6 +134,9 @@ def query_results_to_template_articles(query_results):
template_articles.append(article)
# Ad hoc: remove the about page (maybe have some meta info. that determine if a page can be sniffed?)
template_articles = [article for article in template_articles if article['title'] != "About"]
return sorted(template_articles, key=lambda a: a['date'] if 'date' in a else 0, reverse=True)
def snif():
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment