download.html 5.17 KB
Newer Older
1
2
3
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ if $data.download.download.enable }}
{{ with $data.download.download }}
4
5
6
7

<div id="particles-js">
</div>

8
<script src="../plugins/particles/particles.min.js"></script>
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<script>
    window.particlesJS.load('particles-js', '../plugins/particles/particles.json', function(){
      console.log('particles.json loaded!');
    });
</script>


<section class="download-page1 my-5">
  <div class="col-xl-12 mb-3 mt-5">
    {{"<!-- section title -->" | safeHTML}}
    <div class="title text-center pb-0">
      <h2>{{ with .title }} {{ index (split . " ") 0 }} {{ end }}<span class="color">
          {{ with .title }} {{ index (split . " ") 1 }} {{ end }} {{ $.Site.Params.version }}</span></h2>
      <div class="border-meghna"></div>
    </div>
    {{"<!-- /section title -->" | safeHTML}}
  </div>
  <div class="col-lg-12" style="padding:2em">
    <div class="text-center">
        {{ range .otherlinks }}
        {{ if .hashes }}
30
        <a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/signed-hashes.txt" target="_blank"><button type="button" class="btn btn-info">{{ .text }}</button></a>
31
        {{ else }}
32
        <a href="{{ .URL }}" target="_blank"><button type="button" class="btn btn-info">{{ .text }}</button></a>
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
        {{ end }}
        {{ end }}
    </div>
  </div>
  <div class="container"></div>
    <div class="row no-gutters">
      {{ range .version }}
      <div class="col-md-4">
        <img src="{{ .image }}" class="w-50 my-4 d-block mx-auto"> 
        <a href="{{ .URL }}" class="btn btn-main d-block mx-auto my-4" style="width: 50%; color:#222;">{{ .title }}</a>
        <p class="my-3 text-center text-white w-75 mx-auto">{{ .description }}</p>
      </div>
      {{ end }}
    </div>
  </div>
</section>

<!-- 
51
52
53
<section class="portfolio section" id="portfolio">
	<div class="container">
		<div class="row ">
54
55
        </div>
        <div class="row">
56
57
58
            <div class="col-lg-12" style="padding:2em">
                <div class="text-center">
                    {{ range .otherlinks }}
59
                    {{ if .hashes }}
60
                    <button type="button" class="btn btn-info" ><a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/signed-hashes.txt" target="_blank">{{ .text }}</a></button>
61
                    {{ else }}
62
                    <button type="button" class="btn btn-info" ><a href="{{ .URL }}" target="_blank">{{ .text }}</a></button>
63
64
65
66
67
                    {{ end }}
                    {{ end }}
                </div>
            </div>
        </div>
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
		<div class="row">
			<div class="col-lg-12">
				<div class="btn-group portfolio-filter btn-group-toggle justify-content-center d-flex flex-wrap"
					data-toggle="buttons">
					<label class="btn active">
						<input type="radio" name="shuffle-filter" value="all" checked="checked" />{{ i18n "all"}}
                    </label>
                    {{ range .categories }}
					<label class="btn">
						<input type="radio" name="shuffle-filter" value="{{ .entry }}" />{{ .entry | humanize }}
					</label>
					{{ end }}
				</div>
			</div>
		</div>

		<div class="row shuffle-wrapper justify-content-center">
            {{ range .download_item }}
            
            
            <div class="col-lg-4 shuffle-item" data-groups="[{{range $index, $element:= .categories }}{{if ne $index 0}},{{end}}&quot;{{. | urlize}}&quot;{{ end }}]">
89
                <div class="text-center">
90
                    <h4>{{ .name }}</h4>
91
92
                </div>
                <div class="border-meghna"></div>
93
94
95
                    <div style="margin: 2em;padding: 2em;background-color:#30363D"> 
                        {{ if .link }}
                        <a href="{{ .link }}" target="_blank">> Open</a>
96
                        {{ end}}
97
                        {{ if .base }}
98
                        {{ if .extension }}
99
100
                        <a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .base }}-{{ $.Site.Params.version }}_{{ .extension }}" target="_blank">> Direct Download</a><br>
                        <a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .base }}-{{ $.Site.Params.version }}_{{ .extension }}.mirrorlist" target="_blank">> Select Server</a><br>
101
                        {{ if .torrent }}
102
                        <a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .base }}-{{ $.Site.Params.version }}_{{ .extension }}.torrent" target="_blank">> Get Torrent</a><br>
103
104
105
                        {{ end }}
                        {{ end }}
                        {{ end }}
106
                        <p>{{ .content | markdownify }}</p>
107
108
                    </div>
            </div>
109
          -->
110
111
112
113
114
115
116
117
118
119
120
121
122
123
        <!--
			<div class="col-lg-4 shuffle-item" data-groups="[{{range $index, $element:= .categories }}{{if ne $index 0}},{{end}}&quot;{{. | urlize}}&quot;{{ end }}]">
				<div class="portfolio-block mb-4">
						<h4 class="mt-1">
							{{ if or (eq .link "#") (eq .link "") }}
							{{ .name }}
							{{ else }}
							<a href="{{ .link | safeURL }}">{{ .name }}</a>
							{{ end }}
						</h4>
						<p>{{ .content | markdownify }}</p>
				</div>
            </div>
        -->
124
        <!--
125
126
127
			{{ end }}
		</div>
	</div>
128
</section>
129
-->
130
131
{{ end }}
{{ end }}