Let tag_object also link to mays, forbids.
This commit is contained in:
parent
c425d55331
commit
270dcadf4e
1 changed files with 6 additions and 0 deletions
|
@ -8,6 +8,9 @@
|
|||
link:
|
||||
None = no link, just a <span>
|
||||
'search' = link to /search?tag_musts=tagname
|
||||
'search_musts' = link to /search?tag_musts=tagname
|
||||
'search_mays' = link to /search?tag_mays=tagname
|
||||
'search_forbids' = link to /search?tag_forbids=tagname
|
||||
'info' = link to /tags/tagname
|
||||
with_alt_description:
|
||||
True: Include the description in the alt text
|
||||
|
@ -23,6 +26,9 @@
|
|||
|
||||
{% set href = {
|
||||
"search": "/search?tag_musts=" + tag.name,
|
||||
"search_musts": "/search?tag_musts=" + tag.name,
|
||||
"search_mays": "/search?tag_mays=" + tag.name,
|
||||
"search_forbids": "/search?tag_forbids=" + tag.name,
|
||||
"info": "/tag/" + tag.name,
|
||||
None: None,
|
||||
}.get(link, link)
|
||||
|
|
Loading…
Reference in a new issue