Skip to content

Commit

Permalink
Display alpha in navbar on mainnet (#1122)
Browse files Browse the repository at this point in the history
  • Loading branch information
casey authored Dec 30, 2022
1 parent 5416093 commit 7c9712a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/templates.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ mod tests {
<body>
<header>
<nav>
<a href=/>Ordinals</a>
<a href=/>Ordinals<sup>alpha</sup></a>
.*
<a href=/clock>Clock</a>
<a href=/rare.txt>rare.txt</a>
Expand Down Expand Up @@ -139,7 +139,7 @@ mod tests {
<body>
<header>
<nav>
<a href=/>Ordinals</a>
<a href=/>Ordinals<sup>alpha</sup></a>
.*
<a href=/clock>Clock</a>
<form action=/search method=get>
Expand Down
2 changes: 1 addition & 1 deletion templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<body>
<header>
<nav>
<a href=/>Ordinals{% if self.chain != Chain::Mainnet { %}<sup>{{self.chain}}</sup>{% } %}</a>
<a href=/>Ordinals<sup>{% if self.chain == Chain::Mainnet { %}alpha{% } else { %}{{self.chain}}{% } %}</sup></a>
<a href=https://docs.ordinals.com/>Docs</a>
<a href=https://github.com/casey/ord>GitHub</a>
<a href=/clock>Clock</a>
Expand Down

0 comments on commit 7c9712a

Please sign in to comment.