Clean up Hugo migration news and hero
ouch-website / ouch-website-build (pull_request) Failing after 11s

This commit is contained in:
blackbeard420 committed 2026-08-01 23:23:24 -04:00
1 parent 271fff8249
commit 6e809f9844
5 files changed
+29 -32

No files matched your search

+3 -3
View File
@@ -83,8 +83,8 @@ h3 { font-size: 1.25rem; }
.terminal-bar span { display: block; width: .55rem; height: .55rem; border-radius: 50%; background: var(--line); }
.terminal-bar span:first-child { background: var(--danger); }.terminal-bar span:nth-child(2) { background: var(--warm); }.terminal-bar span:nth-child(3) { background: var(--accent-strong); }
.terminal-bar b { margin-left: auto; font-weight: 400; }
.terminal-body { padding: 2rem; min-height: 260px; color: var(--accent); font-size: .95rem; }
.terminal-body i { color: var(--warm); font-style: normal; }.terminal-body strong { color: var(--text); }.terminal-muted { color: var(--muted); }.cursor { animation: blink 1.1s steps(2, jump-none) infinite; }
.terminal-body { padding: 1.7rem 2rem 1.5rem; min-height: 300px; color: var(--accent); font-size: .86rem; line-height: 1.7; }
.terminal-body p { margin: .45rem 0; }.terminal-body i { color: var(--warm); font-style: normal; }.terminal-body strong { color: var(--text); }.terminal-muted { color: var(--muted); }.terminal-motd { color: var(--text); }.terminal-prompt { margin-top: 1.2rem !important; padding-top: .7rem; border-top: 1px solid var(--line); }.cursor { animation: blink 1.1s steps(2, jump-none) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.section { padding-block: 6rem; }.section-tight { padding-bottom: 1rem; }
@@ -106,5 +106,5 @@ h3 { font-size: 1.25rem; }
@media (max-width: 800px) {
.shell, .connection-card { width: min(100% - 28px, 680px); }.header-inner { min-height: 66px; }.site-nav { gap: .7rem; }.site-nav a:nth-child(2), .site-nav a:nth-child(4), .nav-repo { display: none; }.hero { min-height: 0; grid-template-columns: 1fr; gap: 3rem; padding-block: 5rem 4rem; }.hero-terminal { max-width: 600px; width: 100%; }.split-section { grid-template-columns: 1fr; gap: 1rem; }.connection-card { grid-template-columns: 1fr; }.connection-meta { grid-column: auto; }.feature-grid { grid-template-columns: 1fr; }.docs-grid { grid-template-columns: 1fr; }.staff-grid { grid-template-columns: repeat(2, 1fr); }.section { padding-block: 4rem; }.section-heading { align-items: start; flex-direction: column; }.footer-inner { flex-direction: column; }.footer-links { flex-wrap: wrap; }
}
@media (max-width: 480px) { h1 { font-size: 3rem; }.status-grid { grid-template-columns: 1fr; }.staff-grid { grid-template-columns: 1fr; }.content-page { padding-block: 4rem 5rem; }.terminal-body { padding: 1.3rem; font-size: .8rem; } }
@media (max-width: 480px) { h1 { font-size: 3rem; }.status-grid { grid-template-columns: 1fr; }.staff-grid { grid-template-columns: 1fr; }.content-page { padding-block: 4rem 5rem; }.terminal-body { padding: 1.3rem; font-size: .72rem; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .001ms !important; transition-duration: .001ms !important; } }
+3 -19
View File
@@ -1,26 +1,10 @@
---
title: Incident Reports
description: Read OuchNet incident reports, outage history, and notes about network reliability and security improvements.
title: News
description: Read announcements, network updates, and community news from OuchNet.
url: /news.html
aliases:
- /incidents.html
section: Community
---
## 2025-04-23
The OuchNet website and webchat were briefly unavailable after a swarm scan exhausted resources. Measures were put in place to prevent a recurrence.
## 2023-07-04
A spam wave affected OuchNet and several other networks while many operators were offline. Filters were added, automatic NickServ registration was temporarily disabled, and some channels enabled `+R` to require registered users.
The network now has improved regex filtering and channel flood protections. During a network-wide spam event, channel owners can also use `+s` to hide their channel from `/list` and `/who`.
## 2023-03-22
One server lost linkage with the network and was removed after the issue was resolved. Atheme Services were also updated, causing a short outage for NickServ, ChanServ, and related services.
## 2022-12-21
The server hosting services was migrated after a disk failure. The incident exposed a weakness in fallback linkage between server nodes, which was subsequently fixed.
New OuchNet updates will appear here soon.
+3 -3
View File
@@ -29,15 +29,15 @@ disableKinds = ['taxonomy', 'term']
weight = 10
[[menus.main]]
name = 'Connect'
pageRef = '/ouch.html'
pageRef = '/docs/network'
weight = 20
[[menus.main]]
name = 'Documentation'
pageRef = '/docs/'
pageRef = '/docs'
weight = 30
[[menus.main]]
name = 'News'
pageRef = '/news.html'
pageRef = '/docs/news'
weight = 40
[sitemap]
+11 -7
View File
@@ -10,13 +10,17 @@
<a class="button button-quiet" href="{{ site.Params.webchatURL }}" rel="external">Launch webchat</a>
</div>
</div>
<div class="hero-terminal" aria-label="Connection preview">
<div class="terminal-bar"><span></span><span></span><span></span><b>ouchnet://connect</b></div>
<div class="hero-terminal" aria-label="WeeChat connection preview">
<div class="terminal-bar"><span></span><span></span><span></span><b>weechat • {{ $network.roundRobin.hostname }}</b></div>
<div class="terminal-body">
<p><i>$</i> connect --tls <strong>{{ $network.roundRobin.hostname }}</strong></p>
<p class="terminal-muted">TLS handshake complete</p>
<p class="terminal-muted">Welcome to OuchNet.</p>
<p><i>$</i> <span class="cursor">_</span></p>
<p><i>09:42:18</i> <span class="terminal-muted">-- | irc: connecting to {{ $network.roundRobin.hostname }}/{{ $network.roundRobin.port }} (TLS)</span></p>
<p><i>09:42:19</i> <span class="terminal-muted">-- | irc: connected</span></p>
<p class="terminal-motd">*** Welcome to OuchNet</p>
<p class="terminal-motd">*** TLS-only IRC network</p>
<p class="terminal-motd">*** Join #ouch for general chat</p>
<p class="terminal-motd">*** Join #help for assistance</p>
<p><i>09:42:20</i> <strong>-- | irc: ready</strong></p>
<p class="terminal-prompt"><span class="terminal-muted">[irc.ouch.chat]</span> <span class="cursor">_</span></p>
</div>
</div>
</section>
@@ -47,7 +51,7 @@
<div class="feature-grid">
<a class="feature-card" href="{{ "services.html" | relURL }}"><span class="feature-number">01</span><h3>Services</h3><p>NickServ, ChanServ, HostServ, and the tools that keep your channels yours.</p></a>
<a class="feature-card" href="{{ "tor.html" | relURL }}"><span class="feature-number">02</span><h3>Connect via Tor</h3><p>Use the onion service with TLS and SASL for a private route to the network.</p></a>
<a class="feature-card" href="{{ "news.html" | relURL }}"><span class="feature-number">03</span><h3>Network news</h3><p>Read incident reports and see how the network responds when things go wrong.</p></a>
<a class="feature-card" href="{{ "news.html" | relURL }}"><span class="feature-number">03</span><h3>Network news</h3><p>Read announcements, network updates, and news from the OuchNet community.</p></a>
</div>
</section>
{{ end }}
+9
View File
@@ -43,5 +43,14 @@ grep -q 'https://ouch.chat/sitemap.xml' "$site_dir/robots.txt"
grep -q 'application/ld+json' "$site_dir/index.html"
grep -q 'http-equiv=refresh' "$site_dir/incidents.html"
grep -q 'http-equiv=refresh' "$site_dir/urlbot.html"
grep -q 'href=/ouch.html' "$site_dir/index.html"
grep -q 'href=/docs/' "$site_dir/index.html"
grep -q 'href=/news.html' "$site_dir/index.html"
grep -q '<h1>News</h1>' "$site_dir/news.html"
grep -q 'New OuchNet updates will appear here soon' "$site_dir/news.html"
if grep -q -E 'Incident Reports|swarm scan|spam wave|disk failure' "$site_dir/news.html"; then
echo 'generated News page contains legacy incident-report content' >&2
exit 1
fi
echo "site validation passed: $site_dir"