Don't show technical reports in main papers list

This commit is contained in:
str4d
2014-03-06 11:40:40 +00:00
parent fd90f5982f
commit 8dfc16996b
3 changed files with 6 additions and 5 deletions

View File

@ -9,7 +9,7 @@ def papers_list(tag='', choice='date'):
if tag:
rbib = [ b for b in rbib.entries if tag in b.get('www_tags', '').split() ]
else:
rbib = rbib.entries
rbib = [ b for b in rbib.entries if 'tech-report' not in b.get('www_tags', '').split() ]
if choice == 'topic':
sectionType = 'Topics'

View File

@ -214,4 +214,5 @@
month = Aug,
www_pdf_url = {/_static/pdf/i2p_philosophy.pdf},
www_section = comm,
www_tags = {tech-report},
}

View File

@ -142,21 +142,21 @@ INITIAL_STRINGS = {
OMIT_ENTRIES = ("proceedings", "journal")
# List of all recognized values for www_tags.
ALL_TAGS = ("selected", )
ALL_TAGS = ("tech-report", )
# Titles of page, by tag.
TAG_TITLES = { "": "I2P Bibliography",
"selected": "Selected I2P Papers"
"tech-report": "I2P Technical Papers"
}
# As TAG_TITLES, but shorter.
TAG_SHORT_TITLES = { "": "I2P Bibliography",
"selected": "Selected I2P Papers",
"tech-report": "I2P Tech Papers",
}
# Directories where tag pages get generated.
TAG_DIRECTORIES = { '': "full",
"selected": "" }
"tech-report": "techrpt" }
# Make cached stuff group-writable. Make sure that your cache directories
# are sticky!