Skip to content

Commit

Permalink
Merge pull request jacerider#4 from americkson/8.x-1.x-dev
Browse files Browse the repository at this point in the history
fixed URL for nodes when used as a teaser
  • Loading branch information
jacerider committed Aug 2, 2016
2 parents 514bae1 + 08c8eee commit e3fdf0c
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 e3fdf0c

Please sign in to comment.