0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Add support for meta robots.

This commit is contained in:
XhmikosR 2019-02-21 14:53:14 +02:00
parent 678da2ead9
commit e58b587a72
2 changed files with 8 additions and 0 deletions

View File

@ -10,6 +10,10 @@
<link rel="canonical" href="{{ .Permalink }}">
{{ with .Params.robots -}}
<meta name="robots" content="{{ . }}">
{{- end }}
{{ partial "stylesheet" . }}
<style>

View File

@ -11,6 +11,10 @@
<link rel="canonical" href="{{ .Permalink }}">
{{ with .Params.robots -}}
<meta name="robots" content="{{ . }}">
{{- end }}
{{ partial "stylesheet" . }}
{{ partial "favicons" . }}
{{ partial "social" . }}