Don't show technical reports in main papers list
This commit is contained in:
@ -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'
|
||||
|
@ -214,4 +214,5 @@
|
||||
month = Aug,
|
||||
www_pdf_url = {/_static/pdf/i2p_philosophy.pdf},
|
||||
www_section = comm,
|
||||
www_tags = {tech-report},
|
||||
}
|
||||
|
@ -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!
|
||||
|
Reference in New Issue
Block a user