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 διαγραφές
|
@ -1,6 +1,7 @@
|
|||
baseURL = "https://www.hellug.gr/"
|
||||
languageCode = "en-us"
|
||||
title = "HELLUG"
|
||||
theme = "hellug-bootstrap"
|
||||
disableHugoGeneratorInject = true
|
||||
|
||||
[mediaTypes."text/gemini"]
|
||||
|
@ -58,3 +59,8 @@ page = [ "HTML", "GEMINI", "gopher"]
|
|||
identifier = "linux"
|
||||
name = "Linux"
|
||||
weight = -70
|
||||
|
||||
[[menu.main]]
|
||||
identifier = "contact"
|
||||
name = "Επαφή"
|
||||
weight = -60
|
||||
|
|
|
@ -8,7 +8,7 @@ tags: [Επικοινωνία]
|
|||
peri-hellug: [epikoinonia-1]
|
||||
menu:
|
||||
main:
|
||||
parent: "peri-hellug"
|
||||
parent: "contact"
|
||||
weight: 5
|
||||
---
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<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") }}
|
||||
{{ range first 3 (index .Site.Taxonomies.draseis "meetups") }}
|
||||
{{ if .Params.meetupdate }}
|
||||
{{ $meetuptime := time .Params.meetupdate }}
|
||||
{{ $meetuptimeunix := add $meetuptime.Unix 86400 }}
|
39
layouts/_default/rss.xml
Κανονικό αρχείο
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>
|
|
@ -7,7 +7,6 @@
|
|||
|
||||
#main
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
#footer-wrapper
|
||||
|
@ -98,6 +97,7 @@ div.footer ul.site-map ul li {
|
|||
|
||||
.navbar
|
||||
{
|
||||
font-family: arial, sans-serif;
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
|
|
20
themes/hellug-bootstrap/LICENSE
Κανονικό αρχείο
20
themes/hellug-bootstrap/LICENSE
Κανονικό αρχείο
|
@ -0,0 +1,20 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2022 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2
themes/hellug-bootstrap/archetypes/default.md
Κανονικό αρχείο
2
themes/hellug-bootstrap/archetypes/default.md
Κανονικό αρχείο
|
@ -0,0 +1,2 @@
|
|||
+++
|
||||
+++
|
9
themes/hellug-bootstrap/layouts/404.html
Κανονικό αρχείο
9
themes/hellug-bootstrap/layouts/404.html
Κανονικό αρχείο
|
@ -0,0 +1,9 @@
|
|||
{{ 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>
|
41
themes/hellug-bootstrap/layouts/_default/events.html
Κανονικό αρχείο
41
themes/hellug-bootstrap/layouts/_default/events.html
Κανονικό αρχείο
|
@ -0,0 +1,41 @@
|
|||
{{ 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 -->
|
8
themes/hellug-bootstrap/layouts/_default/list.gopher.txt
Κανονικό αρχείο
8
themes/hellug-bootstrap/layouts/_default/list.gopher.txt
Κανονικό αρχείο
|
@ -0,0 +1,8 @@
|
|||
!{{ .Title }}
|
||||
|
||||
{{ .RawContent }}
|
||||
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
0{{ .Title }} {{ replace .RelPermalink "/gopher" "" 1}} hellug.gr 70
|
||||
{{ end }}
|
||||
|
91
themes/hellug-bootstrap/layouts/_default/list.html
Κανονικό αρχείο
91
themes/hellug-bootstrap/layouts/_default/list.html
Κανονικό αρχείο
|
@ -0,0 +1,91 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
40
themes/hellug-bootstrap/layouts/_default/meetups.html
Κανονικό αρχείο
40
themes/hellug-bootstrap/layouts/_default/meetups.html
Κανονικό αρχείο
|
@ -0,0 +1,40 @@
|
|||
{{ 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 -->
|
30
themes/hellug-bootstrap/layouts/_default/news.html
Κανονικό αρχείο
30
themes/hellug-bootstrap/layouts/_default/news.html
Κανονικό αρχείο
|
@ -0,0 +1,30 @@
|
|||
{{ 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 -->
|
30
themes/hellug-bootstrap/layouts/_default/pages.gmi
Κανονικό αρχείο
30
themes/hellug-bootstrap/layouts/_default/pages.gmi
Κανονικό αρχείο
|
@ -0,0 +1,30 @@
|
|||
# {{ .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
|
35
themes/hellug-bootstrap/layouts/_default/pages.html
Κανονικό αρχείο
35
themes/hellug-bootstrap/layouts/_default/pages.html
Κανονικό αρχείο
|
@ -0,0 +1,35 @@
|
|||
{{ 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 -->
|
33
themes/hellug-bootstrap/layouts/_default/single.gmi
Κανονικό αρχείο
33
themes/hellug-bootstrap/layouts/_default/single.gmi
Κανονικό αρχείο
|
@ -0,0 +1,33 @@
|
|||
# {{ .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
|
||||
|
4
themes/hellug-bootstrap/layouts/_default/single.gopher.txt
Κανονικό αρχείο
4
themes/hellug-bootstrap/layouts/_default/single.gopher.txt
Κανονικό αρχείο
|
@ -0,0 +1,4 @@
|
|||
# {{ .Title }}
|
||||
|
||||
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}
|
||||
{{ .RawContent }}
|
23
themes/hellug-bootstrap/layouts/_default/single.html
Κανονικό αρχείο
23
themes/hellug-bootstrap/layouts/_default/single.html
Κανονικό αρχείο
|
@ -0,0 +1,23 @@
|
|||
{{ 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 -->
|
87
themes/hellug-bootstrap/layouts/_default/terms.html
Κανονικό αρχείο
87
themes/hellug-bootstrap/layouts/_default/terms.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
36
themes/hellug-bootstrap/layouts/_default/tests.html
Κανονικό αρχείο
36
themes/hellug-bootstrap/layouts/_default/tests.html
Κανονικό αρχείο
|
@ -0,0 +1,36 @@
|
|||
{{ 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 -->
|
87
themes/hellug-bootstrap/layouts/draseis/draseis.event.html
Κανονικό αρχείο
87
themes/hellug-bootstrap/layouts/draseis/draseis.event.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
87
themes/hellug-bootstrap/layouts/draseis/list.html
Κανονικό αρχείο
87
themes/hellug-bootstrap/layouts/draseis/list.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
67
themes/hellug-bootstrap/layouts/draseis/terms.html
Κανονικό αρχείο
67
themes/hellug-bootstrap/layouts/draseis/terms.html
Κανονικό αρχείο
|
@ -0,0 +1,67 @@
|
|||
{{ 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">Nέο</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 -->
|
40
themes/hellug-bootstrap/layouts/index.gmi
Κανονικό αρχείο
40
themes/hellug-bootstrap/layouts/index.gmi
Κανονικό αρχείο
|
@ -0,0 +1,40 @@
|
|||
```
|
||||
.--.
|
||||
|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 }}
|
35
themes/hellug-bootstrap/layouts/index.gopher.txt
Κανονικό αρχείο
35
themes/hellug-bootstrap/layouts/index.gopher.txt
Κανονικό αρχείο
|
@ -0,0 +1,35 @@
|
|||
.--. _ _ ______ _ _ _ _ _____
|
||||
|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 }}
|
69
themes/hellug-bootstrap/layouts/index.html
Κανονικό αρχείο
69
themes/hellug-bootstrap/layouts/index.html
Κανονικό αρχείο
|
@ -0,0 +1,69 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
||||
|
7
themes/hellug-bootstrap/layouts/partials/breadcrump.html
Κανονικό αρχείο
7
themes/hellug-bootstrap/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-bootstrap/layouts/partials/carousel.html
Κανονικό αρχείο
18
themes/hellug-bootstrap/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-bootstrap/layouts/partials/column2.html
Κανονικό αρχείο
71
themes/hellug-bootstrap/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>
|
49
themes/hellug-bootstrap/layouts/partials/footer.html
Κανονικό αρχείο
49
themes/hellug-bootstrap/layouts/partials/footer.html
Κανονικό αρχείο
|
@ -0,0 +1,49 @@
|
|||
<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>
|
20
themes/hellug-bootstrap/layouts/partials/head.html
Κανονικό αρχείο
20
themes/hellug-bootstrap/layouts/partials/head.html
Κανονικό αρχείο
|
@ -0,0 +1,20 @@
|
|||
<!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">
|
87
themes/hellug-bootstrap/layouts/partials/header.html
Κανονικό αρχείο
87
themes/hellug-bootstrap/layouts/partials/header.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
|
||||
<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>
|
3
themes/hellug-bootstrap/layouts/partials/hellug-banner.html
Κανονικό αρχείο
3
themes/hellug-bootstrap/layouts/partials/hellug-banner.html
Κανονικό αρχείο
|
@ -0,0 +1,3 @@
|
|||
<div align="center" style="margin:4px;">
|
||||
<img src="/media/hellug.png">
|
||||
</div>
|
0
themes/hellug-bootstrap/layouts/partials/null.html
Κανονικό αρχείο
0
themes/hellug-bootstrap/layouts/partials/null.html
Κανονικό αρχείο
1
themes/hellug-bootstrap/layouts/partials/rss.html
Κανονικό αρχείο
1
themes/hellug-bootstrap/layouts/partials/rss.html
Κανονικό αρχείο
|
@ -0,0 +1 @@
|
|||
{{ with .OutputFormats.Get "RSS" }}{{ .RelPermalink }}{{ end }}
|
21
themes/hellug-bootstrap/theme.toml
Κανονικό αρχείο
21
themes/hellug-bootstrap/theme.toml
Κανονικό αρχείο
|
@ -0,0 +1,21 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||
|
||||
name = "Hellug Bootstrap"
|
||||
license = "MIT"
|
||||
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||
description = ""
|
||||
homepage = "http://example.com/"
|
||||
tags = []
|
||||
features = []
|
||||
min_version = "0.41.0"
|
||||
|
||||
[author]
|
||||
name = ""
|
||||
homepage = ""
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = ""
|
||||
homepage = ""
|
||||
repo = ""
|
9
themes/hellug-minimal-2/layouts/404.html
Κανονικό αρχείο
9
themes/hellug-minimal-2/layouts/404.html
Κανονικό αρχείο
|
@ -0,0 +1,9 @@
|
|||
{{ 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>
|
41
themes/hellug-minimal-2/layouts/_default/events.html
Κανονικό αρχείο
41
themes/hellug-minimal-2/layouts/_default/events.html
Κανονικό αρχείο
|
@ -0,0 +1,41 @@
|
|||
{{ 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 -->
|
8
themes/hellug-minimal-2/layouts/_default/list.gopher.txt
Κανονικό αρχείο
8
themes/hellug-minimal-2/layouts/_default/list.gopher.txt
Κανονικό αρχείο
|
@ -0,0 +1,8 @@
|
|||
!{{ .Title }}
|
||||
|
||||
{{ .RawContent }}
|
||||
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
0{{ .Title }} {{ replace .RelPermalink "/gopher" "" 1}} hellug.gr 70
|
||||
{{ end }}
|
||||
|
91
themes/hellug-minimal-2/layouts/_default/list.html
Κανονικό αρχείο
91
themes/hellug-minimal-2/layouts/_default/list.html
Κανονικό αρχείο
|
@ -0,0 +1,91 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
40
themes/hellug-minimal-2/layouts/_default/meetups.html
Κανονικό αρχείο
40
themes/hellug-minimal-2/layouts/_default/meetups.html
Κανονικό αρχείο
|
@ -0,0 +1,40 @@
|
|||
{{ 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 -->
|
30
themes/hellug-minimal-2/layouts/_default/news.html
Κανονικό αρχείο
30
themes/hellug-minimal-2/layouts/_default/news.html
Κανονικό αρχείο
|
@ -0,0 +1,30 @@
|
|||
{{ 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 -->
|
30
themes/hellug-minimal-2/layouts/_default/pages.gmi
Κανονικό αρχείο
30
themes/hellug-minimal-2/layouts/_default/pages.gmi
Κανονικό αρχείο
|
@ -0,0 +1,30 @@
|
|||
# {{ .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
|
35
themes/hellug-minimal-2/layouts/_default/pages.html
Κανονικό αρχείο
35
themes/hellug-minimal-2/layouts/_default/pages.html
Κανονικό αρχείο
|
@ -0,0 +1,35 @@
|
|||
{{ 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 -->
|
33
themes/hellug-minimal-2/layouts/_default/single.gmi
Κανονικό αρχείο
33
themes/hellug-minimal-2/layouts/_default/single.gmi
Κανονικό αρχείο
|
@ -0,0 +1,33 @@
|
|||
# {{ .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
|
||||
|
4
themes/hellug-minimal-2/layouts/_default/single.gopher.txt
Κανονικό αρχείο
4
themes/hellug-minimal-2/layouts/_default/single.gopher.txt
Κανονικό αρχείο
|
@ -0,0 +1,4 @@
|
|||
# {{ .Title }}
|
||||
|
||||
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}
|
||||
{{ .RawContent }}
|
23
themes/hellug-minimal-2/layouts/_default/single.html
Κανονικό αρχείο
23
themes/hellug-minimal-2/layouts/_default/single.html
Κανονικό αρχείο
|
@ -0,0 +1,23 @@
|
|||
{{ 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 -->
|
87
themes/hellug-minimal-2/layouts/_default/terms.html
Κανονικό αρχείο
87
themes/hellug-minimal-2/layouts/_default/terms.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
36
themes/hellug-minimal-2/layouts/_default/tests.html
Κανονικό αρχείο
36
themes/hellug-minimal-2/layouts/_default/tests.html
Κανονικό αρχείο
|
@ -0,0 +1,36 @@
|
|||
{{ 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 -->
|
87
themes/hellug-minimal-2/layouts/draseis/draseis.event.html
Κανονικό αρχείο
87
themes/hellug-minimal-2/layouts/draseis/draseis.event.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
87
themes/hellug-minimal-2/layouts/draseis/list.html
Κανονικό αρχείο
87
themes/hellug-minimal-2/layouts/draseis/list.html
Κανονικό αρχείο
|
@ -0,0 +1,87 @@
|
|||
{{ 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">Nέο</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">Nέο</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 -->
|
67
themes/hellug-minimal-2/layouts/draseis/terms.html
Κανονικό αρχείο
67
themes/hellug-minimal-2/layouts/draseis/terms.html
Κανονικό αρχείο
|
@ -0,0 +1,67 @@
|
|||
{{ 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">Nέο</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 -->
|
42
themes/hellug-minimal-2/layouts/index.html
Κανονικό αρχείο
42
themes/hellug-minimal-2/layouts/index.html
Κανονικό αρχείο
|
@ -0,0 +1,42 @@
|
|||
{{ partial "head.html" . }}
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
|
||||
<!-- Main View -->
|
||||
{{.Content}}
|
||||
|
||||
<!-- Articles Section -->
|
||||
{{ $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> {{ dateFormat "02/01/2006" .Date }} {{ if lt $recentpostlimit .Date.Unix }}Nέο
|
||||
{{ end }}
|
||||
</h3>
|
||||
<p>{{ .Summary | plainify | safeHTML }}</p>
|
||||
<!-- First Post End -->
|
||||
{{ else }}
|
||||
<h3><a href="{{.Permalink}}">{{ .Title }}</a>
|
||||
{{ dateFormat "02/01/2006" .Date }}
|
||||
{{ if lt $recentpostlimit .Date.Unix }}
|
||||
Nέο {{ end }}</h3>
|
||||
<p>{{ .Summary }}</p>
|
||||
{{ end}}
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
||||
<!-- End Articles Section -->
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
||||
|
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 }}
|
11
themes/hellug-minimal-2/theme.toml
Κανονικό αρχείο
11
themes/hellug-minimal-2/theme.toml
Κανονικό αρχείο
|
@ -0,0 +1,11 @@
|
|||
name = "hellug-minimal"
|
||||
license = "GPL-2"
|
||||
description = "hellug minimal/compatible UI."
|
||||
homepage = "https://dev.hellug.gr"
|
||||
tags = ["blog","simple","responsive","minimal","tags","personal","clean","shortcodes"]
|
||||
features = ["blog", "Clean and minimal", "Responsive", "Syntax highlighting",]
|
||||
min_version = "0.41"
|
||||
|
||||
[author]
|
||||
name = "Hellug Devs"
|
||||
homepage = "https://dev.hellug.gr"
|
20
themes/hellug-minimal/LICENSE
Κανονικό αρχείο
20
themes/hellug-minimal/LICENSE
Κανονικό αρχείο
|
@ -0,0 +1,20 @@
|
|||
The MIT License (MIT)
|
||||
|
||||
Copyright (c) 2022 YOUR_NAME_HERE
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||
this software and associated documentation files (the "Software"), to deal in
|
||||
the Software without restriction, including without limitation the rights to
|
||||
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||
subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included in all
|
||||
copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
2
themes/hellug-minimal/archetypes/default.md
Κανονικό αρχείο
2
themes/hellug-minimal/archetypes/default.md
Κανονικό αρχείο
|
@ -0,0 +1,2 @@
|
|||
+++
|
||||
+++
|
0
themes/hellug-minimal/layouts/404.html
Κανονικό αρχείο
0
themes/hellug-minimal/layouts/404.html
Κανονικό αρχείο
11
themes/hellug-minimal/layouts/_default/baseof.html
Κανονικό αρχείο
11
themes/hellug-minimal/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/layouts/_default/events.html
Κανονικό αρχείο
32
themes/hellug-minimal/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/layouts/_default/list.html
Κανονικό αρχείο
64
themes/hellug-minimal/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/layouts/_default/meetups.html
Κανονικό αρχείο
36
themes/hellug-minimal/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 -->
|
Ορισμένα αρχεία δεν εμφανίστηκαν επειδή έχουν αλλάξει πάρα πολλά αρχεία σε αυτή τη διαφορά Εμφάνιση περισσότερων
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα