Skip to content
This repository has been archived by the owner on Feb 16, 2019. It is now read-only.

Commit

Permalink
bug #324 Inconsistent result on Index Page (CharlotteDunois)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.0-dev branch.

Discussion
----------

Inconsistent result on Index Page

Switches a boolean in the macro to provide, by default, a consistent result on the index page. Fixes #309.

Commits
-------

bc0ac7d Update macros.twig
  • Loading branch information
fabpot committed Jan 10, 2018
2 parents acf9dff + bc0ac7d commit e844a08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sami/Resources/themes/default/macros.twig
Expand Up @@ -20,7 +20,7 @@

{% macro property_link(property, absolute, classonly) -%}
<a href="{{ property_path(property) }}">
{{- abbr_class(property.class) }}{% if not classonly|default(true) %}#{{ property.name|raw }}{% endif -%}
{{- abbr_class(property.class) }}{% if not classonly|default(false) %}#{{ property.name|raw }}{% endif -%}
</a>
{%- endmacro %}

Expand Down

0 comments on commit e844a08

Please sign in to comment.