1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-09-14 03:35:32 -04:00

don't generate robots.txt from next-sitemap

This commit is contained in:
2022-01-03 12:22:51 -05:00
parent 13605d2ab5
commit ebbb98bf09
4 changed files with 7 additions and 4 deletions

1
.gitignore vendored
View File

@@ -3,7 +3,6 @@
/out/ /out/
# generated at build-time by next-sitemap # generated at build-time by next-sitemap
public/robots.txt
public/sitemap.xml public/sitemap.xml
# node/npm/yarn # node/npm/yarn

View File

@@ -2,6 +2,6 @@ const config = require("./lib/config");
module.exports = { module.exports = {
siteUrl: config.baseUrl || "", siteUrl: config.baseUrl || "",
generateRobotsTxt: true, changefreq: "weekly",
sitemapSize: 99, exclude: ["/feed.xml", "/feed.atom", "/site.webmanifest"],
}; };

View File

@@ -1,7 +1,7 @@
--- ---
title: "How To: Safely Rename `master` Branch on GitHub ✊🏾" title: "How To: Safely Rename `master` Branch on GitHub ✊🏾"
date: 2020-06-28 09:28:52-0400 date: 2020-06-28 09:28:52-0400
description: 'Some of the most popular open-source projects are renaming their default branch from "master" on GitHub. Here''s how to do so, and safely.' description: "Some of the most popular open-source projects are renaming their default branch from 'master' on GitHub. Here''s how to do so, and safely."
tags: tags:
- How To - How To
- Tutorial - Tutorial

4
public/robots.txt Normal file
View File

@@ -0,0 +1,4 @@
User-Agent: *
Allow: /
Sitemap: https://jarv.is/sitemap.xml