mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2026-09-04 11:15:32 -04:00
use Hugo to generate robots.txt
This commit is contained in:
@@ -14,6 +14,8 @@ jobs:
|
||||
fetch-depth: 1
|
||||
lfs: false
|
||||
- uses: jakejarvis/hugo-build-action@develop-v0.53-DEV
|
||||
with:
|
||||
args: --gc --cleanDestinationDir
|
||||
- uses: jakejarvis/github-pages-deploy-action@master
|
||||
env:
|
||||
PAGES_TOKEN: ${{ secrets.GITHUB_ACCESS_TOKEN }}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
# 🏡 [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:
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
|
||||
pygmentsUseClasses = true
|
||||
pygmentsCodeFences = true
|
||||
|
||||
enableRobotsTXT = true
|
||||
|
||||
# enableGitInfo = true # messed up sitemap.xml timestamps
|
||||
|
||||
[outputs]
|
||||
|
||||
@@ -2,4 +2,4 @@ User-Agent: *
|
||||
Disallow: /y2k/
|
||||
Disallow: /comp20/
|
||||
|
||||
Sitemap: https://jarv.is/sitemap.xml
|
||||
Sitemap: {{ "sitemap.xml" | absURL }}
|
||||
Reference in New Issue
Block a user