refactoring of code to support themes and new hellug theme
Κάποιοι έλεγχοι απέτυχαν
Hellug Projects/Hellug/www/pipeline/head There was a failure building this commit
Κάποιοι έλεγχοι απέτυχαν
Hellug Projects/Hellug/www/pipeline/head There was a failure building this commit
Αυτό το commit περιλαμβάνεται σε:
γονέας
781ede797c
commit
acfecc9a4d
119 αρχεία άλλαξαν με 3973 προσθήκες και 7 διαγραφές
7
themes/hellug-minimal-2/layouts/partials/breadcrump.html
Κανονικό αρχείο
7
themes/hellug-minimal-2/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>
|
||||
-->
|
||||
|
18
themes/hellug-minimal-2/layouts/partials/carousel.html
Κανονικό αρχείο
18
themes/hellug-minimal-2/layouts/partials/carousel.html
Κανονικό αρχείο
|
@ -0,0 +1,18 @@
|
|||
|
||||
<!-- Carousel -->
|
||||
|
||||
<div id="this-carousel-id" class="carousel slide"><!-- class of slide for animation -->
|
||||
<div class="carousel-inner">
|
||||
<div class="item active"><!-- class of active since it's the first item -->
|
||||
<img src="media/carousel1.png" >
|
||||
|
||||
<div class="carousel-caption">
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- /.carousel-inner -->
|
||||
<!-- Next and Previous controls below
|
||||
href values must reference the id for this carousel -->
|
||||
<a class="carousel-control left" href="index.html#this-carousel-id" data-slide="prev">‹</a>
|
||||
<a class="carousel-control right" href="index.html#this-carousel-id" data-slide="next">›</a>
|
||||
</div><!-- /.carousel -->
|
||||
|
71
themes/hellug-minimal-2/layouts/partials/column2.html
Κανονικό αρχείο
71
themes/hellug-minimal-2/layouts/partials/column2.html
Κανονικό αρχείο
|
@ -0,0 +1,71 @@
|
|||
<div id="column2">
|
||||
<div class="well well-lg" align="center">
|
||||
<div class="list-group">
|
||||
<span class="list-group-item active">HEL.L.U.G Meetups!</span>
|
||||
{{ $counter := 0 }}
|
||||
{{ 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 class="list-group-item" href="{{ .Permalink}}">
|
||||
<span class="label label-default">Nέο</span>
|
||||
{{ dateFormat "02/01/2006" $meetuptime }} - {{ .Params.meetuplocation }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if eq $counter 0 }}
|
||||
<a class="list-group-item">Δεν υπάρχουν</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="list-group">
|
||||
<span class="list-group-item active"> Εκδηλώσεις </span>
|
||||
|
||||
{{ $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 class="list-group-item" href="{{ .Permalink }}">
|
||||
{{ if lt .Date.Unix $newlimit }}
|
||||
<span class="label label-default">Nέο</span>
|
||||
{{ end }}
|
||||
{{ dateFormat "02/01/2006" $eventtime }} - {{ .Title }}
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if eq $counter 0 }}
|
||||
<a class="list-group-item">Δεν υπάρχουν</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">HEL.L.U.G. Sites</h3>
|
||||
</div>
|
||||
<div class="panel-body" align="left">
|
||||
<ul class="nav">
|
||||
{{ range .Site.Data.sidebar.links.hellug }}
|
||||
<li class="nav-item"><a href={{ .url }}><button type="button" class="btn btn-link">{{ .name }}</button></a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel panel-info">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title">Ακολουθήστε τον HEL.L.U.G.</h3>
|
||||
</div>
|
||||
<div class="panel-body" align="left">
|
||||
<div class="btn-group">
|
||||
<a href="https://twitter.com/hellug"><button type="button" class="btn btn-default" 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" class="btn btn-default" 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" class="btn btn-default" style="padding-top:1px; padding-bottom:1px;margin-bottom:4px;"><img src="/media/Facebook.png">Facebook</button></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
50
themes/hellug-minimal-2/layouts/partials/footer.html
Κανονικό αρχείο
50
themes/hellug-minimal-2/layouts/partials/footer.html
Κανονικό αρχείο
|
@ -0,0 +1,50 @@
|
|||
<div>
|
||||
<ul>
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
{{ if .HasChildren }}
|
||||
<li><div>{{ .Name }}</div>
|
||||
<ul>
|
||||
{{ range .Children }}
|
||||
<li><a href="{{ .URL }}">{{ .Name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
{{ else }}
|
||||
<li>
|
||||
<div>{{ .Name }}</div>
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<li><div>Σύνδεσμοι</div>
|
||||
<ul>
|
||||
{{ range .Site.Data.main.links.hellug }}
|
||||
<li><a href="{{ .url }}">{{ .name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<a href="/credits">Credits Ιστοσελίδας</a>
|
||||
<!-- 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 -->
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
17
themes/hellug-minimal-2/layouts/partials/head.html
Κανονικό αρχείο
17
themes/hellug-minimal-2/layouts/partials/head.html
Κανονικό αρχείο
|
@ -0,0 +1,17 @@
|
|||
<!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 href="/static/css/hellug.css" rel="stylesheet" />
|
||||
<script src="/static/js/bootstrap.min.js"></script>
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
{{ end -}}
|
||||
</head>
|
||||
<body>
|
7
themes/hellug-minimal-2/layouts/partials/header.html
Κανονικό αρχείο
7
themes/hellug-minimal-2/layouts/partials/header.html
Κανονικό αρχείο
|
@ -0,0 +1,7 @@
|
|||
<a href="/">Home</a>
|
||||
<!-- menu items -->
|
||||
{{ $currentPage := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<a tabindex="-1" href="{{ .URL }}">{{ .Name }}</a>
|
||||
{{ end }}
|
||||
<!-- menu items end -->
|
1
themes/hellug-minimal-2/layouts/partials/hellug-banner.html
Κανονικό αρχείο
1
themes/hellug-minimal-2/layouts/partials/hellug-banner.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
|||
<img src="/media/hellug.png">
|
0
themes/hellug-minimal-2/layouts/partials/null.html
Κανονικό αρχείο
0
themes/hellug-minimal-2/layouts/partials/null.html
Κανονικό αρχείο
1
themes/hellug-minimal-2/layouts/partials/rss.html
Κανονικό αρχείο
1
themes/hellug-minimal-2/layouts/partials/rss.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
|||
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα