Commit 1f351b3d authored by danterolle's avatar danterolle
Browse files

Added layout for sec edition

parent 24c87595
Pipeline #2309 canceled with stage
---
title: "Download ParrotOS Security Edition"
date: 2021-03-12T11:15:40+01:00
layout: "security-edition"
---
\ No newline at end of file
enable : true
title : Download ParrotOS Security
description : Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque explicabo aspernatur soluta culpa autem tempore ad eius eos rem minima. Alias praesentium minus animi magni repellat cumque fugiat dolorum accusamus?
editions :
- name : MATE Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/icons/mate.png
image : ../images/monitor.png
DE : Parrot-security
- name : KDE Edition
description : Lorem ipsum dolor sit amet consectetur adipisicing elit. Error aspernatur odit minima dolores ex neque. Natus reprehenderit cumque quisquam voluptatum distinctio neque nemo. Veritatis tempore commodi ipsum labore vero nesciunt?
icon : ../images/icons/kde.png
image : ../images/monitor.png
DE : Parrot-kde-security
extension : amd64.iso
torrent : yes
server_icon : ../images/icons/server.png
torrent_icon : ../images/icons/torrent.png
\ No newline at end of file
{{ define "main" }}
{{ partial "navigation.html" . }}
{{ partial "security-edition.html" . }}
{{ partial "community.html" . }}
{{ end }}
\ No newline at end of file
{{ $data := index .Site.Data .Site.Language.Lang }}
{{ if $data.security_edition.enable }}
<div id="particles-js">
</div>
<script src="../plugins/particles/particles.min.js"></script>
<script>
window.particlesJS.load('particles-js', '../plugins/particles/particles.json', function(){
console.log('particles.json loaded!');
});
</script>
<section class="download-sec">
<div class="col-xl-12 my-3">
<div class="title mt-5 pb-0 text-center">
<h2>{{ $data.security_edition.title }}</h2>
<div class="border-meghna"></div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-lg-12 mt-2 text-center">
<h3 class="my-5">{{ $data.security_edition.description }}</h3>
<hr class="w-50">
<div class="row">
<h3 class="col-lg-12 mb-5 mt-3 text-center">
CHOOSE YOUR <span style="color: #57cbcc;">DESKTOP ENVIRONMENT</span>
</h3>
{{ range $data.security_edition.editions }}
<div class="container">
<div class="row">
<div class="col-lg-6 my-5">
<h2 style="display: inline; border-bottom: 1px solid #57cbcc;">{{ .name }}</h2>
<p class="my-3 text-white">{{ .description }}</p>
<a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .DE }}-{{ $.Site.Params.version }}_{{ $data.security_edition.extension }}.mirrorlist" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222" target="_blank">
Select Server <img src="{{ $data.security_edition.server_icon }}" style="width: 15px; height: 15px;">
</a>
<a href="{{ $.Site.Params.mirror }}{{ $.Site.Params.version }}/{{ .DE }}-{{ $.Site.Params.version }}_{{ $data.security_edition.extension }}.torrent" class="btn btn-main mt-3 mb-4 mx-5 w-50" style="color:#222">
Get Torrent <img src="{{ $data.security_edition.torrent_icon }}" style="width: 15px; height: 15px;">
</a>
</div>
<div class="col-lg-6">
<img src="{{ .image }}" width="100%" height="100%">
</div>
</div>
</div>
<hr class="w-50">
{{ end }}
<hr class="w-50">
</div>
</div>
</div>
</div>
</section>
{{ end }}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment