Skip to content

Commit 38188e1

Browse files
committed
update robots.txt for indexing
1 parent cfd47b5 commit 38188e1

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{{- with .Params.seo.robots }}
2+
<meta name="robots" content="{{ . }}">
3+
{{- end }}

docs/layouts/robots.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
User-agent: *
2+
Disallow:
3+
Sitemap: {{ "/sitemap.xml" | absURL }}

0 commit comments

Comments
 (0)