Skip to content

Commit

Permalink
Re-enter beta (#3884)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Aug 5, 2024
1 parent b5c7bbe commit 85979aa
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ where

fn superscript(&self) -> String {
if self.config.chain == Chain::Mainnet {
"alpha".into()
"beta".into()
} else {
self.config.chain.to_string()
}
Expand Down Expand Up @@ -144,7 +144,7 @@ mod tests {
<body>
<header>
<nav>
<a href=/ title=home>Ordinals<sup>alpha</sup></a>
<a href=/ title=home>Ordinals<sup>beta</sup></a>
.*
<a href=/clock title=clock>.*</a>
<a href=/rare.txt title=rare>.*</a>
Expand Down Expand Up @@ -174,7 +174,7 @@ mod tests {
index_sats: true,
..default()
})),
r".*<nav>\s*<a href=/ title=home>Ordinals<sup>alpha</sup></a>.*"
r".*<nav>\s*<a href=/ title=home>Ordinals<sup>beta</sup></a>.*"
);
}

Expand All @@ -188,7 +188,7 @@ mod tests {
index_sats: false,
..default()
})),
r".*<nav>\s*<a href=/ title=home>Ordinals<sup>alpha</sup></a>.*<a href=/clock title=clock>.*</a>\s*<form action=/search.*",
r".*<nav>\s*<a href=/ title=home>Ordinals<sup>beta</sup></a>.*<a href=/clock title=clock>.*</a>\s*<form action=/search.*",
);
}

Expand Down

0 comments on commit 85979aa

Please sign in to comment.