only display gh stars on main page (#33)

This commit is contained in:
Lucy
2023-11-10 13:06:02 -07:00
committed by GitHub
parent 60c9e404b2
commit 4787eb8969
2 changed files with 11 additions and 2 deletions

View File

@@ -18,6 +18,7 @@
<a id="menu-close" href="">{% include "svgs/menu-close.svg" %}</a>
</li>
</ul>
<div class="gh-btn"><a class="github-button" href="https://github.com/Start9Labs/start-os" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star Start9Labs/start-os on GitHub">Star</a></div>
<div class="gh-btn {{ 'hidden' if title !== 'Sovereign Computing'}}
"><a class="github-button" href="https://github.com/Start9Labs/start-os" data-icon="octicon-star" data-size="large" data-show-count="true" aria-label="Star Start9Labs/start-os on GitHub">Star</a></div>
</nav>
</header>

View File

@@ -130,6 +130,10 @@ html {
opacity: 1 !important;
filter: blur(0px) !important;
}
.gh-btn {
display: none;
}
}
}
@@ -356,7 +360,11 @@ nav {
position: absolute;
top: 5rem;
right: 2.5rem;
z-index: 100;
display: block;
}
.hidden {
display: none;
}
ul {