diff --git a/content/posts/hellug-meetups-2019.md b/content/posts/hellug-meetups-2019.md
index 8442bce..4b4f6c3 100644
--- a/content/posts/hellug-meetups-2019.md
+++ b/content/posts/hellug-meetups-2019.md
@@ -1,6 +1,6 @@
---
title: "Hellug Meetups 2019"
-layout: "news"
+layout: "meetups"
bannertemplate: "hellug-banner.html"
date: 2019-05-31
category_title: Δράσεις
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 03a96c5..e591035 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -21,7 +21,7 @@
{{ $articlelimit := 5 }}
{{ $articlenum := len .Pages }}
{{ $counter := 0 }}
-{{ $lastyear := (sub now.Unix 31536000 ) }}
+{{ $recentpostlimit := (sub now.Unix 31536000 ) }}
{{ range first $articlelimit .Pages }}
{{ $counter = add $counter 1 }}
{{ if eq $counter 1 }}
@@ -30,7 +30,7 @@
{{ .Title }}
{{ dateFormat "02/01/2006" .Date }}
- {{ if lt $lastyear .Date.Unix }}
+ {{ if lt $recentpostlimit .Date.Unix }}
Nέο
{{ end }}
@@ -47,7 +47,7 @@
{{ .Title }}
{{ dateFormat "02/01/2006" .Date }}
- {{ if lt $lastyear .Date.Unix }}
+ {{ if lt $recentpostlimit .Date.Unix }}
Nέο
{{ end }}
diff --git a/layouts/_default/meetups.html b/layouts/_default/meetups.html
index dbdad87..5e819d4 100644
--- a/layouts/_default/meetups.html
+++ b/layouts/_default/meetups.html
@@ -13,13 +13,23 @@
{{ .Title }}
{{ dateFormat "02/01/2006" .Date }}
+
+ {{ if .Params.meetupdate }}
+ - 📅 {{ dateFormat "Monday" .Params.meetupdate }}
+ {{ end }}
+ {{ if .Params.meetupdate }}
+ - ⏰ {{ dateFormat "15:04" .Params.meetupdate }}
+ {{ end }}
+ {{ if .Params.meetuplocation }}
+ - 🏛 {{ .Params.meetuplocation }}
+ {{ end }}
+
-
-
{{.Content}}
-
+
+
{{ partial "column2.html" . }}
diff --git a/layouts/index.html b/layouts/index.html
index 24720c0..3b336ad 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -14,7 +14,7 @@
{{ $counter := 0 }}
-{{ $lastyear := (sub now.Unix 31536000 ) }}
+{{ $recentpostlimit := (sub now.Unix 2592000 ) }}
{{ range first 5 .Pages }}
{{ $counter = add $counter 1 }}
{{ if eq $counter 1 }}
@@ -23,7 +23,7 @@
{{ .Title }}
{{ dateFormat "02/01/2006" .Date }}
- {{ if lt $lastyear .Date.Unix }}
+ {{ if lt $recentpostlimit .Date.Unix }}
Nέο
{{ end }}
@@ -41,7 +41,7 @@
{{ .Title }}
{{ dateFormat "02/01/2006" .Date }}
- {{ if lt $lastyear .Date.Unix }}
+ {{ if lt $recentpostlimit .Date.Unix }}
Nέο
{{ end }}
diff --git a/layouts/partials/column2.html b/layouts/partials/column2.html
index 9bff000..5f9e3a3 100644
--- a/layouts/partials/column2.html
+++ b/layouts/partials/column2.html
@@ -6,7 +6,8 @@
{{ range first 1 (index .Site.Taxonomies.draseis "meetups") }}
{{ if .Params.meetupdate }}
{{ $meetuptime := time .Params.meetupdate }}
- {{ if ge $meetuptime.Unix now.Unix }}
+ {{ $meetuptimeunix := add $meetuptime.Unix 86400 }}
+ {{ if ge $meetuptimeunix now.Unix }}
{{ $counter = add $counter 1 }}
Nέο
@@ -23,12 +24,18 @@
Εκδηλώσεις
{{ $counter = 0 }}
+ {{ $newlimit := (sub now.Unix 604800 ) }}
{{ range first 5 (index .Site.Taxonomies.draseis "events") }}
{{ if .Params.eventdate }}
{{ $eventtime := time .Params.eventdate }}
{{ if ge $eventtime.Unix now.Unix }}
{{ $counter = add $counter 1 }}
- {{ dateFormat "02/01/2006" $eventtime }} - {{ .Title }}
+
+ {{ if lt .Date.Unix $newlimit }}
+ Nέο
+ {{ end }}
+ {{ dateFormat "02/01/2006" $eventtime }} - {{ .Title }}
+
{{ end }}
{{ end }}
{{ end }}
diff --git a/static/static/css/hellug.css b/static/static/css/hellug.css
index 487ce88..48faaf7 100644
--- a/static/static/css/hellug.css
+++ b/static/static/css/hellug.css
@@ -40,7 +40,6 @@
float:left;
min-width:400px;
width:70%;
-
}
#column2
{
@@ -95,6 +94,13 @@ div.footer ul.site-map ul li {
text-shadow:;
}
+#content-area
+{
+ margin-left: 20px;
+ margin-right: 20px;
+ margin-bottom: 2px;
+}
+
span.article-date {
font-size: 75%;
font-weight: bold;