first minimal theme
Αυτό το commit περιλαμβάνεται σε:
γονέας
4561a6aa2c
commit
954260ab0b
36 αρχεία άλλαξαν με 563 προσθήκες και 114 διαγραφές
0
themes/hellug-minimal-4/layouts/404.html
Κανονικό αρχείο
0
themes/hellug-minimal-4/layouts/404.html
Κανονικό αρχείο
11
themes/hellug-minimal-4/layouts/_default/baseof.html
Κανονικό αρχείο
11
themes/hellug-minimal-4/layouts/_default/baseof.html
Κανονικό αρχείο
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{- partial "head.html" . -}}
|
||||
<body>
|
||||
{{- partial "header.html" . -}}
|
||||
<div id="content">
|
||||
{{- block "main" . }}{{- end }}
|
||||
</div>
|
||||
{{- partial "footer.html" . -}}
|
||||
</body>
|
||||
</html>
|
32
themes/hellug-minimal-4/layouts/_default/events.html
Κανονικό αρχείο
32
themes/hellug-minimal-4/layouts/_default/events.html
Κανονικό αρχείο
|
@ -0,0 +1,32 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1> {{ .Title }}</h1>
|
||||
{{ dateFormat "02/01/2006" .Date }}<hr>
|
||||
<ul>
|
||||
{{ if .Params.eventdate }}
|
||||
<li><b>📅</b> {{ dateFormat "Monday" .Params.eventdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.eventdate }}
|
||||
<li><b>⏰</b> {{ dateFormat "15:04" .Params.eventdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.eventlocation }}
|
||||
<li><b>🏛</b> {{ .Params.eventlocation }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
|
||||
{{.Content}}
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
64
themes/hellug-minimal-4/layouts/_default/list.html
Κανονικό αρχείο
64
themes/hellug-minimal-4/layouts/_default/list.html
Κανονικό αρχείο
|
@ -0,0 +1,64 @@
|
|||
{{ partial "head.html" . }}
|
||||
<header>
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
{{- if .Params.bannertemplate }}
|
||||
{{- partial .Params.bannertemplate . }}
|
||||
{{- else }}
|
||||
{{- partial "hellug-banner.html" . }}
|
||||
{{- end }}
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<div class="master">
|
||||
<!-- Articles Section -->
|
||||
{{- $articlelimit := 5 }}
|
||||
{{- $articlenum := len .Pages }}
|
||||
{{- $counter := 0 }}
|
||||
{{- $recentpostlimit := (sub now.Unix 31536000 ) }}
|
||||
{{- range first $articlelimit .Pages }}
|
||||
{{- $counter = add $counter 1 }}
|
||||
{{- if eq $counter 1 }}
|
||||
<!-- First Post -->
|
||||
<h4><a href="{{.Permalink}}">{{ .Title }}</a></h4>
|
||||
<article>
|
||||
<aside>{{- if lt $recentpostlimit .Date.Unix }}Nέο {{- end }}{{- dateFormat "02/01/2006" .Date }}
|
||||
</aside>
|
||||
{{- .Summary }}
|
||||
</article>
|
||||
<!-- First Post End -->
|
||||
{{else}}
|
||||
<h4><a href="{{.Permalink}}">{{ .Title }}</a></h4>
|
||||
<article>
|
||||
<aside>{{- if lt $recentpostlimit .Date.Unix }}Nέο {{- end }}{{ dateFormat "02/01/2006" .Date }}
|
||||
</aside>
|
||||
{{- .Summary }}
|
||||
</aside>
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
<!-- End Articles Section -->
|
||||
|
||||
<section>
|
||||
{{ if gt $articlenum $articlelimit }}
|
||||
<!-- Older Articles Summary -->
|
||||
<h4>Παλαιότερα άρθρα</a></h4>
|
||||
<ul>
|
||||
{{ range after 10 .Pages }}
|
||||
<li><a href="{{.Permalink}}">{{ .Title }}</a> {{ dateFormat "02/01/2006" .Date }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
<!-- End Older Articles -->
|
||||
{{ end }}
|
||||
</section>
|
||||
</div>
|
||||
<div class="sidebar">
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
36
themes/hellug-minimal-4/layouts/_default/meetups.html
Κανονικό αρχείο
36
themes/hellug-minimal-4/layouts/_default/meetups.html
Κανονικό αρχείο
|
@ -0,0 +1,36 @@
|
|||
{{ partial "head.html" . }}
|
||||
<header>
|
||||
<!-- Header Start -->
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
{{ partial "breadcrump.html"}}
|
||||
</header>
|
||||
<main>
|
||||
<div class="master">
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ dateFormat "02/01/2006" .Date }}
|
||||
<ul>
|
||||
{{ if .Params.meetupdate }}
|
||||
<li><b>📅</b> {{ dateFormat "Monday" .Params.meetupdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.meetupdate }}
|
||||
<li><b>⏰</b> {{ dateFormat "15:04" .Params.meetupdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.meetuplocation }}
|
||||
<li><b>🏛</b> {{ .Params.meetuplocation }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<article>
|
||||
{{.Content}}
|
||||
</article>
|
||||
</div>
|
||||
<!-- Column 2 start -->
|
||||
<div class="sidebar">
|
||||
{{ partial "column2.html" . }}
|
||||
</div>
|
||||
<!-- Column 2 end -->
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
27
themes/hellug-minimal-4/layouts/_default/news.html
Κανονικό αρχείο
27
themes/hellug-minimal-4/layouts/_default/news.html
Κανονικό αρχείο
|
@ -0,0 +1,27 @@
|
|||
{{- partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
<header>
|
||||
{{- partial .Params.bannertemplate . }}
|
||||
{{- partial "header.html" . }}
|
||||
</header>
|
||||
<!-- Header End -->
|
||||
<main>
|
||||
<div class="row">
|
||||
{{ partial "breadcrump.html"}}
|
||||
<div class="col">
|
||||
<!-- Article start -->
|
||||
<h3>{{ .Title }}</h3>
|
||||
{{- dateFormat "02/01/2006" .Date }}
|
||||
<article>{{.Content}} </article>
|
||||
</div>
|
||||
<!-- Article end -->
|
||||
<div class="col-4">
|
||||
<!-- Column start -->
|
||||
{{- partial "column2.html" . }}
|
||||
<!-- Column end -->
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
30
themes/hellug-minimal-4/layouts/_default/pages.html
Κανονικό αρχείο
30
themes/hellug-minimal-4/layouts/_default/pages.html
Κανονικό αρχείο
|
@ -0,0 +1,30 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
{{ if .Params.bannertemplate }}
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
{{else}}
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
{{end}}
|
||||
|
||||
{{ partial "breadcrump.html"}}
|
||||
<main>
|
||||
<div class="master">
|
||||
<!-- Content Start -->
|
||||
<h3>{{ .Title }}</h3>
|
||||
<article>
|
||||
{{.Content}}
|
||||
</article>
|
||||
<!-- Content End -->
|
||||
</div>
|
||||
<div class="sidebar">
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
25
themes/hellug-minimal-4/layouts/_default/single.html
Κανονικό αρχείο
25
themes/hellug-minimal-4/layouts/_default/single.html
Κανονικό αρχείο
|
@ -0,0 +1,25 @@
|
|||
{{ partial "head.html" . }}
|
||||
<header>
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
</header>
|
||||
<main>
|
||||
<div class="row">
|
||||
<!-- Content Area start -->
|
||||
<div class="col">
|
||||
{{.Content}}
|
||||
</div>
|
||||
<!-- Content Area end -->
|
||||
<!-- Column 2 start -->
|
||||
<div class="col-3">
|
||||
{{ partial "column2.html" . }}
|
||||
</div>
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
67
themes/hellug-minimal-4/layouts/_default/terms.html
Κανονικό αρχείο
67
themes/hellug-minimal-4/layouts/_default/terms.html
Κανονικό αρχείο
|
@ -0,0 +1,67 @@
|
|||
{{ partial "head.html" . }}
|
||||
<header>
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
</header>
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
|
||||
<main>
|
||||
<div class="master">
|
||||
{{.Content}}
|
||||
|
||||
<!-- Articles Section -->
|
||||
{{ $articlelimit := 5 }}
|
||||
{{ $articlenum := len .Pages }}
|
||||
{{ $counter := 0 }}
|
||||
{{ $lastyear := (sub now.Unix 31536000 ) }}
|
||||
{{ range first $articlelimit .Pages }}
|
||||
{{ $counter = add $counter 1 }}
|
||||
{{ if eq $counter 1 }}
|
||||
<!-- First Post -->
|
||||
<h3><a href="{{.Permalink}}">{{ .Title }}</a> {{ dateFormat "02/01/2006" .Date }}</h3>
|
||||
{{ if lt $lastyear .Date.Unix }}
|
||||
Nέο</h3>
|
||||
{{ end }}
|
||||
<p>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
|
||||
<!-- First Post End -->
|
||||
{{else}}
|
||||
<h3><a href="{{.Permalink}}">{{ .Title }}</a>
|
||||
{{ dateFormat "02/01/2006" .Date }}
|
||||
{{ if lt $lastyear .Date.Unix }}
|
||||
Nέο</h3>
|
||||
{{ end }}
|
||||
<p>
|
||||
{{ .Summary }}
|
||||
</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<!-- End Articles Section -->
|
||||
<section>
|
||||
<!-- Older Articles Summary -->
|
||||
{{ if gt $articlenum $articlelimit }}
|
||||
<h3>Παλαιότερα άρθρα</h3>
|
||||
<ul>
|
||||
{{ range after 10 .Pages }}
|
||||
<li><a href="{{.Permalink}}">{{ .Title }}</a>
|
||||
{{ dateFormat "02/01/2006" .Date }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
<!-- End Older Articles -->
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<div class="sidebar">
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
25
themes/hellug-minimal-4/layouts/_default/tests.html
Κανονικό αρχείο
25
themes/hellug-minimal-4/layouts/_default/tests.html
Κανονικό αρχείο
|
@ -0,0 +1,25 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
{{ if .Params.bannertemplate }}
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
{{else}}
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
{{end}}
|
||||
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1>{{ .Title }}</h1>
|
||||
<hr>
|
||||
|
||||
{{.Content}}
|
||||
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
62
themes/hellug-minimal-4/layouts/index.html
Κανονικό αρχείο
62
themes/hellug-minimal-4/layouts/index.html
Κανονικό αρχείο
|
@ -0,0 +1,62 @@
|
|||
{{- partial "head.html" . }}
|
||||
<header>
|
||||
{{- if .Params.bannertemplate }}
|
||||
{{- partial .Params.bannertemplate . }}
|
||||
{{- else}}
|
||||
{{- partial "hellug-banner.html" . }}
|
||||
{{- end }}
|
||||
{{- partial "header.html" . }}
|
||||
</header>
|
||||
<!-- Main View -->
|
||||
<main>
|
||||
<!-- Welcome -->
|
||||
{{- partial "welcome.html" . }}
|
||||
<!-- Welcome end-->
|
||||
|
||||
<!-- Notice -->
|
||||
{{- partial "notice.html" . }}
|
||||
<!-- Notice end -->
|
||||
|
||||
<div class="row">
|
||||
<!-- Articles Section -->
|
||||
<div class="col">
|
||||
{{- $counter := 0 }}
|
||||
{{- $pages := .Site.RegularPages }}
|
||||
{{- $recentpostlimit := (sub now.Unix 2592000 ) }}
|
||||
{{- range first 5 $pages }}
|
||||
{{- $counter = add $counter 1 }}
|
||||
{{- if eq $counter 1 }}
|
||||
<!-- First Post -->
|
||||
<h3><a href="{{.Permalink}}">{{ .Title }}</a></h3>
|
||||
<cite>{{- dateFormat "02/01/2006" .Date }}
|
||||
{{- if lt $recentpostlimit .Date.Unix }}
|
||||
<mark>Nέο</mark>
|
||||
{{- end }}
|
||||
</cite>
|
||||
<article>{{- .Summary | plainify | safeHTML }}
|
||||
</article>
|
||||
<!-- First Post End -->
|
||||
{{- else }}
|
||||
<h4><a href="{{.Permalink}}">{{ .Title }}</a></h4>
|
||||
<cite>{{- dateFormat "02/01/2006" .Date }}
|
||||
{{ if lt $recentpostlimit .Date.Unix }}
|
||||
<mark>Nέο</mark>
|
||||
{{- end }}
|
||||
</cite>
|
||||
<article>
|
||||
{{- .Summary }}
|
||||
</article>
|
||||
{{- end}}
|
||||
{{- end }}
|
||||
</div>
|
||||
<!-- End Articles Section -->
|
||||
<!-- Column 2 start -->
|
||||
<div class="col-2">
|
||||
{{- partial "column2.html" . }}
|
||||
</div>
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer Start -->
|
||||
{{- partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
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 }}
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα