Skip to content

Commit

Permalink
Merge pull request #12 from pixincreate/add-robots
Browse files Browse the repository at this point in the history
feat(SEO): Add robots.txt [#12]
  • Loading branch information
pixincreate authored Oct 24, 2023
2 parents 62bc708 + 4540558 commit 9d0a2a0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions config/_default/hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ theme = "hello-friend-ng"
paginate = 10
author = "Pa1NarK"
disableMermaid = false
enableRobotsTXT = true

[minify]
minifyOutput = true
Expand Down
4 changes: 4 additions & 0 deletions layouts/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
User-agent: *
Disallow: /about/
Disallow: /work/
Sitemap: https://pixincreate.dev/sitemap.xml

0 comments on commit 9d0a2a0

Please sign in to comment.