Skip to content

Commit 1a213f6

Browse files
committed
Need to use with to use tha value
1 parent 5ca31cc commit 1a213f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/partials/head-info.hbs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{{#unless (ne page.attributes.no-canonical undefined)}}
22
{{#if page.canonicalUrl}}
3+
{{#with page.canonicalUrl}}
34
<link rel="canonical" href="{{{this}}}">
5+
{{/with}}
46
{{else}}
57
<link rel="canonical" href="https://neo4j.com{{{ page.attributes.canonical-root }}}{{ page.url }}">
68
{{/if}}

0 commit comments

Comments
 (0)