diff options
Diffstat (limited to '')
| -rw-r--r-- | themes/neonxp/layouts/page.html | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/themes/neonxp/layouts/page.html b/themes/neonxp/layouts/page.html deleted file mode 100644 index c28ab39..0000000 --- a/themes/neonxp/layouts/page.html +++ /dev/null @@ -1,50 +0,0 @@ -{{ define "main" }} -<article class="h-entry"> - <h1 class="p-name">{{ .Title }}</h1> - {{if .Date }} - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> - {{end}} - <div class="e-content"> - {{ .Content }} - </div> -</article> -<article> - {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }} -</article> -{{if .Param "comments"}} -<h2>Комментарии</h2> -{{ range $key, $comment := where .Site.Data.comments "subject" "eq" .Page.Permalink }} -<article> - <b>{{$comment.from_name}}:</b> - <p> - {{if $comment.date }} - {{ $dateMachine := $comment.date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := $comment.date | time.Format ":date_long" }} - <time class="dt-published" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time> - {{end}} - </p> - <p>{{$comment.body | safeHTML}}</p> - {{if $comment.body_signature}} - <details> - <summary>Подпись</summary> - <pre>{{$comment.body_signature| safeHTML}}</pre> - </details> - {{end}} -</article> -{{ else }} -<article>Комментариев пока нет.</article> -{{ end }} - -<article> - {{ $comment := (print "mailto:blog@neonxp.ru?subject=" .Page.Permalink | safeHTML) }} - Для отправки комментария достаточно отправить e-mail со своим комментарием - на адрес - <a href={{$comment}}>blog@neonxp.ru</a>, в теме нужно указать ссылку на - пост.<br /> - Или просто нажать кнопку ниже. Всё очень просто :)<br /> - <a class="btn-primary" href={{$comment}}>Написать комментарий</a> -</article> -{{end}} -{{ end }}
\ No newline at end of file |
