Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
e58b587a
Commit
e58b587a
authored
6 years ago
by
XhmikosR
Browse files
Options
Download
Email Patches
Plain Diff
Add support for meta robots.
parent
678da2ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
site/layouts/_default/examples.html
+4
-0
site/layouts/_default/examples.html
site/layouts/partials/header.html
+4
-0
site/layouts/partials/header.html
with
8 additions
and
0 deletions
+8
-0
site/layouts/_default/examples.html
+
4
-
0
View file @
e58b587a
...
@@ -10,6 +10,10 @@
...
@@ -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>
...
...
This diff is collapsed.
Click to expand it.
site/layouts/partials/header.html
+
4
-
0
View file @
e58b587a
...
@@ -11,6 +11,10 @@
...
@@ -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" . }}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment