File tree Expand file tree Collapse file tree 8 files changed +31
-31
lines changed
Expand file tree Collapse file tree 8 files changed +31
-31
lines changed Original file line number Diff line number Diff line change 22<html lang =" en" >
33 <head >
44{{> head-first }}
5- <title >{{{ detag (or page.title ' Page Not Found' )}}} {{ #if site.title }} | {{{ site.title }}} {{ /if }} </title >
5+ <title >{{{ detag (or page.title ' Page Not Found' )}}} {{ #with site.title }} | {{ this }} {{ /with }} </title >
66{{> head-last }}
77 </head >
88 <body class =" status-404" >
Original file line number Diff line number Diff line change 22<html lang =" en" >
33 <head >
44{{> head-first }}
5- <title >{{{ detag (or page.title ' Untitled' )}}} {{ #if site.title }} | {{{ site.title }}} {{ /if }} </title >
5+ <title >{{{ detag (or page.title ' Untitled' )}}} {{ #with site.title }} | {{ this }} {{ /with }} </title >
66 {{ #if page.canonicalUrl }}
77 <link rel =" canonical" href =" {{ #if (and (eq env.SUPPORTS_CURRENT_URL ' true' ) (ne page.version ' master' ))}} {{ concat site.url (current-url page.url )}} {{ else }} {{ page.canonicalUrl }} {{ /if }} " >
88 {{ /if }}
Original file line number Diff line number Diff line change 22<html lang =" en" >
33 <head >
44{{> head-first }}
5- <title >Tutorials{{ #if site.title }} | {{{ site.title }}} {{ /if }} </title >
5+ <title >Tutorials{{ #with site.title }} | {{ this }} {{ /with }} </title >
66 {{ #if page.canonicalUrl }}
77 <link rel =" canonical" href =" {{ #if (and (eq env.SUPPORTS_CURRENT_URL ' true' ) (ne page.version ' master' ))}} {{ concat site.url (current-url page.url )}} {{ else }} {{ page.canonicalUrl }} {{ /if }} " >
88 {{ /if }}
Original file line number Diff line number Diff line change 11<script src =" {{ uiRootPath }} /js/site.js" ></script >
2- {{ #if page.attributes.content-scripts }}
3- {{{ page.attributes.content-scripts }}}
4- {{ /if }}
2+ {{ #with page.attributes.content-scripts }}
3+ {{{ this }}}
4+ {{ /with }}
55<script async src =" {{ uiRootPath }} /js/vendor/highlight.js" ></script >
66{{ #if env.ALGOLIA_API_KEY }}
77<script async id =" search-script" src =" {{ uiRootPath }} /js/vendor/docsearch.js"
1616<script async id =" feedback-script" src =" {{ uiRootPath }} /js/vendor/feedback.js?v=1" data-collector-id =" 709818cb" ></script >
1717{{ /if }}
1818
19- <script async id =" feedback-script" src =" {{ uiRootPath }} /js/vendor/feedback.js?v=1" data-collector-id =" 709818cb" ></script >
19+ <script async id =" feedback-script" src =" {{ uiRootPath }} /js/vendor/feedback.js?v=1" data-collector-id =" 709818cb" ></script >
Original file line number Diff line number Diff line change 11 <link rel =" stylesheet" href =" {{ uiRootPath }} /css/site.css" >
2- {{!-- include fontAwesome CDN --}}
3- <script src =" https://kit.fontawesome.com/4a5569d39d.js" crossorigin =" anonymous" ></script >
2+ {{!-- include fontAwesome CDN --}}
3+ <script src =" https://kit.fontawesome.com/4a5569d39d.js" crossorigin =" anonymous" ></script >
44 <script src =" {{ uiRootPath }} /js/vendor/jquery.js" ></script >
5- {{ #if env.OPTANON_SCRIPT_URL }}
6- <script src =" {{ uiRootPath }} /js/vendor/jquery.js" ></script >
7- <script src =" {{ env.OPTANON_SCRIPT_URL }} " ></script >
5+ {{ #with env.OPTANON_SCRIPT_URL }}
6+ <script src =" {{ @root. uiRootPath}} /js/vendor/jquery.js" ></script >
7+ <script src =" {{ this }} " ></script >
88 <script >function OptanonWrapper (){}</script >
9- {{ /if }}
10- {{ #if site.keys.googleAnalytics }}
9+ {{ /with }}
10+ {{ #with site.keys.googleAnalytics }}
1111 <script >(window .dataLayer = window .dataLayer || []).push ({' gtm.start' : + new Date (),event : ' gtm.js' })</script >
12- <script async src =" https://www.googletagmanager.com/gtm.js?id={{ site.keys.googleAnalytics }} " ></script >
13- {{ /if }}
12+ <script async src =" https://www.googletagmanager.com/gtm.js?id={{{ this } }}" ></script >
13+ {{ /with }}
1414{{> head-meta }}
1515{{> head-scripts }}
Original file line number Diff line number Diff line change 1- {{ #if page.description }}
2- <meta name =" description" content =" {{ page.description }} " >
3- {{ /if }}
4- {{ #if page.keywords }}
5- <meta name =" keywords" content =" {{ page.keywords }} " >
6- {{ /if }}
1+ {{ #with page.description }}
2+ <meta name =" description" content =" {{ this }} " >
3+ {{ /with }}
4+ {{ #with page.keywords }}
5+ <meta name =" keywords" content =" {{ this }} " >
6+ {{ /with }}
77 {{ #if page.component }}
88 <link rel =" schema.dcterms" href =" https://purl.org/dc/terms/" >
99 <meta name =" dcterms.subject" content =" {{ page.component.name }} " >
Original file line number Diff line number Diff line change 1- {{ #if site.keys.googleAnalytics }}
2- <noscript ><iframe src =" https://www.googletagmanager.com/ns.html?id={{ site.keys.googleAnalytics }} " height =" 0" width =" 0" style =" display:none;visibility:hidden" ></iframe ></noscript >
3- {{ /if }}
1+ {{ #with site.keys.googleAnalytics }}
2+ <noscript ><iframe src =" https://www.googletagmanager.com/ns.html?id={{{ this } }}" height =" 0" width =" 0" style =" display:none;visibility:hidden" ></iframe ></noscript >
3+ {{ /with }}
Original file line number Diff line number Diff line change 11{{ #if (or page.attributes.edition page.attributes.status )}}
22<div class =" labels" >
33 <ul >
4- {{ #if page.attributes.edition }}
5- <li class =" edition" ><a href =" https://www.couchbase.com/products/editions" >{{{ page.attributes.edition }}} </a ></li >
6- {{ /if }}
7- {{ #if page.attributes.status }}
8- <li class =" status" ><span >{{{ page.attributes.status }}} </span ></li >
9- {{ /if }}
4+ {{ #with page.attributes.edition }}
5+ <li class =" edition" ><a href =" https://www.couchbase.com/products/editions" >{{{ this }}} </a ></li >
6+ {{ /with }}
7+ {{ #with page.attributes.status }}
8+ <li class =" status" ><span >{{{ this }}} </span ></li >
9+ {{ /with }}
1010 </ul >
1111</div >
1212{{ /if }}
You can’t perform that action at this time.
0 commit comments