We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5ca31cc commit d46e1daCopy full SHA for d46e1da
src/partials/head-info.hbs
@@ -1,10 +1,11 @@
1
- {{#unless (ne page.attributes.no-canonical undefined)}}
2
{{#if page.canonicalUrl}}
+ {{#with page.canonicalUrl}}
3
<link rel="canonical" href="{{{this}}}">
4
+ {{/with}}
5
{{else}}
6
<link rel="canonical" href="https://neo4j.com{{{ page.attributes.canonical-root }}}{{ page.url }}">
7
{{/if}}
- {{/unless}}
8
+
9
{{#unless (eq page.attributes.pagination undefined)}}
10
{{#with page.previous}}
11
<link rel="prev" href="{{{relativize ./url}}}">
@@ -13,6 +14,7 @@
13
14
<link rel="next" href="{{{relativize ./url}}}">
15
{{/with}}
16
{{/unless}}
17
18
{{#with page.description}}
19
<meta name="description" content="{{this}}">
20
0 commit comments