diff --git a/i2p2www/anonbib/views.py b/i2p2www/anonbib/views.py index 7e1434cf2803db7924a9af0392470a651e5ba96f..bc4ecca5aaa60a8fb0bcec9c5f56243c4a21e892 100644 --- a/i2p2www/anonbib/views.py +++ b/i2p2www/anonbib/views.py @@ -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' diff --git a/i2p2www/pages/papers/anonbib.bib b/i2p2www/pages/papers/anonbib.bib index 33c3347e82495a671180204638ee5a536d504d2b..c028b8c453401ac24d681e23fe098f7716e8a70f 100644 --- a/i2p2www/pages/papers/anonbib.bib +++ b/i2p2www/pages/papers/anonbib.bib @@ -214,4 +214,5 @@ month = Aug, www_pdf_url = {/_static/pdf/i2p_philosophy.pdf}, www_section = comm, + www_tags = {tech-report}, } diff --git a/i2p2www/pages/papers/anonbib.cfg b/i2p2www/pages/papers/anonbib.cfg index be14ab8e4220b2abed5e061074877f749963c359..1d134141440f756a8091eea976f268722ee7f635 100644 --- a/i2p2www/pages/papers/anonbib.cfg +++ b/i2p2www/pages/papers/anonbib.cfg @@ -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!