Skip to content

Commit ef9d416

Browse files
committed
revert banner code
1 parent d694103 commit ef9d416

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/partials/main.hbs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,7 @@
44
{{#if ./missing}}
55
{{#if (and @root.page.componentVersion.prerelease (not ./prerelease))}}
66
<div class="article-banner">
7-
{{#if (and @root.page.componentVersion.prerelease (not @root.page.latest.prerelease))}}
8-
<i class="fas fa-file-alt"></i> <p> You are viewing the documentation for a prerelease version.</p>
9-
{{else}}
10-
<i class="fas fa-file-alt"></i>
11-
<p> A newer version of this documentation is available.</p>
12-
{{/if}}
13-
<a class="btn" href="{{relativize this}}">View Latest</a>
7+
<i class="fas fa-file-alt"></i> <p>You are viewing the documentation for a prerelease version.</p>
148
</div>
159
{{/if}}
1610
{{else}}

0 commit comments

Comments
 (0)