Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
manjaro.org
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
3
Issues
3
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
WEB
manjaro.org
Commits
a508def7
Commit
a508def7
authored
May 16, 2019
by
Vitor Lopes
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
if torrent field is empty remove torrent msg, and display not available
parent
fa2f522c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
8 deletions
+25
-8
layouts/download-edition/single.html
layouts/download-edition/single.html
+19
-5
site/content/download/_additional_info_post.md
site/content/download/_additional_info_post.md
+0
-3
site/content/download/_additional_info_torrent.md
site/content/download/_additional_info_torrent.md
+6
-0
No files found.
layouts/download-edition/single.html
View file @
a508def7
...
...
@@ -35,7 +35,11 @@
<p></p>
<div>
<div
style=
"margin-top: auto; margin-bottom: 10px; font-size: 12px;"
>
{{ with .Params.download_x64_torrent }}
<a
href=
"{{ . }}"
target=
"_blank"
onClick=
"download_link = '{{ . }}'"
data-toggle=
"modal"
data-target=
"#download-how-to-try"
>
{{ $.Site.Params.download_edition.download_torrent }}
</a>
{{end}}
<br/>
{{ if .Params.download_x64_torrent }}
{{ with .Params.download_x64_torrent }}
<a
href=
"{{ . }}"
target=
"_blank"
onClick=
"download_link = '{{ . }}'"
data-toggle=
"modal"
data-target=
"#download-how-to-try"
>
{{ $.Site.Params.download_edition.download_torrent }}
</a>
{{end}}
<br/>
{{ else }}
<span>
Torrent Not Available.
</span><br>
{{ end }}
{{ with .Params.download_x64_sig}}
<a
href=
"{{ . }}"
target=
"_blank"
>
{{ $.Site.Params.download_edition.download_gpg }}
</a>
{{end}}
<br/>
SHA1: {{.Params.download_x64_checksum}}
...
...
@@ -57,7 +61,11 @@
<div
class=
"bottom"
>
<div
style=
"margin-top: auto; margin-bottom: 10px;"
>
<a
href=
"{{ .Params.download_x86 }}"
class=
"btn btn-success btn-xl"
onClick=
"download_link = '{{ .Params.download_x86 }}'"
target=
"_blank"
data-toggle=
"modal"
data-target=
"#download-how-to-try"
>
{{ .Site.Params.download_edition.download_button }}
</a>
<p>
{{ with .Params.download_x86_torrent }}
<a
href=
"{{ . }}"
target=
"_blank"
>
{{ $.Site.Params.download_edition.download_torrent }}
</a>
{{end}}
</p>
{{ if .Params.download_x86_torrent }}
<p>
{{ with .Params.download_x86_torrent }}
<a
href=
"{{ . }}"
target=
"_blank"
>
{{ $.Site.Params.download_edition.download_torrent }}
</a>
{{end}}
</p>
{{ else }}
<span>
Torrent Not Available.
</span><br>
{{ end }}
<div>
<div
style=
"margin-top: auto; margin-bottom: 10px; font-size: 12px;"
>
{{ with .Params.download_x86_sig }}
<a
href=
"{{ . }}"
target=
"_blank"
>
{{ $.Site.Params.download_edition.download_gpg }}
</a>
{{end}}
<br/>
...
...
@@ -70,9 +78,15 @@
</li>
{{ end }}
</ul>
{{ range (where .Site.Pages ".Type" "download-additional-info-post")}}
<p>
{{ .Content | replaceRE ";torrent-x64;" $.Params.download_x64_torrent | replaceRE ";torrent-x86;" $.Params.download_x86_torrent | replaceRE ";baseurl;" .Site.BaseURL | markdownify }}
{{ end }}
{{ if or (.Params.download_x64_torrent) (.Params.download_x86_torrent) }}
{{ range (where .Site.Pages ".Type" "download-additional-info-torrent")}}
<p>
{{ .Content | replaceRE ";torrent-x64;" $.Params.download_x64_torrent | replaceRE ";torrent-x86;" $.Params.download_x86_torrent | replaceRE ";baseurl;" .Site.BaseURL | markdownify }}
{{ end }}
{{ else }}
{{ range (where .Site.Pages ".Type" "download-additional-info-post")}}
<p>
{{ .Content | markdownify }}
{{ end }}
{{ end }}
</div>
</section>
</div>
...
...
site/content/download/_additional_info_post.md
View file @
a508def7
...
...
@@ -2,9 +2,6 @@
type="download-additional-info-post"
+++
You can also use
[
Torrents
](
https://en.wikipedia.org/wiki/BitTorrent
)
to download Manjaro.
Just download the
*
.torrent file and open it with a torrent program like
[
qBittorrent
](
http://www.qbittorrent.org/
)
## Be secure
---
...
...
site/content/download/_additional_info_torrent.md
0 → 100644
View file @
a508def7
+++
type="download-additional-info-torrent"
+++
You can also use
[
Torrents
](
https://en.wikipedia.org/wiki/BitTorrent
)
to download Manjaro.
Just download the
*
.torrent file and open it with a torrent program like
[
qBittorrent
](
http://www.qbittorrent.org/
)
\ No newline at end of file
Vitor Lopes
@codesardine
mentioned in issue
#120 (closed)
·
May 16, 2019
mentioned in issue
#120 (closed)
mentioned in issue #120
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment