Skip to content

Commit

Permalink
PD-1543 / 3.0 / Pd 1543 docs hub 404 page is returning a 200 code (by…
Browse files Browse the repository at this point in the history
… DjP-iX) (#3270)

* Empty commit to create PR on github.

You should reset it

* PD-1543 / 25.04 / Pd 1543 docs hub 404 page is returning a 200 code (#3263)

* Update custom.html

* Update 404Error.md

(cherry picked from commit f139355)

---------

Co-authored-by: DjP-iX <[email protected]>
  • Loading branch information
bugclerk and DjP-iX authored Nov 20, 2024
1 parent da7ee97 commit a993978
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions layouts/partials/head/custom.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@
{{ if .Site.Params.googlefonts }}
<link rel="stylesheet" href="{{ .Site.Params.googlefonts }}" type="text/css" media="all" />
{{ end }}

<!-- De-index various sections that we use internally but don't need to be included in search results -->
{{ if or (eq .Section "_includes") (eq .Section "tags") (eq .Section "book") (eq .Section "volume") }}
<meta name="robots" content="noindex">
<!-- De-index various sections that we use internally but don't need to be included in search results -->
{{ if or (eq .Section "_includes") (eq .Section "tags") (eq .Section "book") (eq .Section "volume") .Params.noindex }}
<meta name="robots" content="noindex">
{{ end }}

0 comments on commit a993978

Please sign in to comment.