refactoring of code to support themes and new hellug theme
Κάποιοι έλεγχοι απέτυχαν
Hellug Projects/Hellug/www/pipeline/head There was a failure building this commit

Αυτό το commit περιλαμβάνεται σε:
infl00p 2022-10-27 18:05:10 +03:00
γονέας 781ede797c
commit acfecc9a4d
119 αρχεία άλλαξαν με 3973 προσθήκες και 7 διαγραφές

@ -1,9 +0,0 @@
{{ partial "head.html" . }}
<div>
<img src="/media/sad-tux.png">
<h2>404 Η σελίδα δε βρέθηκε - Page not found</h2>
<p>Αν βρεθήκατε εδώ αφού ακολουθήσατε κάποιο σύνδεσμο παρακαλούμε επικοινωνήστε με τους διαχειριστές της ιστοσελίδας μέσω του <a href="https://forum.hellug.gr">forum</a> του Hellug και ενημερώστε μας για το περιεχόμενο που λείπει</p>
<p>If you came here by following a link please contact the site admins within the <a href="https://forum.hellug.gr">forum</a> of Hellug to inform us of the missing content</p>
<h1><a href="{{ "" | relURL }}">Αρχική - Home</a></h1>
</div>

@ -1,41 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial .Params.bannertemplate . }}
</div>
<div id="column1">
{{ partial "breadcrump.html"}}
<h1 class="title">{{ .Title }}</h1>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span><hr>
<ul class="list-inline">
{{ if .Params.eventdate }}
<li class="list-inline-item"><b>📅</b> {{ dateFormat "Monday" .Params.eventdate }}</li>
{{ end }}
{{ if .Params.eventdate }}
<li class="list-inline-item"><b></b> {{ dateFormat "15:04" .Params.eventdate }}</li>
{{ end }}
{{ if .Params.eventlocation }}
<li class="list-inline-item"><b>🏛</b> {{ .Params.eventlocation }}</li>
{{ end }}
</ul>
<div id="content-area">
{{.Content}}
</div></div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,8 +0,0 @@
!{{ .Title }}
{{ .RawContent }}
{{ range .Pages.ByPublishDate.Reverse }}
0{{ .Title }} {{ replace .RelPermalink "/gopher" "" 1}} hellug.gr 70
{{ end }}

