Skip to content

Commit

Permalink
Downgrade from beta to alpha (#3315)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey committed Mar 18, 2024
1 parent d141f47 commit f981d6d
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 {
"beta".into()
"alpha".into()
} else {
self.config.chain.to_string()
}
Expand Down Expand Up @@ -148,7 +148,7 @@ mod tests {
<body>
<header>
<nav>
<a href=/ title=home>Ordinals<sup>beta</sup></a>
<a href=/ title=home>Ordinals<sup>alpha</sup></a>
.*
<a href=/clock title=clock>.*</a>
<a href=/rare.txt title=rare>.*</a>
Expand Down Expand Up @@ -178,7 +178,7 @@ mod tests {
index_sats: true,
..Default::default()
})),
r".*<nav>\s*<a href=/ title=home>Ordinals<sup>beta</sup></a>.*"
r".*<nav>\s*<a href=/ title=home>Ordinals<sup>alpha</sup></a>.*"
);
}

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

Expand Down

0 comments on commit f981d6d

Please sign in to comment.