Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _includes/download_arm.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="split-section">
<div>
<h3 id="{{ page.name }}">{{ page.name }}</h3>
<h3 id="{{ page.name | slugify }}"><a href="#{{ page.name | slugify }}">{{ page.name }}</a></h3>
{{ include.content | markdownify }}
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/download_arm_platforms.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="split-section">
<div>
<h3 id="{{ page.name }}">{{ page.name }}</h3>
<h3 id="{{ page.name | slugify }}"><a href="#{{ page.name | slugify }}">{{ page.name }}</a></h3>
{{ include.content | markdownify }}
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/download_containers.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="split-section">
<div>
<h3 id="{{ page.name }}">{{ page.name }}</h3>
<h3 id="{{ page.name | slugify }}"><a href="#{{ page.name | slugify }}">{{ page.name }}</a></h3>
{{ include.content | markdownify }}
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion _includes/download_pc.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="split-section">
<div>
<h3 id="{{ page.name }}">{{ page.name }}</h3>
<h3 id="{{ page.name | slugify }}"><a href="#{{ page.name | slugify }}">{{ page.name }}</a></h3>
{{ include.content | markdownify }}
<div class="alert alert-warning" role="alert">
To install the packages for the desktop environment, DON'T choose "install
Expand Down
30 changes: 30 additions & 0 deletions _includes/download_wsl.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<div class="split-section">
<div>
<h3 id="{{ page.name | slugify }}"><a href="#{{ page.name | slugify }}">{{ page.name }}</a></h3>
{{ include.content | markdownify }}
</div>
<div>
{% for device in page.devices %}
<div class="download-device-title">
<h4>{{ device.name }}</h4>
<small>{{ site.download_build_date }}</small>
</div>
<ul class="inline-download-links">
<li>
<a
href="{{ site.download_mirror }}/void-{{ device.name }}-{{ site.download_build_date | date: '%Y%m%d' }}.wsl"
>rootfs tarball</a
>
<span class="label label-default">glibc</span>
</li>
<li>
<a
href="{{ site.download_mirror }}/void-{{ device.name }}-musl-{{ site.download_build_date | date: '%Y%m%d' }}.wsl"
>rootfs tarball</a
>
<span class="label label-warning">musl</span>
</li>
</ul>
{% endfor %}
</div>
</div>
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
<link rel="alternate" type="application/atom+xml" title="Void Linux News feed" href="/atom.xml" />
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/bootstrap.min.js"></script>
<script src="/assets/js/tabbar.js"></script>
</head>
<body role="document">
<nav class="navbar navbar-default navbar-inverse navbar-sticky" role="navigation">
Expand Down
14 changes: 2 additions & 12 deletions _layouts/download.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,11 @@
<div class="container">
{{ content }}

<ul class="tab-bar" id="tab-bar">
{% for platform in site.platforms %}
<li>
<a href="#{{ platform.name }}">{{ platform.name }}</a>
</li>
{% endfor %}
</ul>

<div id="tab-content">
<div>
{% for platform in site.platforms %}
<div>
{{ platform.content }}
<noscript>
<hr />
</noscript>
{% unless forloop.last %}<hr>{% endunless %}
</div>
{% endfor %}
</div>
Expand Down
17 changes: 17 additions & 0 deletions _platforms/wsl.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
name: wsl
date: 1970-01-01 06:00:00
devices:
- name: x86_64
- name: aarch64
---

{% capture download_details %}
ROOTFS tarballs compatible with Windows Subsystem for Linux (WSL) 1 and 2 can be installed by downloading the file and running `wsl --install --from-file path/to/void.wsl`.

You can log into these images as `root` with the password `voidlinux`. Creation of a non-root user is prompted on first launch.

Documentation for WSL-specific topics is [available from Microsoft](https://learn.microsoft.com/en-us/windows/wsl).
{% endcapture %}

{% include download_wsl.html content=download_details %}
44 changes: 4 additions & 40 deletions assets/css/misc.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
html {
scroll-padding-top: 69px;
}

@font-face {
font-family:'OpenS';
src: url('/assets/fonts/OpenSans-Regular-webfont.eot');
Expand Down Expand Up @@ -185,37 +189,6 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
border-color: black;
}

.tab-bar {
list-style: none;
display: flex;
padding: 0;
margin: 0;
border-bottom: 1px solid #ddd;
}
.tab-bar li {
padding: 1em 2em;
cursor: pointer;
border-bottom: 2px solid white;
transition: border-color 0.4s;
}
.tab-bar li:hover {
border-bottom: 2px solid #ddd;
}
.tab-bar li.active {
font-weight: bold;
border-bottom: 2px solid #478061;
}
@media (max-width: 500px) {
.tab-bar li {
padding: 1em;
}
}
.tab-bar li a {
color: inherit;
}
.tab-bar li a:focus {
text-decoration: none;
}

.split-section {
display: flex;
Expand Down Expand Up @@ -287,15 +260,6 @@ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
hr {
border-top: 1px solid #888;
}
.inline-download-links, .tab-bar {
border-bottom: 1px solid #888;
}
.tab-bar li {
border-bottom: 2px solid #aaa;
}
.tab-bar li:hover {
border-bottom: 2px solid #62b086;
}
code {
background-color: inherit;
color: white;
Expand Down
29 changes: 0 additions & 29 deletions assets/js/tabbar.js

This file was deleted.