minor fixes to gemini site
Αυτό το commit περιλαμβάνεται σε:
γονέας
8015482e58
commit
a0067ac32f
2 αρχεία άλλαξαν με 5 προσθήκες και 5 διαγραφές
|
@ -1,4 +1,4 @@
|
|||
# {{ .Title }}{{ $scratch := newScratch }}
|
||||
# {{ .Title }} - {{ dateFormat "02/01/2006" .Date }}{{ $scratch := newScratch }}
|
||||
{{ $content := .RawContent -}}
|
||||
{{ $content := $content | replaceRE "<br/??>" "\n" -}}
|
||||
{{ $content := $content | replaceRE "<br??/??>" "\n" -}}
|
||||
|
@ -25,8 +25,8 @@
|
|||
=> {{ $url | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$2 [$3] $1 ($2)" -}}
|
||||
{{ $scratch.Set "ref" (add $ref 1) }}{{ end}}---{{end}}
|
||||
|
||||
{{ if .Next }}=> {{ replace .Next.RelPermalink "/gemini" "" 1}} ← Νεότερο: {{ .Next.Title }}{{ end }}
|
||||
{{ if .Prev -}}=> {{ replace .Prev.RelPermalink "/gemini" "" 1}} → Παλαιότερο: {{ .Prev.Title }}{{- 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
|
||||
|
|
|
@ -26,6 +26,6 @@ This is the Gemini Capsule of the Hellenic Linux User Group.
|
|||
|
||||
## Νέα Άρθρα - 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 .URL "/gemini" "" 1}} {{ .Title }}
|
||||
{{ else }}=> {{ replace .URL "/gemini" "" 1}} {{ .Title }}
|
||||
{{ $counter := 0 }}{{ $pages := .Site.RegularPages }}{{ $recentpostlimit := (sub now.Unix 2592000 ) }}{{ range first 15 $pages }}{{ $counter = add $counter 1 }}{{ if eq $counter 1 }}=> {{ replace .URL "/gemini" "" 1}} {{ dateFormat "02/01/2006" .Date }} - {{ .Title }}
|
||||
{{ else }}=> {{ replace .URL "/gemini" "" 1}} {{ dateFormat "02/01/2006" .Date }} - {{ .Title }}
|
||||
{{ end }}{{ end }}
|
||||
|
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα