Add option to hide subproject tags
This commit is contained in:
parent
d322acaafe
commit
21c184a004
@ -110,6 +110,9 @@ show_backlinks = true
|
||||
# Hide the number of subprojects in the subprojects list.
|
||||
# hide_number_of_subprojects = true
|
||||
#
|
||||
# Hide the tags in the subprojects list.
|
||||
# hide_subproject_tags = true
|
||||
#
|
||||
# Whether to use Content Security Policy.
|
||||
# Keep in mind that although this can potentially increase security,
|
||||
# it can break some stuff, in which case you will need to set custom policy.
|
||||
|
||||
@ -30,7 +30,7 @@
|
||||
|
||||
<p>
|
||||
<small>
|
||||
{%- if config.taxonomies | length > 0 -%}
|
||||
{%- if (config.taxonomies | length > 0) and not config.extra.hide_subproject_tags -%}
|
||||
<a href="{{ get_url(path='tags', lang=lang) }}">
|
||||
{{ macros_translate::translate(key="filter_by_tag", default="Filter by tag", language_strings=language_strings) }}
|
||||
</a>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user