mirror of https://github.com/twbs/bootstrap.git
Add support for meta robots.
This commit is contained in:
parent
678da2ead9
commit
e58b587a72
|
@ -10,6 +10,10 @@
|
||||||
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
|
||||||
|
{{ with .Params.robots -}}
|
||||||
|
<meta name="robots" content="{{ . }}">
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{ partial "stylesheet" . }}
|
{{ partial "stylesheet" . }}
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -11,6 +11,10 @@
|
||||||
|
|
||||||
<link rel="canonical" href="{{ .Permalink }}">
|
<link rel="canonical" href="{{ .Permalink }}">
|
||||||
|
|
||||||
|
{{ with .Params.robots -}}
|
||||||
|
<meta name="robots" content="{{ . }}">
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
{{ partial "stylesheet" . }}
|
{{ partial "stylesheet" . }}
|
||||||
{{ partial "favicons" . }}
|
{{ partial "favicons" . }}
|
||||||
{{ partial "social" . }}
|
{{ partial "social" . }}
|
||||||
|
|
Loading…
Reference in New Issue