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,41 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
<div align="center" style="margin:4px;">
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
</div>
|
||||
|
||||
<div id="column1">
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span><hr>
|
||||
<ul class="list-inline">
|
||||
{{ if .Params.eventdate }}
|
||||
<li class="list-inline-item"><b>📅</b> {{ dateFormat "Monday" .Params.eventdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.eventdate }}
|
||||
<li class="list-inline-item"><b>⏰</b> {{ dateFormat "15:04" .Params.eventdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.eventlocation }}
|
||||
<li class="list-inline-item"><b>🏛</b> {{ .Params.eventlocation }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<div id="content-area">
|
||||
|
||||
|
||||
|
||||
{{.Content}}
|
||||
|
||||
</div></div>
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
|
@ -1,8 +0,0 @@
|
|||
!{{ .Title }}
|
||||
|
||||
{{ .RawContent }}
|
||||
|
||||
{{ range .Pages.ByPublishDate.Reverse }}
|
||||
0{{ .Title }} {{ replace .RelPermalink "/gopher" "" 1}} hellug.gr 70
|
||||
{{ end }}
|
||||
|
|
@ -1,91 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
<div align="center" style="margin:4px;">
|
||||
{{ if .Params.bannertemplate }}
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
{{else}}
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
{{end}}
|
||||
</div>
|
||||
|
||||
<div id="column1">
|
||||
|
||||
{{.Content}}
|
||||
|
||||
<!-- Articles Section -->
|
||||
<div class="well well-lg">
|
||||
{{ $articlelimit := 5 }}
|
||||
{{ $articlenum := len .Pages }}
|
||||
{{ $counter := 0 }}
|
||||
{{ $recentpostlimit := (sub now.Unix 31536000 ) }}
|
||||
{{ range first $articlelimit .Pages }}
|
||||
{{ $counter = add $counter 1 }}
|
||||
{{ if eq $counter 1 }}
|
||||
<!-- First Post -->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
|
||||
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
|
||||
{{ if lt $recentpostlimit .Date.Unix }}
|
||||
<span class="label label-default">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 -->
|
|
@ -1,40 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
<div align="center" style="margin:4px;">
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
</div>
|
||||
|
||||
<div id="column1">
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span><hr>
|
||||
<ul class="list-inline">
|
||||
{{ if .Params.meetupdate }}
|
||||
<li class="list-inline-item"><b>📅</b> {{ dateFormat "Monday" .Params.meetupdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.meetupdate }}
|
||||
<li class="list-inline-item"><b>⏰</b> {{ dateFormat "15:04" .Params.meetupdate }}</li>
|
||||
{{ end }}
|
||||
{{ if .Params.meetuplocation }}
|
||||
<li class="list-inline-item"><b>🏛</b> {{ .Params.meetuplocation }}</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
<div id="content-area">
|
||||
|
||||
{{.Content}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
|
@ -1,30 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
<div align="center" style="margin:4px;">
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
</div>
|
||||
|
||||
<div id="column1">
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span><hr>
|
||||
<div id="content-area">
|
||||
|
||||
|
||||
|
||||
{{.Content}}
|
||||
|
||||
</div></div>
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
|
@ -1,30 +0,0 @@
|
|||
# {{ .Title }}{{ $scratch := newScratch }}
|
||||
{{ $content := .RawContent -}}
|
||||
{{ $content := $content | replaceRE `</tr>` "\n" -}}
|
||||
{{ $content := $content | replaceRE `<br/??>` "\n" -}}
|
||||
{{ $content := $content | replaceRE `<br??/??>` "\n" -}}
|
||||
{{ $content := $content | replaceRE `<a .*href="(.+?)".*>(.+?)</a>` "[$2]($1)" -}}
|
||||
{{ $content := $content | plainify -}}
|
||||
{{ $content := $content | replaceRE `#### ` "### " -}}
|
||||
{{ $content := $content | replaceRE `\n- (.+?)` "\n* $1" -}}
|
||||
{{ $content := $content | replaceRE `\n(\d+). (.+?)` "\n* $2" -}}
|
||||
{{ $content := $content | replaceRE `\[\^(.+?)\]:?` "" -}}
|
||||
{{ $content := $content | replaceRE `\sgemini://(\S*)` " [gemini://$1](gemini://$1)" -}}
|
||||
{{ $content := $content | replaceRE "([^`])<.*?>([^`])" "$1$2" -}}
|
||||
{{ $content := $content | replaceRE `\n\n!\[.*\]\((.+?) \"(.+?)\"\)` "\n\n=> $1 Image: $2" -}}
|
||||
{{ $content := $content | replaceRE `\n\n!\[.*]\((.+?)\)` "\n\n=> $1 Embedded Image: $1" -}}
|
||||
{{ $links := findRE `\n=> ` $content }}{{ $scratch.Set "ref" (add (len $links) 1) }}
|
||||
{{ $refs := findRE `\[.+?\]\(.+?\)` $content }}
|
||||
{{ $scratch.Set "content" $content }}{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $contentInLoop := $scratch.Get "content" }}{{ $url := (printf "%s #%d" . $ref) }}{{ $contentInLoop := replace $contentInLoop . $url -}}{{ $scratch.Set "content" $contentInLoop }}{{ $scratch.Set "ref" (add $ref 1) }}{{ end }}{{ $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1 [$3]" -}}
|
||||
{{ $content | safeHTML }}
|
||||
|
||||
|
||||
{{ $scratch.Set "ref" (add (len $links) 1) }}{{ if $refs }}
|
||||
## Παραπομπές
|
||||
{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $url := (printf "%s #%d" . $ref) }}
|
||||
=> {{ $url | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$2 [$3] $1 ($2)" -}}
|
||||
{{ $scratch.Set "ref" (add $ref 1) }}{{ end}}
|
||||
---{{end}}
|
||||
|
||||
=> / Αρχική
|
||||
=> https://www.hellug.gr{{ replace (replace .RelPermalink "/gemini" "" 1) "index.gmi" "" }} Έκδοση HTML - Web Page
|
|
@ -1,35 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
{{ if .Params.bannertemplate }}
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
{{else}}
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
{{end}}
|
||||
|
||||
<div id="column1">
|
||||
<div style="padding-left:10px;">
|
||||
<div class="section">
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<hr>
|
||||
<div id="content-area">
|
||||
|
||||
{{.Content}}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
39
layouts/_default/rss.xml
Κανονικό αρχείο
39
layouts/_default/rss.xml
Κανονικό αρχείο
|
@ -0,0 +1,39 @@
|
|||
{{- $pctx := . -}}
|
||||
{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}}
|
||||
{{- $pages := slice -}}
|
||||
{{- if or $.IsHome $.IsSection -}}
|
||||
{{- $pages = $pctx.RegularPages -}}
|
||||
{{- else -}}
|
||||
{{- $pages = $pctx.Pages -}}
|
||||
{{- end -}}
|
||||
{{- $limit := .Site.Config.Services.RSS.Limit -}}
|
||||
{{- if ge $limit 1 -}}
|
||||
{{- $pages = $pages | first $limit -}}
|
||||
{{- end -}}
|
||||
{{- printf "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>" | safeHTML }}
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<description>Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
|
||||
<generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
|
||||
<language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
|
||||
<managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
|
||||
<webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
|
||||
<copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
|
||||
<lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
|
||||
{{- with .OutputFormats.Get "RSS" -}}
|
||||
{{ printf "<atom:link href=%q rel=\"self\" type=%q />" .Permalink .MediaType | safeHTML }}
|
||||
{{- end -}}
|
||||
{{ range $pages }}
|
||||
<item>
|
||||
<title>{{ .Title }}</title>
|
||||
<link>{{ .Permalink }}</link>
|
||||
<pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
|
||||
{{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
|
||||
<guid>{{ .Permalink }}</guid>
|
||||
<description>{{ .Content | html }}</description>
|
||||
</item>
|
||||
{{ end }}
|
||||
</channel>
|
||||
</rss>
|
|
@ -1,33 +0,0 @@
|
|||
# {{ .Title }} - {{ dateFormat "02/01/2006" .Date }}{{ $scratch := newScratch }}
|
||||
{{ $content := .RawContent -}}
|
||||
{{ $content := $content | replaceRE "<br/??>" "\n" -}}
|
||||
{{ $content := $content | replaceRE "<br??/??>" "\n" -}}
|
||||
{{ $content := $content | replaceRE "<tr>" "\n" -}}
|
||||
{{ $content := $content | replaceRE `<a .*href="(.+?)".*>(.+?)</a>` "[$2]($1)" -}}
|
||||
{{ $content := $content | plainify -}}
|
||||
{{ $content := $content | replaceRE `#### ` "### " -}}
|
||||
{{ $content := $content | replaceRE `\n- (.+?)` "\n* $1" -}}
|
||||
{{ $content := $content | replaceRE `\n(\d+). (.+?)` "\n* $2" -}}
|
||||
{{ $content := $content | replaceRE `\[\^(.+?)\]:?` "" -}}
|
||||
{{ $content := $content | replaceRE `\sgemini://(\S*)` " [gemini://$1](gemini://$1)" -}}
|
||||
{{ $content := $content | replaceRE `([^"])<.*?>([^"])` "$1$2" -}}
|
||||
{{ $content := $content | replaceRE `\n\n!\[.*\]\((.+?) \"(.+?)\"\)` "\n\n=> $1 Image: $2" -}}
|
||||
{{ $content := $content | replaceRE `\n\n!\[.*]\((.+?)\)` "\n\n=> $1 Embedded Image: $1" -}}
|
||||
{{ $links := findRE "\n=> " $content }}{{ $scratch.Set "ref" (add (len $links) 1) }}
|
||||
{{ $refs := findRE `\[.+?\]\(.+?\)` $content }}
|
||||
{{ $scratch.Set "content" $content }}{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $contentInLoop := $scratch.Get "content" }}{{ $url := (printf "%s #%d" . $ref) }}{{ $contentInLoop := replace $contentInLoop . $url -}}{{ $scratch.Set "content" $contentInLoop }}{{ $scratch.Set "ref" (add $ref 1) }}{{ end }}{{ $content := $scratch.Get "content" | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$1 [$3]" -}}
|
||||
{{ $content | safeHTML }}
|
||||
|
||||
---
|
||||
{{ $scratch.Set "ref" (add (len $links) 1) }}{{ if $refs }}
|
||||
## Παραπομπές
|
||||
{{ range $refs }}{{ $ref := $scratch.Get "ref" }}{{ $url := (printf "%s #%d" . $ref) }}
|
||||
=> {{ $url | replaceRE `\[(.+?)\]\((.+?)\) #(\d+)` "$2 [$3] $1 ($2)" -}}
|
||||
{{ $scratch.Set "ref" (add $ref 1) }}{{ end}}---{{end}}
|
||||
|
||||
{{ if .Next }}=> {{ replace .Next.RelPermalink "/gemini" "" 1}} ← Νεότερο: {{ dateFormat "02/01/2006" .Next.Date }} - {{ .Next.Title }}{{ end }}
|
||||
{{ if .Prev -}}=> {{ replace .Prev.RelPermalink "/gemini" "" 1}} → Παλαιότερο: {{ dateFormat "02/01/2006" .Prev.Date }} - {{ .Prev.Title }}{{- end }}
|
||||
|
||||
=> / Αρχική
|
||||
=> https://www.hellug.gr{{ replace (replace .RelPermalink "/gemini" "" 1) "index.gmi" "" }} Έκδοση HTML - Web Page
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
# {{ .Title }}
|
||||
|
||||
{{ .Date.Format (.Site.Params.dateform | default "January 2006") }}
|
||||
{{ .RawContent }}
|
|
@ -1,23 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
<div align="center" style="margin:4px;">
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
</div>
|
||||
|
||||
<div id="column1">
|
||||
|
||||
{{.Content}}
|
||||
|
||||
</div></div>
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
|
@ -1,87 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
<div align="center" style="margin:4px;">
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
</div>
|
||||
|
||||
<div id="column1">
|
||||
|
||||
{{.Content}}
|
||||
|
||||
<!-- Articles Section -->
|
||||
<div class="well well-lg">
|
||||
{{ $articlelimit := 5 }}
|
||||
{{ $articlenum := len .Pages }}
|
||||
{{ $counter := 0 }}
|
||||
{{ $lastyear := (sub now.Unix 31536000 ) }}
|
||||
{{ range first $articlelimit .Pages }}
|
||||
{{ $counter = add $counter 1 }}
|
||||
{{ if eq $counter 1 }}
|
||||
<!-- First Post -->
|
||||
<div class="panel panel-primary">
|
||||
<div class="panel-heading">
|
||||
<h3 class="panel-title"><a href="{{.Permalink}}">{{ .Title }}</a>
|
||||
<span class="article-date">{{ dateFormat "02/01/2006" .Date }}</span>
|
||||
{{ if lt $lastyear .Date.Unix }}
|
||||
<span class="label label-default">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 -->
|
|
@ -1,36 +0,0 @@
|
|||
{{ partial "head.html" . }}
|
||||
<!-- Header Start -->
|
||||
{{ partial "header.html" . }}
|
||||
<!-- Header End -->
|
||||
|
||||
<div class="pagewrap">
|
||||
{{ if .Params.bannertemplate }}
|
||||
{{ partial .Params.bannertemplate . }}
|
||||
{{else}}
|
||||
{{ partial "hellug-banner.html" . }}
|
||||
{{end}}
|
||||
|
||||
<div id="column1">
|
||||
<div style="padding-left:10px;">
|
||||
<div class="section">
|
||||
{{ partial "breadcrump.html"}}
|
||||
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
<hr>
|
||||
<div id="content-area">
|
||||
|
||||
{{.Content}}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Column 2 start -->
|
||||
{{ partial "column2.html" . }}
|
||||
<!-- Column 2 end -->
|
||||
</div>
|
||||
<!-- Footer Start -->
|
||||
{{ partial "footer.html" . }}
|
||||
<!-- Footer End -->
|
Φόρτωση…
Προσθήκη πίνακα
Προσθήκη υπερσυνδέσμου
Παράθεση σε νέο ζήτημα