diff --git a/content/posts/events/θερινο-σχολειο-με-θέμα-τρισδιάστατη-σχεδίαση-και-εκτύπωση-3oek-peiraia-hellug-gfoss-uni-w-a-2024-06-26.md b/content/posts/events/θερινο-σχολειο-με-θέμα-τρισδιάστατη-σχεδίαση-και-εκτύπωση-3oek-peiraia-hellug-gfoss-uni-w-a-2024-06-26.md index 48e0700..bbe7a2d 100644 --- a/content/posts/events/θερινο-σχολειο-με-θέμα-τρισδιάστατη-σχεδίαση-και-εκτύπωση-3oek-peiraia-hellug-gfoss-uni-w-a-2024-06-26.md +++ b/content/posts/events/θερινο-σχολειο-με-θέμα-τρισδιάστατη-σχεδίαση-και-εκτύπωση-3oek-peiraia-hellug-gfoss-uni-w-a-2024-06-26.md @@ -14,8 +14,6 @@ draseis: tags: - Εκδηλώσεις - Νέα -aliases: - - /therino-sxoleio-3D-3oek-peiraia-2024 summary: Tο 3ο Εργαστηριακό Κέντρο Πειραιά (Δραπετσώνας) με το πέρας του σχολικού έτους 2023-2024, και σε συνεργασία με το Δήμο Κερατσινίου-Δραπετσώνας, την ΕΕΛΛΑΚ, την Ένωση Χρηστών και Φίλων Λίνουξ diff --git a/static/admin/config.yml b/static/admin/config.yml index 86458b8..ea96cc2 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -25,7 +25,6 @@ collections: - {label: "Ημερομηνία Δημοσίευσης", name: "date", widget: "datetime", picker_utc: "false"} - {label: "Τίτλος κατηγορίας", name: "category_title", widget: "string", default: "Δράσεις"} - {label: "Ετικέτες", name: "tags", widget: "list", min: 1, default: ["Νέα"]} - - {label: "Συντόμευση", name: "aliases", widget: "list", min: 0, max: 1, widget: string} - {label: "Περίληψη", name: "summary", required: false, widget: "string"} - {label: "Body", name: "body", widget: "markdown"} - name: "meetups" # Used in routes, e.g., /admin/collections/blog @@ -45,7 +44,6 @@ collections: - {label: "Τίτλος κατηγορίας", name: "category_title", widget: "string", default: "Δράσεις"} - {label: "Ετικέτες κατηγορίας", name: "draseis", widget: "list", allow_add: false, default: [meetups]} - {label: "Ετικέτες", name: "tags", widget: "list", allow_add: false, default: ["Meetups"]} - - {label: "Συντόμευση", name: "aliases", widget: "list", min: 0, max: 1, widget: string} - {label: "Περίληψη", name: "summary", required: false, widget: "string"} - {label: "Body", name: "body", widget: "markdown"} - name: "events" # Used in routes, e.g., /admin/collections/blog @@ -65,6 +63,5 @@ collections: - {label: "Τίτλος κατηγορίας", name: "category_title", widget: "string", default: "Δράσεις"} - {label: "Ετικέτες κατηγορίας", name: "draseis", widget: "list", allow_add: false, default: [news,event]} - {label: "Ετικέτες", name: "tags", widget: "list", allow_add: false, default: ["Εκδηλώσεις","Νέα"]} - - {label: "Συντόμευση", name: "aliases", widget: "list", min: 0, max: 1, widget: string} - {label: "Περίληψη", name: "summary", required: false, widget: "string"} - {label: "Body", name: "body", widget: "markdown"} diff --git a/themes/hellug-bootstrap/layouts/_default/events.html b/themes/hellug-bootstrap/layouts/_default/events.html index 6eb8aea..3356b38 100644 --- a/themes/hellug-bootstrap/layouts/_default/events.html +++ b/themes/hellug-bootstrap/layouts/_default/events.html @@ -17,9 +17,8 @@
-

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} -
+

{{ .Title }}

+
    {{ if .Params.eventdate }}
  • 📅 {{ .Params.eventdate | time.Format ":date_full" }} @@ -40,7 +39,6 @@ {{.Content | safeHTML }} - {{- partial "short-link.html" }}
