diff options
| author | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-24 06:41:01 +0200 |
|---|---|---|
| committer | Mitja Felicijan <mitja.felicijan@gmail.com> | 2023-05-24 06:41:01 +0200 |
| commit | c152c6b5a9a45be3b6a7c72fb4142662edd669a2 (patch) | |
| tree | 701433c83c3764ff1f0ff7dfb10d8437bd371fa7 /themes/simple/layouts/_default/notes.html | |
| parent | c7597a44c63db97f8a9615f20c56f8a7b103edcf (diff) | |
| download | mitjafelicijan.com-c152c6b5a9a45be3b6a7c72fb4142662edd669a2.tar.gz | |
Added tags
Diffstat (limited to 'themes/simple/layouts/_default/notes.html')
| -rw-r--r-- | themes/simple/layouts/_default/notes.html | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/themes/simple/layouts/_default/notes.html b/themes/simple/layouts/_default/notes.html index 1685542..268a1ce 100644 --- a/themes/simple/layouts/_default/notes.html +++ b/themes/simple/layouts/_default/notes.html | |||
| @@ -19,8 +19,23 @@ | |||
| 19 | <section> | 19 | <section> |
| 20 | {{ range (where .Site.RegularPages "Section" "notes") }} | 20 | {{ range (where .Site.RegularPages "Section" "notes") }} |
| 21 | <div class="mb-10"> | 21 | <div class="mb-10"> |
| 22 | <article class="mb-5 single" itemscope itemtype="http://schema.org/Article"> | 22 | <article class="mb-5 single note" itemscope itemtype="http://schema.org/Article"> |
| 23 | <h2 class="text-xl font-medium notes-heading">{{.Title}}</h2> | 23 | <h2 class="text-xl font-medium notes-heading">{{.Title}}</h2> |
| 24 | <p class="text-gray-600 _italic text-sm"> | ||
| 25 | <time datetime="{{ .Date.Format "2006-01-02" }}" itemprop="datePublished"> | ||
| 26 | {{ .Date.Format "Monday Jan 2, 2006" }} | ||
| 27 | </time> | ||
| 28 | |||
| 29 | {{ if .Params.tags }} | ||
| 30 | <span>with tags</span> | ||
| 31 | <span class="inline-flex flex-row gap-1"> | ||
| 32 | <span>(</span> | ||
| 33 | {{ range .Params.tags }} | ||
| 34 | <span>{{ . }}</span> | ||
| 35 | {{ end }} | ||
| 36 | <span>)</span> | ||
| 37 | </span> | ||
| 38 | {{ end }} | ||
| 24 | <div class="content"> | 39 | <div class="content"> |
| 25 | {{ .Content | safeHTML }} | 40 | {{ .Content | safeHTML }} |
| 26 | </div> | 41 | </div> |
