Skip to content

Commit

Permalink
Start page: Add download links for 3.7.0
Browse files Browse the repository at this point in the history
This replaces the SourceForge link to platform-specific direct links on
Github for better usability.
This requires text changes. To avoid delaying the release further, it
was decided to not run those texts through translators again.
This could still be updated post-release, of course.

This required CSS changes because the styling was previously specified
for a single link identified by an id=. This obviously breaks with
multiple links.

As variable expansion is not possible in front matter, the variables are
reorganized.

Fixes jamulussoftware#359.
  • Loading branch information
hoffie committed Mar 17, 2021
1 parent f566984 commit 5187eb9
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 11 deletions.
3 changes: 2 additions & 1 deletion 1-de-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
mAltProgIcon: "Jamulus Icon"
mTSlogan: "Musiziere online. Mit deinen Freunden. Kostenlos."
mTGetStartedNow: "Jetzt Starten!"
mHTMLDownloadNow: 'Erweitert: <a href="https://sourceforge.net/projects/llcon/files/latest/download" target="_blank" id="dld_frm_sf" rel="noreferrer">sofort herunterladen</a>'
mTDownloadNow: 'Sofort herunterladen für'
mTOtherPlatforms: 'weitere Plattformen'
---
<div class="fx-row fx-row-center-xs" id="firstrow">
<div class="fx-col-100-xs">
Expand Down
4 changes: 2 additions & 2 deletions 1-es-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
mAltProgIcon: "Jamulus icon"
mTSlogan: "Toca música online. Con amig@s. Gratis."
mTGetStartedNow: "¡Empieza ya!"
mHTMLDownloadNow: 'Avanzado: <a href="https://sourceforge.net/projects/llcon/files/latest/download" target="_blank" id="dld_frm_sf"
rel="noreferrer">descarga ahora</a>'
mTDownloadNow: 'Download now for'
mTOtherPlatforms: 'other platforms'
---
<div class="fx-row fx-row-center-xs" id="firstrow">
<div class="fx-col-100-xs">
Expand Down
3 changes: 2 additions & 1 deletion 1-fr-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
mAltProgIcon: "Icône de Jamulus"
mTSlogan: "Jouez de la musique en ligne. Avec vos amis. Librement et gratuitement."
mTGetStartedNow: "Commencer maintenant&nbsp;!"
mHTMLDownloadNow: 'Avancé&nbsp;: <a href="https://sourceforge.net/projects/llcon/files/latest/download" target="_blank" id="dld_frm_sf" rel="noreferrer">télécharger directement</a>'
mTDownloadNow: 'Download now for'
mTOtherPlatforms: 'other platforms'
---
<div class="fx-row fx-row-center-xs" id="firstrow">
<div class="fx-col-100-xs">
Expand Down
3 changes: 2 additions & 1 deletion 1-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
mAltProgIcon: "Jamulus icon"
mTSlogan: "Play music online. With friends. For free."
mTGetStartedNow: "Get started now!"
mHTMLDownloadNow: 'Advanced: <a href="https://sourceforge.net/projects/llcon/files/latest/download" target="_blank" id="dld_frm_sf" rel="noreferrer">download now</a>'
mTDownloadNow: 'Download now for'
mTOtherPlatforms: 'other platforms'
---
<div class="fx-row fx-row-center-xs" id="firstrow">
<div class="fx-col-100-xs">
Expand Down
3 changes: 2 additions & 1 deletion 1-it-index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
mAltProgIcon: "Jamulus icon"
mTSlogan: "Suonare Online. Tra Amici. In libertà."
mTGetStartedNow: "Comincia a Suonare!"
mHTMLDownloadNow: 'Cominciamo: <a href="https://sourceforge.net/projects/llcon/files/latest/download" target="_blank" id="dld_frm_sf" rel="noreferrer">Scarica Ora</a>'
mTDownloadNow: 'Download now for'
mTOtherPlatforms: 'other platforms'
---
<div class="fx-row fx-row-center-xs" id="firstrow">
<div class="fx-col-100-xs">
Expand Down
1 change: 1 addition & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ download_file_names:
windows: "jamulus_3.7.0_win.exe"
mac: "jamulus_3.7.0_mac.dmg"
android: "jamulus_3.7.0_android.apk"
download_overview_link: "https://github.com/jamulussoftware/jamulus/releases/latest"

githubrepoeditbase: "https://github.com/jamulussoftware/jamuluswebsite/edit/changes"
kbnewpage: 'https://github.com/jamulussoftware/jamuluswebsite/new/changes/_posts/?value=---%0Alayout%3A%20post%0Atitle%3A%20%22Your%20Title%22%0Alang%3A%20%22en%22%0Aauthor%3A%20%22YourName%22%0Aheading%3A%20%22Heading%22%0A---%0AName%20this%20file%20and%20edit%20the%20parameters%20above%21&message=New%20post'
Expand Down
2 changes: 1 addition & 1 deletion _layouts/mainhomepage.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h1>Jamulus</h1>
<a href="wiki/Getting-Started" id="get_started_btn_top">{{ page.mTGetStartedNow }}</a>
</div>
<div class="fx-col-100-xs" id="dl_frm_sf_container">
{{ page.mHTMLDownloadNow }}
{{ page.mTDownloadNow }} <a href="{{ site.download_root_link }}{{ site.download_file_names.windows }}" target="_blank" rel="noreferrer">Windows</a>, <a href="{{ site.download_root_link }}{{ site.download_file_names.mac }}" target="_blank" rel="noreferrer">Mac</a>, <a href="{{ site.download_root_link }}{{ site.download_file_names.deb-gui }}" target="_blank" rel="noreferrer">Debian/Ubuntu</a> or <a href="{{ site.download_overview_link }}" target="_blank" rel="noreferrer">{{{ page.mTOtherPlatforms }}</a>.'
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions assets/css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ header {
margin: .5em 0 0 0;
}

#dld_frm_sf {
#dl_frm_sf_container a {
color: #ffffff;
text-decoration: none;
}

#dld_frm_sf:hover {
#dl_frm_sf_container a:hover {
text-decoration: underline;
}

Expand All @@ -75,12 +75,12 @@ header {
margin: .5em 0 0 0;
}

#dld_frm_sf {
#dl_frm_sf_container a {
color: #ffffff;
text-decoration: none;
}

#dld_frm_sf:hover {
#dl_frm_sf_container a:hover {
text-decoration: underline;
}

Expand Down

0 comments on commit 5187eb9

Please sign in to comment.