Skip to content

Commit

Permalink
Fix header sections
Browse files Browse the repository at this point in the history
  • Loading branch information
docsteer authored Oct 13, 2019
1 parent 78c2dcc commit 2b713fc
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,18 +82,20 @@
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.show_downloads %}
<section>
<h2 id="name_release">Download Release</h2>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-win" class="btn"><span><img src="/assets/images/win-icon.png" />Windows</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-winxp" class="btn"><span><img src="/assets/images/winxp-icon.png" />Win XP</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-mac" class="btn"><span><img src="/assets/images/mac-icon.png" />macOS</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-linux" class="btn"><span><img src="/assets/images/linux-icon.png" />Linux</span></a>
<div id="prerelease-download" style="display:none">
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-win" class="btn"><span><img src="/assets/images/win-icon.png" /> Windows</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-winxp" class="btn"><span><img src="/assets/images/winxp-icon.png" /> Win XP</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-mac" class="btn"><span><img src="/assets/images/mac-icon.png" /> macOS</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="download-linux" class="btn"><span><img src="/assets/images/linux-icon.png" /> Linux</span></a>
</section>
<section id="prerelease-download" style="display:none">
<h2 id="name_prerelease"></h1>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-win" class="button"><span>Windows</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-winxp" class="button"><span>Win XP</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-mac" class="button"><span>macOS</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-linux" class="button"><span>Linux</span></a>
</div>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-win" class="button"><span> Windows</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-winxp" class="button"><span> Win XP</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-mac" class="button"><span> macOS</span></a>
<a href="https://github.com/docsteer/sacnview/releases/latest" id="pre-download-linux" class="button"><span> Linux</span></a>
</section>
{% endif %}
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
Expand Down

0 comments on commit 2b713fc

Please sign in to comment.