diff --git a/themes/hellug-bootstrap/layouts/_default/list.html b/themes/hellug-bootstrap/layouts/_default/list.html index 4cc20b9..364cec1 100644 --- a/themes/hellug-bootstrap/layouts/_default/list.html +++ b/themes/hellug-bootstrap/layouts/_default/list.html @@ -33,7 +33,7 @@

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} + {{ if lt $recentpostlimit .Date.Unix }} Nέο {{ end }} @@ -50,7 +50,7 @@

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} + {{ if lt $recentpostlimit .Date.Unix }} Nέο {{ end }} @@ -75,7 +75,7 @@
    {{ range after $articlelimit .Pages }}
  • {{ .Title }} - {{ dateFormat "02/01/2006" .Date }}
  • + {{ end }}
diff --git a/themes/hellug-bootstrap/layouts/_default/meetups.html b/themes/hellug-bootstrap/layouts/_default/meetups.html index 051fa9d..158b7cb 100644 --- a/themes/hellug-bootstrap/layouts/_default/meetups.html +++ b/themes/hellug-bootstrap/layouts/_default/meetups.html @@ -18,8 +18,7 @@

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} -
+
    {{ if .Params.meetupdate }}
  • 📅 {{ dateFormat "Monday" .Params.meetupdate }}
  • @@ -34,7 +33,6 @@ {{.Content | safeHTML }} - {{- partial "short-link.html" }}
diff --git a/themes/hellug-bootstrap/layouts/_default/news.html b/themes/hellug-bootstrap/layouts/_default/news.html index 6ca181f..df89faa 100644 --- a/themes/hellug-bootstrap/layouts/_default/news.html +++ b/themes/hellug-bootstrap/layouts/_default/news.html @@ -18,12 +18,10 @@

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} -
+
{{.Content | safeHTML }} - {{- partial "short-link.html" }}
diff --git a/themes/hellug-bootstrap/layouts/_default/pages.html b/themes/hellug-bootstrap/layouts/_default/pages.html index 68f16a2..809b603 100644 --- a/themes/hellug-bootstrap/layouts/_default/pages.html +++ b/themes/hellug-bootstrap/layouts/_default/pages.html @@ -18,7 +18,6 @@

{{ .Title }}


{{- .Content}} - {{- partial "short-link.html" }}
{{- partial "column2.html" . }} diff --git a/themes/hellug-bootstrap/layouts/draseis/list.html b/themes/hellug-bootstrap/layouts/draseis/list.html index 9c8de08..ae8f445 100644 --- a/themes/hellug-bootstrap/layouts/draseis/list.html +++ b/themes/hellug-bootstrap/layouts/draseis/list.html @@ -33,7 +33,7 @@

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} + {{ if lt $recentpostlimit .Date.Unix }} Nέο {{ end }} @@ -50,7 +50,7 @@

{{ .Title }}

- {{ dateFormat "02/01/2006" .Date }} + {{ if lt $recentpostlimit .Date.Unix }} Nέο {{ end }} @@ -75,7 +75,7 @@
    {{ range after 10 .Pages }}
  • {{ .Title }} - {{ dateFormat "02/01/2006" .Date }}
  • + {{ end }}
diff --git a/themes/hellug-bootstrap/layouts/partials/head.html b/themes/hellug-bootstrap/layouts/partials/head.html index 75e6c1b..cbf729d 100644 --- a/themes/hellug-bootstrap/layouts/partials/head.html +++ b/themes/hellug-bootstrap/layouts/partials/head.html @@ -9,11 +9,11 @@ - - - {{- range .AlternativeOutputFormats -}} + + + {{ range .AlternativeOutputFormats -}} {{ printf `` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }} - {{- end }} + {{ end -}} diff --git a/themes/hellug-bootstrap/layouts/partials/short-link.html b/themes/hellug-bootstrap/layouts/partials/short-link.html deleted file mode 100644 index 3ab95b1..0000000 --- a/themes/hellug-bootstrap/layouts/partials/short-link.html +++ /dev/null @@ -1,5 +0,0 @@ -{{- if .Params.aliases }} -{{- range first 1 .Params.aliases }} -🔗Σύντομος σύνδεσμος σε αυτό το άρθρο -{{- end }} -{{- end }}