first minimal theme
Αυτό το commit περιλαμβάνεται σε:
γονέας
4561a6aa2c
commit
954260ab0b
36 αρχεία άλλαξαν με 563 προσθήκες και 114 διαγραφές
7
themes/hellug-minimal-4/layouts/partials/breadcrump.html
Κανονικό αρχείο
7
themes/hellug-minimal-4/layouts/partials/breadcrump.html
Κανονικό αρχείο
|
@ -0,0 +1,7 @@
|
|||
<!-- <div class="breadcrumb">
|
||||
<a href="../../../../index.html">Αρχική</a>
|
||||
<a href="https://www.hellug.gr/c/draseis">Δράσεις</a>
|
||||
<a href="../../../../c/draseis/news">Νέα</a>
|
||||
</div>
|
||||
-->
|
||||
|
1
themes/hellug-minimal-4/layouts/partials/carousel.html
Κανονικό αρχείο
1
themes/hellug-minimal-4/layouts/partials/carousel.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
|||
<img alt="Μεγάλο λογότυπο της Ένωσης Χρηστών και Φίλων Λίνουξ Ελλάδας με τη μασκότ του Λίνουξ Τουξ να κρατά με το ράμφος μία ελληνική σημαία" src="media/carousel1.png" >
|
36
themes/hellug-minimal-4/layouts/partials/column2.html
Κανονικό αρχείο
36
themes/hellug-minimal-4/layouts/partials/column2.html
Κανονικό αρχείο
|
@ -0,0 +1,36 @@
|
|||
<h4>HEL.L.U.G Meetups!</h4>
|
||||
{{- $counter := 0 }}
|
||||
{{- $newlimit := (sub now.Unix 604800 ) }}
|
||||
{{- range first 3 (index .Site.Taxonomies.draseis "meetups") }}
|
||||
{{- if .Params.meetupdate }}
|
||||
{{- $meetuptime := time .Params.meetupdate }}
|
||||
{{- $meetuptimeunix := add $meetuptime.Unix 86400 }}
|
||||
{{- if ge $meetuptimeunix now.Unix }}
|
||||
{{- $counter = add $counter 1 }}
|
||||
<a href="{{ .Permalink}}">{{- if lt .Date.Unix $newlimit }} Nέο {{- end }}{{ dateFormat "02/01/2006" $meetuptime }} - {{ .Params.meetuplocation }} </a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if eq $counter 0 }}
|
||||
<a>Δεν υπάρχουν</a>
|
||||
{{- end }}
|
||||
<h4> Εκδηλώσεις </h4>
|
||||
{{- $counter = 0 }}
|
||||
{{- $newlimit := (sub now.Unix 604800 ) }}
|
||||
{{- range first 5 (index .Site.Taxonomies.draseis "event") }}
|
||||
{{- if .Params.eventdate }}
|
||||
{{- $eventtime := time .Params.eventdate }}
|
||||
{{- if ge $eventtime.Unix now.Unix }}
|
||||
{{- $counter = add $counter 1 }}
|
||||
<a href="{{ .Permalink }}">{{- if lt .Date.Unix $newlimit }} Nέο{{- end }}{{- dateFormat "02/01/2006" $eventtime }} - {{ .Title }}</a>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if eq $counter 0 }}
|
||||
<a>Δεν υπάρχουν</a>
|
||||
{{- end }}
|
||||
|
||||
<h4>Σύνδεσμοι</h4>
|
||||
{{- range .Site.Data.main.links.hellug }}
|
||||
<a href="{{ .url }}">{{ .name }}</a></br>
|
||||
{{- end }}
|
29
themes/hellug-minimal-4/layouts/partials/footer.html
Κανονικό αρχείο
29
themes/hellug-minimal-4/layouts/partials/footer.html
Κανονικό αρχείο
|
@ -0,0 +1,29 @@
|
|||
<footer>
|
||||
<hr>
|
||||
<div class="row">
|
||||
{{- $currentPage := . }}
|
||||
{{- range .Site.Menus.main }}
|
||||
<div class="col">
|
||||
{{- if .HasChildren }}
|
||||
{{- .Name }}
|
||||
{{- range .Children }}
|
||||
<br><a href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{- end }}
|
||||
{{- else }}
|
||||
{{- .Name }}
|
||||
{{- end }}
|
||||
</div>
|
||||
{{- end }}
|
||||
<div class="col">
|
||||
Ακολουθήστε τον HEL.L.U.G.
|
||||
<a href="https://twitter.com/hellug"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Twitter.png">Twitter</button></a>
|
||||
<a href="http://www.linkedin.com/groups/HELLUG-108292/about"><button type="button" style="padding-top:1px; padding-bottom:1px; margin-bottom:4px;"><img src="/media/LinkedIn.png">LinkedIn</button></a>
|
||||
<a href="https://www.facebook.com/groups/hellug/"><button type="button" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Facebook.png">Facebook</button></a>
|
||||
</div>
|
||||
</div>
|
||||
<small class="float-right sticky"><a href="/credits">Συντελεστές Ιστοσελίδας</a></small>
|
||||
|
||||
{{- partial "scripts.html" . }}
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
18
themes/hellug-minimal-4/layouts/partials/head.html
Κανονικό αρχείο
18
themes/hellug-minimal-4/layouts/partials/head.html
Κανονικό αρχείο
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<base href="">
|
||||
<title>{{ .Title }} | HELLUG </title>
|
||||
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
|
||||
<meta name="robots" content="index, follow" />
|
||||
<meta name="description" content="Hellug Homepage" />
|
||||
<meta name="keywords" content="Hellug" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="stylesheet" href="/css/classless.css">
|
||||
<link href="/css/hellug.css" rel="stylesheet" />
|
||||
{{ with .OutputFormats.Get "rss" -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s RSS feed" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
</head>
|
||||
<body>
|
||||
<!-- <script src="https://dohliam.github.io/dropin-minimal-css/switcher.js" type="text/javascript"></script> -->
|
24
themes/hellug-minimal-4/layouts/partials/header.html
Κανονικό αρχείο
24
themes/hellug-minimal-4/layouts/partials/header.html
Κανονικό αρχείο
|
@ -0,0 +1,24 @@
|
|||
<!-- menu items -->
|
||||
<nav>
|
||||
{{- $currentPage := . }}
|
||||
<ul>
|
||||
<li class="float-right sticky"><a onclick="addFontSize(-1)">ᴀ-</a>|<a onclick="addFontSize(1)">A+</a></li>
|
||||
<li class="float-right sticky"><a onclick="toggleDarkMode(this)">🌓</a></li>
|
||||
{{- range .Site.Menus.main }}
|
||||
{{- if .HasChildren }}
|
||||
<li > <a href="#">{{ .Name }}</a>
|
||||
<ul >
|
||||
{{- range .Children }}
|
||||
<li> <a href="{{ .URL }}">{{ .Name }}</a> </li>
|
||||
{{- end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{- else }}
|
||||
<li>
|
||||
<a href="#">{{ .Name }}</a>
|
||||
</li>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
</ul>
|
||||
</nav>
|
||||
<!-- menu items end -->
|
1
themes/hellug-minimal-4/layouts/partials/hellug-banner.html
Κανονικό αρχείο
1
themes/hellug-minimal-4/layouts/partials/hellug-banner.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
|||
<img alt="Μεγάλο λογότυπο της Ένωσης Χρηστών και Φίλων Λίνουξ Ελλάδας με τη μασκότ του Λίνουξ Τουξ να κρατά με το ράμφος μία ελληνική σημαία" src="/media/hellug.png">
|
0
themes/hellug-minimal-4/layouts/partials/notice.html
Κανονικό αρχείο
0
themes/hellug-minimal-4/layouts/partials/notice.html
Κανονικό αρχείο
0
themes/hellug-minimal-4/layouts/partials/null.html
Κανονικό αρχείο
0
themes/hellug-minimal-4/layouts/partials/null.html
Κανονικό αρχείο
1
themes/hellug-minimal-4/layouts/partials/rss.html
Κανονικό αρχείο
1
themes/hellug-minimal-4/layouts/partials/rss.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
|||
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
|
40
themes/hellug-minimal-4/layouts/partials/scripts.html
Κανονικό αρχείο
40
themes/hellug-minimal-4/layouts/partials/scripts.html
Κανονικό αρχείο
|
@ -0,0 +1,40 @@
|
|||
<!-- Theme changer -->
|
||||
<script>
|
||||
function switchTheme(el) { document.documentElement.setAttribute('data-theme', el.value) }
|
||||
|
||||
function switchCSS(cssid, el){ document.getElementById(cssid).href = el.value; }
|
||||
|
||||
function addFontSize(addPx){
|
||||
html = document.querySelector('html');
|
||||
currentSize = parseFloat(window.getComputedStyle(html, null)
|
||||
.getPropertyValue('font-size'));
|
||||
html.style.fontSize = (currentSize + addPx) + 'px';
|
||||
}
|
||||
|
||||
function toggleDarkMode(el){
|
||||
var theme='light'
|
||||
if (el.innerText == '🌓'){
|
||||
el.innerText = '☀'; theme='dark';
|
||||
} else {
|
||||
el.innerText = '🌓';
|
||||
}
|
||||
document.documentElement.setAttribute('data-theme', theme)
|
||||
}
|
||||
</script>
|
||||
<!-- Theme changer end -->
|
||||
|
||||
<!-- Matomo -->
|
||||
<script>
|
||||
var _paq = window._paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
_paq.push(['trackPageView']);
|
||||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="https://stats.hellug.gr/";
|
||||
_paq.push(['setTrackerUrl', u+'piwik.php']);
|
||||
_paq.push(['setSiteId', '1']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
g.async=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||
})();
|
||||
</script>
|
||||
<!-- End Matomo Code -->
|
5
themes/hellug-minimal-4/layouts/partials/welcome.html
Κανονικό αρχείο
5
themes/hellug-minimal-4/layouts/partials/welcome.html
Κανονικό αρχείο
|
@ -0,0 +1,5 @@
|
|||
{{- with .GetPage "pages/welcome" }}
|
||||
<h3>{{- .Title }}</h3>
|
||||
{{- .Content}}
|
||||
<hr>
|
||||
{{- end }}
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα