From 72b8acdbc5b33df3787b5cec7ae1d41a245e1c70 Mon Sep 17 00:00:00 2001 From: Francesco Date: Mon, 22 Apr 2024 15:13:47 +0200 Subject: Theme Update --- layouts/_default/single.html | 62 +++++++++++++++++++++++--------------------- 1 file changed, 33 insertions(+), 29 deletions(-) (limited to 'layouts/_default') diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b68da6c..9a478f7 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,44 +2,48 @@ {{/* Intro */}} -
+
- {{/* Title and Summary */}} +
-

{{ .Title }}

- {{if .Param "summary" }} -

{{ .Summary }}

- {{ end }} + {{/* Title and Summary */}} - {{/* Reading Time */}} +

{{ .Title }}

+ {{if .Param "summary" }} +

{{ .Summary }}

+ {{ end }} -

- {{if .Date }} - {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - - - - {{end}} - {{if (.Param "readTime")}} - {{.ReadingTime}} min - {{end }} -

+ {{/* Reading Time */}} -
+

+ {{if .Date }} + {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} + {{ $dateHuman := .Date | time.Format ":date_long" }} + + - + {{end}} + {{if (.Param "readTime")}} + {{.ReadingTime}} min + {{end }} +

+ +
-{{/* Table of Content */}} + {{/* Table of Content */}} + + {{if .Param "toc" }} + + {{ end }} -{{if .Param "toc" }} - -{{ end }} + {{/* Actual document content */}} -{{/* Actual document content */}} +
+ {{ .Content }} +
-
- {{ .Content }}
{{ end }} \ No newline at end of file -- cgit v1.2.3