mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-30 16:50:00 +02:00
Work around the docs/ redirects.
This happens because we have the section kind enabled (needed for examples).
This commit is contained in:
11
site/layouts/_default/redirect.html
Normal file
11
site/layouts/_default/redirect.html
Normal file
@@ -0,0 +1,11 @@
|
||||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<title>{{ .Page.Params.redirect | absURL }}</title>
|
||||
<link rel="canonical" href="{{ .Page.Params.redirect | absURL }}">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta http-equiv="refresh" content="0; url={{ .Page.Params.redirect | absURL }}">
|
||||
</head>
|
||||
</html>
|
Reference in New Issue
Block a user