restructure correctly, add new features, start working on articles

This commit is contained in:
Rory Hinnen
2026-05-08 09:02:40 -05:00
parent 62c1303bbb
commit 82b40351f0
66 changed files with 311 additions and 106 deletions
+27
View File
@@ -0,0 +1,27 @@
//
// Robots.swift
// IgniteSamples
// https://www.github.com/twostraws/Ignite
// See LICENSE for license information.
//
import Foundation
import Ignite
/// An example custom robots.txt configuration file, blocking certain paths
/// from Google and Bing, and everything from ChatGPT.
struct Robots: RobotsConfiguration {
var disallowRules: [DisallowRule]
init() {
let paths = [
"/wp-admin"
]
disallowRules = [
DisallowRule(robot: .google, paths: paths),
DisallowRule(robot: .bing, paths: paths),
DisallowRule(robot: .chatGPT)
]
}
}