diff options
-rw-r--r-- | content/archives/index.html | 1 | ||||
-rw-r--r-- | content/assets/javascripts/mermaid.js | 4 | ||||
-rw-r--r-- | layouts/head.html | 2 |
3 files changed, 4 insertions, 3 deletions
diff --git a/content/archives/index.html b/content/archives/index.html index f8e98370..779f50a4 100644 --- a/content/archives/index.html +++ b/content/archives/index.html @@ -1,6 +1,7 @@ --- title: Docs archives | GitLab comments: false +noindex: true last_updated: 2020-05-15 --- diff --git a/content/assets/javascripts/mermaid.js b/content/assets/javascripts/mermaid.js index 6d182dfc..3bf1d6d8 100644 --- a/content/assets/javascripts/mermaid.js +++ b/content/assets/javascripts/mermaid.js @@ -1,5 +1,5 @@ --- -version: 2 +version: 3 --- function loadMermaidJsIfNeeded() { @@ -8,7 +8,7 @@ function loadMermaidJsIfNeeded() { } var element = document.createElement("script"); - element.src = "https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.9.2/mermaid.min.js"; + element.src = "https://cdnjs.cloudflare.com/ajax/libs/mermaid/8.12.0/mermaid.min.js"; element.onload = function(){mermaid.init();}; document.body.appendChild(element); } diff --git a/layouts/head.html b/layouts/head.html index 74142d96..8e3abb86 100644 --- a/layouts/head.html +++ b/layouts/head.html @@ -13,7 +13,7 @@ <% end %> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <% if @item[:noindex] or !production_and_default_branch? %> - <meta name="robots" content="noindex nofollow"> + <meta name="robots" content="noindex, nofollow"> <% end %> <!--https://community.algolia.com/docsearch/required-configuration.html#introduces-global-information-as-meta-tags--> <meta name="docsearch:language" content="en" /> |