Skip to content

Commit 8ca1fe5

Browse files
committed
chore: improve seo
1 parent f5f4fdf commit 8ca1fe5

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

site/public/robots.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
User-agent: *
22
Allow: /
3-
Disallow: /awesome-prometheus-alerts/rules.html
4-
Disallow: /awesome-prometheus-alerts/alertmanager.html
5-
Disallow: /awesome-prometheus-alerts/blackbox-exporter.html
6-
Disallow: /awesome-prometheus-alerts/sleep-peacefully.html
73

84
# AI search bots — explicitly allowed for citation
95
User-agent: GPTBot

site/src/pages/rules/[group]/[service].astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ const jsonLd = {
104104

105105
<!-- Main content -->
106106
<div class="flex-1 min-w-0">
107-
<CautionBanner />
108-
109107
<!-- Page header -->
110108
<div class="mb-6 pb-6 border-b border-slate-200 dark:border-slate-800">
111109
<h1 class="text-2xl font-bold text-slate-900 dark:text-white mb-2">{service.name} Prometheus Alert Rules</h1>
@@ -116,6 +114,8 @@ const jsonLd = {
116114
</p>
117115
</div>
118116

117+
<CautionBanner />
118+
119119
<!-- Exporters -->
120120
{service.exporters.map((exporter, expIdx) => (
121121
<ExporterSection

0 commit comments

Comments
 (0)