Skip to content

Commit c44e845

Browse files
committed
fix: Create robots.txt template to ensure proper sitemap reference
- Removed static robots.txt that wasn't being deployed properly - Created robots.txt template in theme layouts - Uses Hugo template to generate proper sitemap URL - Should fix incomplete robots.txt deployment
1 parent fab2a09 commit c44e845

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

portfolio/static/robots.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
User-agent: *
2+
Allow: /
3+
4+
Sitemap: {{ .Site.BaseURL }}sitemap.xml

0 commit comments

Comments
 (0)