Add option to hide number of subprojects
This commit is contained in:
parent
aa99a61895
commit
d322acaafe
@ -107,6 +107,9 @@ show_backlinks = true
|
||||
# Custom separator used in title tag and posts metadata.
|
||||
# title_separator = "-"
|
||||
#
|
||||
# Hide the number of subprojects in the subprojects list.
|
||||
# hide_number_of_subprojects = 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.
|
||||
|
||||
@ -35,8 +35,10 @@
|
||||
{{ macros_translate::translate(key="filter_by_tag", default="Filter by tag", language_strings=language_strings) }}
|
||||
</a>
|
||||
<br />
|
||||
{%- endif %}
|
||||
{%- endif -%}
|
||||
{%- if not config.extra.hide_number_of_subprojects -%}
|
||||
{{ macros_translate::translate(key="posts", number=number_of_posts, default="$NUMBER posts in total", language_strings=language_strings) }}
|
||||
{%- endif -%}
|
||||
</small>
|
||||
</p>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user