Skip to content

Commit

Permalink
fixed URL for nodes when used as a teaser
Browse files Browse the repository at this point in the history
  • Loading branch information
americkson committed Aug 1, 2016
1 parent 514bae1 commit 08c8eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/node/node.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<article id="node-{{ node.id }}" class="{{ attributes.class }}"{{ attributes }}>
{{ title_prefix }}
{% if not page %}
<h2{{ title_attributes }}><a href="{{ node_url }}" rel="bookmark">{{ label }}</a></h2>
<h2{{ title_attributes }}><a href="{{ url }}" rel="bookmark">{{ label }}</a></h2>
{% endif %}
{{ title_suffix }}

Expand Down

0 comments on commit 08c8eee

Please sign in to comment.