1
0
Fork 0
mirror of https://github.com/NixOS/nix.dev.git synced 2024-10-18 14:32:43 -04:00

Merge pull request #167 from nix-dot-dev/sidebar

Cleanup sidebar
This commit is contained in:
Domen Kožar 2021-07-20 11:00:46 +02:00 committed by GitHub
commit 9fb8a6b040
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 4 additions and 23 deletions

View file

@ -4,8 +4,8 @@
<p>An opinionated guide for developers getting things done using <a href="https://nixos.org">the Nix ecosystem</a>.</p>
<!-- Should be moved to _static -->
<style>
.topic { padding: 30px; }
.bd-links { padding-bottom: 0!important; }
</style>

View file

@ -1,4 +1,2 @@
<h3>Links</h3>
<p><a href="https://weekly.nixos.org/">NixOS Weekly newsletter</a></p>
<h3>Sponsored by</h3>
<p><a href="https://cachix.org">Cachix - binary cache hosting</a></p>

View file

@ -1,16 +0,0 @@
{%- if show_source and has_source and sourcename %}
<div class="widget navlinks">
<h3>{{ _('This Page') }}</h3>
<ul class="this-page-menu">
<li><a href="https://github.com/nix-dot-dev/nix.dev/edit/master/{{ ('source/' + sourcename).replace('.txt','') }}"
rel="nofollow"
target="_blank">{{ _('Edit this page') }}</a></li>
<li><a href="https://github.com/nix-dot-dev/nix.dev/commits/master/{{ ('source/' + sourcename).replace('.txt','') }}"
rel="nofollow"
target="_blank">{{ _('Page history') }}</a></li>
<li><a href="https://github.com/nix-dot-dev/nix.dev/raw/master/{{ ('source/' + sourcename).replace('.txt','') }}"
rel="nofollow"
target="_blank">{{ _('Source') }}</a></li>
</ul>
</div>
{%- endif %}

View file

@ -7,11 +7,11 @@
<h3>Email notifications</h3>
<form action="https://cachix.us1.list-manage.com/subscribe/post?u=16430f4cf6653e9f26595c40a&amp;id=f726238699"
method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<p>Subscribe if you'd like to recieve an occasional email for new tutorials, no spam.</p>
<p>An occasional email about new tutorials, no spam.</p>
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="Email" required>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
</form>
</form>

View file

@ -170,9 +170,8 @@ html_sidebars = {
'**': [
'about.html',
'search-field.html',
'subscribe.html',
'sbt-sidebar-nav.html',
'srclinks.html',
'subscribe.html',
'sponsors.html',
],
}