@ -1,91 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ if .Params.bannertemplate }}
{{ partial .Params.bannertemplate . }}
{{else}}
{{ partial "hellug-banner.html" . }}
{{end}}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $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 -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $recentpostlimit .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
<!-- First Post End -->
{{else}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $recentpostlimit .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end }}
{{ end }}
<!-- End Articles Section -->
{{ if gt $articlenum $articlelimit }}
<!-- Older Articles Summary -->
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Παλαιότερα άρθρα</a>
</div>
<div class="panel-body">
<ul>
{{ range after 10 .Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span> </li>
{{ end }}
</ul>
</div>
</div>
<!-- End Older Articles -->
{{ end }}
</div></div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,40 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial .Params.bannertemplate . }}
</div>
<div id="column1">
{{ partial "breadcrump.html"}}
<h1 class="title">{{ .Title }}</h1>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span><hr>
<ul class="list-inline">
{{ if .Params.meetupdate }}
<li class="list-inline-item"><b>📅</b> {{ dateFormat "Monday" .Params.meetupdate }}</li>
{{ end }}
{{ if .Params.meetupdate }}
<li class="list-inline-item"><b></b> {{ dateFormat "15:04" .Params.meetupdate }}</li>
{{ end }}
{{ if .Params.meetuplocation }}
<li class="list-inline-item"><b>🏛</b> {{ .Params.meetuplocation }}</li>
{{ end }}
</ul>
<div id="content-area">
{{.Content}}
</div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,30 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial .Params.bannertemplate . }}
</div>
<div id="column1">
{{ partial "breadcrump.html"}}
<h1 class="title">{{ .Title }}</h1>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span><hr>
<div id="content-area">
{{.Content}}
</div></div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,30 +0,0 @@
# {{ .Title }}{{ $scratch := newScratch }}
{{ $content := .RawContent -}}
{{ $content := $content | replaceRE `</tr>` "\n" -}}
{{ $content := $content | replaceRE `<br/??>` "\n" -}}
{{ $content := $content | replaceRE `<br??/??>` "\n" -}}
{{ $content := $content | replaceRE `<a .*href="(.+?)".*>(.+?)</a>` "[$2]($1)" -}}
{{ $content := $content | plainify -}}
{{ $content := $content | replaceRE `#### ` "### " -}}
{{ $content := $content | replaceRE `\n- (.+?)` "\n* $1" -}}
{{ $content := $content | replaceRE `\n(\d+). (.+?)` "\n* $2" -}}
{{ $content := $content | replaceRE `\[\^(.+?)\]:?` "" -}}
{{ $content := $content | replaceRE `\sgemini://(\S*)` " [gemini://$1](gemini://$1)" -}}
{{ $content := $content | replaceRE "([^`])<.*?>([^`])" "$1$2" -}}
{{ $content := $content | replaceRE `\n\n!\[.*\]\((.+?) \"(.+?)\"\)` "\n\n=> $1 Image: $2" -}}
{{ $content := $content | replaceRE `\n\n!\[.*]\((.+?)\)` "\n\n=> $1 Embedded Image: $1" -}}
{{ $links := findRE `\n=> ` $content }}{{ $scratch.Set "ref" (add (len $links) 1) }}
{{ $refs := findRE `\[.+?\]\(.+?\)` $content }}
{{ $scratch.Set "content" $content }}{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $contentInLoop := $scratch.Get "content" }}{{ $url := (printf "%s #%d" . $ref) }}{{ $contentInLoop := replace $contentInLoop . $url -}}{{ $scratch.Set "content" $contentInLoop }}{{ $scratch.Set "ref" (add $ref 1) }}{{ end }}{{ $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1 [$3]" -}}
{{ $content | safeHTML }}
{{ $scratch.Set "ref" (add (len $links) 1) }}{{ if $refs }}
## Παραπομπές
{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $url := (printf "%s #%d" . $ref) }}
=> {{ $url | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$2 [$3] $1 ($2)" -}}
{{ $scratch.Set "ref" (add $ref 1) }}{{ end}}
---{{end}}
=> / Αρχική
=> https://www.hellug.gr{{ replace (replace .RelPermalink "/gemini" "" 1) "index.gmi" "" }} Έκδοση HTML - Web Page

@ -1,35 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
{{ if .Params.bannertemplate }}
{{ partial .Params.bannertemplate . }}
{{else}}
{{ partial "hellug-banner.html" . }}
{{end}}
<div id="column1">
<div style="padding-left:10px;">
<div class="section">
{{ partial "breadcrump.html"}}
<h1 class="title">{{ .Title }}</h1>
<hr>
<div id="content-area">
{{.Content}}
</div>
</div>
</div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

39
layouts/_default/rss.xml Κανονικό αρχείο

@ -0,0 +1,39 @@
{{- $pctx := . -}}
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
{{- $pages := slice -}}
{{- if or $.IsHome $.IsSection -}}
{{- $pages = $pctx.RegularPages -}}
{{- else -}}
{{- $pages = $pctx.Pages -}}
{{- end -}}
{{- $limit := .Site.Config.Services.RSS.Limit -}}
{{- if ge $limit 1 -}}
{{- $pages = $pages | first $limit -}}
{{- end -}}
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
<link>{{ .Permalink }}</link>
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
{{- with .OutputFormats.Get "RSS" -}}
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
{{- end -}}
{{ range $pages }}
<item>
<title>{{ .Title }}</title>
<link>{{ .Permalink }}</link>
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
<guid>{{ .Permalink }}</guid>
<description>{{ .Content | html }}</description>
</item>
{{ end }}
</channel>
</rss>

@ -1,33 +0,0 @@
# {{ .Title }} - {{ dateFormat "02/01/2006" .Date }}{{ $scratch := newScratch }}
{{ $content := .RawContent -}}
{{ $content := $content | replaceRE "<br/??>" "\n" -}}
{{ $content := $content | replaceRE "<br??/??>" "\n" -}}
{{ $content := $content | replaceRE "<tr>" "\n" -}}
{{ $content := $content | replaceRE `<a .*href="(.+?)".*>(.+?)</a>` "[$2]($1)" -}}
{{ $content := $content | plainify -}}
{{ $content := $content | replaceRE `#### ` "### " -}}
{{ $content := $content | replaceRE `\n- (.+?)` "\n* $1" -}}
{{ $content := $content | replaceRE `\n(\d+). (.+?)` "\n* $2" -}}
{{ $content := $content | replaceRE `\[\^(.+?)\]:?` "" -}}
{{ $content := $content | replaceRE `\sgemini://(\S*)` " [gemini://$1](gemini://$1)" -}}
{{ $content := $content | replaceRE `([^"])<.*?>([^"])` "$1$2" -}}
{{ $content := $content | replaceRE `\n\n!\[.*\]\((.+?) \"(.+?)\"\)` "\n\n=> $1 Image: $2" -}}
{{ $content := $content | replaceRE `\n\n!\[.*]\((.+?)\)` "\n\n=> $1 Embedded Image: $1" -}}
{{ $links := findRE "\n=> " $content }}{{ $scratch.Set "ref" (add (len $links) 1) }}
{{ $refs := findRE `\[.+?\]\(.+?\)` $content }}
{{ $scratch.Set "content" $content }}{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $contentInLoop := $scratch.Get "content" }}{{ $url := (printf "%s #%d" . $ref) }}{{ $contentInLoop := replace $contentInLoop . $url -}}{{ $scratch.Set "content" $contentInLoop }}{{ $scratch.Set "ref" (add $ref 1) }}{{ end }}{{ $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1 [$3]" -}}
{{ $content | safeHTML }}
---
{{ $scratch.Set "ref" (add (len $links) 1) }}{{ if $refs }}
## Παραπομπές
{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $url := (printf "%s #%d" . $ref) }}
=> {{ $url | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$2 [$3] $1 ($2)" -}}
{{ $scratch.Set "ref" (add $ref 1) }}{{ end}}---{{end}}
{{ if .Next }}=> {{ replace .Next.RelPermalink "/gemini" "" 1}} ← Νεότερο: {{ dateFormat "02/01/2006" .Next.Date }} - {{ .Next.Title }}{{ end }}
{{ if .Prev -}}=> {{ replace .Prev.RelPermalink "/gemini" "" 1}} → Παλαιότερο: {{ dateFormat "02/01/2006" .Prev.Date }} - {{ .Prev.Title }}{{- end }}
=> / Αρχική
=> https://www.hellug.gr{{ replace (replace .RelPermalink "/gemini" "" 1) "index.gmi" "" }} Έκδοση HTML - Web Page

@ -1,4 +0,0 @@
# {{ .Title }}
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}
{{ .RawContent }}

@ -1,23 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial .Params.bannertemplate . }}
</div>
<div id="column1">
{{.Content}}
</div></div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,87 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial "hellug-banner.html" . }}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $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 -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
<!-- First Post End -->
{{else}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end }}
{{ end }}
<!-- End Articles Section -->
<!-- Older Articles Summary -->
{{ if gt $articlenum $articlelimit }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Παλαιότερα άρθρα</a>
</div>
<div class="panel-body">
<ul>
{{ range after 10 .Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span> </li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
<!-- End Older Articles -->
</div></div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,36 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
{{ if .Params.bannertemplate }}
{{ partial .Params.bannertemplate . }}
{{else}}
{{ partial "hellug-banner.html" . }}
{{end}}
<div id="column1">
<div style="padding-left:10px;">
<div class="section">
{{ partial "breadcrump.html"}}
<h1 class="title">{{ .Title }}</h1>
<hr>
<div id="content-area">
{{.Content}}
</div>
</div>
</div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,87 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial "hellug-banner.html" . }}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $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 -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
<!-- First Post End -->
{{else}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end }}
{{ end }}
<!-- End Articles Section -->
<!-- Older Articles Summary -->
{{ if gt $articlenum $articlelimit }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Παλαιότερα άρθρα</a>
</div>
<div class="panel-body">
<ul>
{{ range after 10 .Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span> </li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
<!-- End Older Articles -->
</div></div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,87 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial "hellug-banner.html" . }}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $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 -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
<!-- First Post End -->
{{else}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end }}
{{ end }}
<!-- End Articles Section -->
<!-- Older Articles Summary -->
{{ if gt $articlenum $articlelimit }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Παλαιότερα άρθρα</a>
</div>
<div class="panel-body">
<ul>
{{ range after 10 .Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span> </li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
<!-- End Older Articles -->
</div></div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,87 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial "hellug-banner.html" . }}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $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 -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
<!-- First Post End -->
{{else}}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end }}
{{ end }}
<!-- End Articles Section -->
<!-- Older Articles Summary -->
{{ if gt $articlenum $articlelimit }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Παλαιότερα άρθρα</a>
</div>
<div class="panel-body">
<ul>
{{ range after 10 .Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span> </li>
{{ end }}
</ul>
</div>
</div>
{{ end }}
<!-- End Older Articles -->
</div></div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,67 +0,0 @@
{{ partial "head.html" . }}
<!-- Header Start -->
{{ partial "header.html" . }}
<!-- Header End -->
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ if .Params.bannertemplate }}
{{ partial .Params.bannertemplate . }}
{{else}}
{{ partial "hellug-banner.html" . }}
{{end}}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $articlelimit := 10 }}
{{ $articlenum := len .Pages }}
{{ $lastyear := (sub now.Unix 31536000 ) }}
{{ range first $articlelimit .Pages }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
{{ if lt $lastyear .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end }}
<!-- End Articles Section -->
{{ if gt $articlenum $articlelimit }}
<!-- Older Articles Summary -->
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Άλλες Κατηγορίες</a>
</div>
<div class="panel-body">
<ul>
{{ range after 10 .Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a>
{{ end }}
</ul>
</div>
</div>
<!-- End Older Articles -->
{{ end }}
</div></div>
</div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,40 +0,0 @@
```
.--.
|o_o | ██╗░░██╗███████╗██╗░░░░░██╗░░░░░██╗░░░██╗░██████╗░
|:_/ | ██║░░██║██╔════╝██║░░░░░██║░░░░░██║░░░██║██╔════╝░
// \ \ ███████║█████╗░░██║░░░░░██║░░░░░██║░░░██║██║░░██╗░
(| | ) ██╔══██║██╔══╝░░██║░░░░░██║░░░░░██║░░░██║██║░░╚██╗
/'\_ _/`\ ██║░░██║███████╗███████╗███████╗╚██████╔╝╚██████╔╝
\___)=(___/ ╚═╝░░╚═╝╚══════╝╚══════╝╚══════╝░╚═════╝░░╚═════╝░
```
# Hellenic Linux User Group
## Καλως Ήλθατε
Η Ένωση Χρηστών και Φίλων Λίνουξ Ελλάδας σας καλωσορίζει στη κάψουλα της στη σφαίρα του πρωτοκόλλου Gemini.
## Welcome
This is the Gemini Capsule of the Hellenic Linux User Group.
## Σύνδεσμοι - Links
=> https://www.hellug.gr Hellug WebSite
=> https://forum.hellug.gr Hellug Forum
=> https://wiki.hellug.gr Hellug Wiki
=> https://dev.hellug.gr Hellug Git Repositoris
## Σελίδες
{{ $currentPage := . }}{{ range .Site.Menus.main }}{{ if .HasChildren }}
### {{ .Name }}
{{ range .Children }}
=> {{ replace .URL "/gemini" "" 1}} {{ .Name }}{{ end }}
{{ else }}
### {{ .Name }}
{{ end }}{{ end }}
## Νέα Άρθρα - New Posts
{{ $counter := 0 }}{{ $pages := .Site.RegularPages }}{{ $recentpostlimit := (sub now.Unix 2592000 ) }}{{ range first 15 $pages }}{{ $counter = add $counter 1 }}{{ if eq $counter 1 }}=> {{ replace .Permalink "/gemini" "" 1 | replaceRE `(.*)www\.(.*)` "$1$2" }} {{ dateFormat "02/01/2006" .Date }} - {{ .Title }}
{{ else }}=> {{ replace .Permalink "/gemini" "" 1 | replaceRE `(.*)www\.(.*)` "$1$2"}} {{ dateFormat "02/01/2006" .Date }} - {{ .Title }}
{{ end }}{{ end }}

@ -1,35 +0,0 @@
.--. _ _ ______ _ _ _ _ _____
|o_o | | | | | ____| | | | | | | |/ ____|
|:_/ | | |__| | |__ | | | | | | | | | __
// \ \ | __ | __| | | | | | | | | | |_ |
(| | ) | | | | |____| |____| |___| |__| | |__| |
/'\_ _/`\ |_| |_|______|______|______\____/ \_____|
\___)=(___/
Καλως Ήλθατε
Η Ένωση Ελλήνων Χρηστών και Φίλων του Λίνουξ σας καλωσορίζει στη
παρουσία της στο Gopher.
Welcome
This is the Hellenic Linux User Group in the GopherSpace.
Σύνδεσμοι - Links:
https://www.hellug.gr Hellug WebSite
https://forum.hellug.gr Hellug Forum
https://wiki.hellug.gr Hellug Wiki
https://dev.hellug.gr Hellug Git Repositoris
Σελίδες:
{{ $currentPage := . }}{{ range .Site.Menus.main }}{{ if .HasChildren }}
{{ .Name }}
{{ range .Children }}
0{{ .Name }} {{ replace .URL "/gopher" "" 1}} hellug.gr 70
{{ end }}
{{ else }}
{{ .Name }}
{{ end }}{{ end }}
Νέα Άρθρα - New Posts:
{{ range first 15 .Site.RegularPages }}
0{{ .Title }} {{ replace .RelPermalink "/gopher" "" 1}} hellug.gr 70
{{ end }}

@ -1,69 +0,0 @@
{{ partial "head.html" . }}
{{ partial "header.html" . }}
<div class="pagewrap">
<div align="center" style="margin:4px;">
{{ partial "carousel.html" . }}
</div>
<div id="column1">
{{.Content}}
<!-- Articles Section -->
<div class="well well-lg">
{{ $counter := 0 }}
{{ $pages := .Site.RegularPages }}
{{ $recentpostlimit := (sub now.Unix 2592000 ) }}
{{ range first 5 $pages }}
{{ $counter = add $counter 1 }}
{{ if eq $counter 1 }}
<!-- First Post -->
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $recentpostlimit .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary | plainify | safeHTML }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
<!-- First Post End -->
{{ else }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
{{ if lt $recentpostlimit .Date.Unix }}
<span class="label label-default">ο</span></h3>
{{ end }}
</div>
<div class="panel-body">
{{ .Summary }}
<p><a href="{{.Permalink}}" class="btn btn-primary btn-sm"><span class="glyphicon glyphicon-zoom-in"></span>Περισσότερα...</a>
</p>
</div>
</div>
{{ end}}
{{ end }}
<!-- End Articles Section -->
</div></div>
<!-- Column 2 start -->
{{ partial "column2.html" . }}
<!-- Column 2 end -->
</div>
<!-- Footer Start -->
{{ partial "footer.html" . }}
<!-- Footer End -->

@ -1,7 +0,0 @@
<!-- <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,18 +0,0 @@
<!-- 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">&lsaquo;</a>
<a class="carousel-control right" href="index.html#this-carousel-id" data-slide="next">&rsaquo;</a>
</div><!-- /.carousel -->

@ -1,71 +0,0 @@
<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 1 (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">ο</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">ο</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>

@ -1,49 +0,0 @@
<div class="footer" >
<ul class="site-map">
{{ $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 class="infobar">
<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>

@ -1,20 +0,0 @@
<!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 Official" />
<meta name="keywords" content="Hellug" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Bootstrap -->
<link href="/static/css/bootstrap.min.css" rel="stylesheet" />
<link href="/static/css/hellug.css" rel="stylesheet" />
<script type="text/javascript" src="/static/js/jquery-1.12.4.min.js"></script>
<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 id="main">

@ -1,87 +0,0 @@
<nav class="navbar navbar-default" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/"><span class="glyphicon glyphicon-home"></span></a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<!-- menu items -->
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ .Name }}<b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
{{ range .Children }}
<li class="dropdown">
<a tabindex="-1" href="{{ .URL }}">{{ .Name }}</a>
</li>
{{ end }}
</ul>
</li>
{{ else }}
<li>
<a href="#" class="dropdown-toggle" data-toggle="dropdown">{{ .Name }}<b class="caret"></b></a>
</li>
{{ end }}
{{ end }}
<!-- menu items end -->
<!-- DISABLED
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> Linux<b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
<li class="dropdown">
<a tabindex="-1" href="/p/ti-einai-to-linux">Τι είναι;</a>
</li>
<li class="dropdown">
<a tabindex="-1" href="/linux/help">Οδηγοί - Βοήθεια</a>
</li>
<li class="dropdown">
<a tabindex="-1" href="/linux/elefthero-logismiko">Ελεύθερο Λογισμικό</a>
</li>
<li class="dropdown">
<a tabindex="-1" href="/linux/dianomes/dianomes">Διανομές</a>
</li>
<li class="dropdown-submenu">
<a tabindex="-1" href="/linux/koinotites">Κοινότητες</a>
<ul class="dropdown-menu"> <li><a tabindex="-1" href="/linux/koinotites/ellinikes-koinotites/ellinikes-koinotites">Ελληνικές Κοινότητες</a></li>
</ul>
</li>
</ul>
</li>
-->
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"> Σύνδεσμοι<b class="caret"></b></a>
<ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
{{ range .Site.Data.main.links.hellug }}
<li class="dropdown">
<a tabindex="-1" href="{{ .url }}">{{ .name }}</a>
</li>
{{ end }}
<li class="dropdown-submenu">
<a tabindex="-1" href="#">Αρχείο</a>
<ul class="dropdown-menu">
{{ range .Site.Data.main.links.historical }}
<li><a tabindex="-1" href="{{ .url }}">{{ .name }}</a></li>
{{ end }}
</ul>
</li>
</ul>
</li>
</ul>
<ul class="nav navbar-nav navbar-right">
</ul>
</div><!-- /.navbar-collapse -->
</nav>

@ -1,3 +0,0 @@
<div align="center" style="margin:4px;">
<img src="/media/hellug.png">
</div>

@ -1 +0,0 @@
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}