mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-12-04 19:41:48 -05:00
use Hugo to generate robots.txt
This commit is contained in:
1 parent
6ac394ac28
commit
180c5b3441
4 files changed
+6
-2
No files matched your search
@@ -14,6 +14,8 @@ jobs:
|
|||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
lfs: false
|
lfs: false
|
||||||
- uses: jakejarvis/hugo-build-action@develop-v0.53-DEV
|
- uses: jakejarvis/hugo-build-action@develop-v0.53-DEV
|
||||||
|
with:
|
||||||
|
args: --gc --cleanDestinationDir
|
||||||
- uses: jakejarvis/github-pages-deploy-action@master
|
- uses: jakejarvis/github-pages-deploy-action@master
|
||||||
env:
|
env:
|
||||||
PAGES_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
PAGES_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# 🏡 [jarv.is](https://jarv.is/)
|
# 🏡 [jarv.is](https://jarv.is/)
|
||||||
|
|
||||||
  
|
[](.github/workflows) [](https://github.com/jakejarvis/jarv.is) [](LICENSE.md)
|
||||||
|
|
||||||
Personal website of [@jakejarvis](https://github.com/jakejarvis), created and deployed using the following:
|
Personal website of [@jakejarvis](https://github.com/jakejarvis), created and deployed using the following:
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,8 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
|
|||||||
pygmentsUseClasses = true
|
pygmentsUseClasses = true
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
|
|
||||||
|
enableRobotsTXT = true
|
||||||
|
|
||||||
# enableGitInfo = true # messed up sitemap.xml timestamps
|
# enableGitInfo = true # messed up sitemap.xml timestamps
|
||||||
|
|
||||||
[outputs]
|
[outputs]
|
||||||
|
|||||||
@@ -2,4 +2,4 @@ User-Agent: *
|
|||||||
Disallow: /y2k/
|
Disallow: /y2k/
|
||||||
Disallow: /comp20/
|
Disallow: /comp20/
|
||||||
|
|
||||||
Sitemap: https://jarv.is/sitemap.xml
|
Sitemap: {{ "sitemap.xml" | absURL }}
|
||||||
Reference in new issue
Block a user