mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-11 03:25:33 +01:00
Timestamps & post info
This commit is contained in:
parent
2f0dbc2230
commit
fd8ba0bdd2
5 changed files with 52 additions and 49 deletions
|
@ -11,7 +11,7 @@ canonifyURLs = true
|
||||||
relativeURLs = true
|
relativeURLs = true
|
||||||
|
|
||||||
enableRobotsTXT = true
|
enableRobotsTXT = true
|
||||||
enableGitInfo = false
|
enableGitInfo = true
|
||||||
enableEmoji = true
|
enableEmoji = true
|
||||||
disableRSS = false
|
disableRSS = false
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Oops!
|
title: Oops!
|
||||||
emoji: 😰
|
emoji: 😰
|
||||||
|
type: site-infra
|
||||||
|
_build:
|
||||||
|
list: never
|
||||||
---
|
---
|
||||||
|
|
||||||
Something went wrong while trying to register your donation. If you weren't using the form on the [thanks page](../thanks/) then please try there, otherwise please [reach out to me by email](../standing-invitation/).
|
Something went wrong while trying to register your donation. If you weren't using the form on the [thanks page](../thanks/) then please try there, otherwise please [reach out to me by email](../standing-invitation/).
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
---
|
---
|
||||||
title: Thank you!
|
title: Thank you!
|
||||||
emoji: 🙇♂️
|
emoji: 🙇♂️
|
||||||
|
type: site-infra
|
||||||
|
_build:
|
||||||
|
list: never
|
||||||
---
|
---
|
||||||
|
|
||||||
Thank you so much! It makes me _enormously_ happy that you're appreciating my work, and doubly so that you're willing to share what you have with others on my behalf.
|
Thank you so much! It makes me _enormously_ happy that you're appreciating my work, and doubly so that you're willing to share what you have with others on my behalf.
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
---
|
---
|
||||||
title: "Friends online"
|
title: "Friends online"
|
||||||
emoji: 🫶
|
emoji: 🫶
|
||||||
date: 2023-03-01T09:12:37-03:00
|
|
||||||
draft: false
|
draft: false
|
||||||
type: timeless
|
type: timeless
|
||||||
---
|
---
|
||||||
|
|
|
@ -63,6 +63,7 @@
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
|
||||||
|
{{ if ne .Type "site-infra" }}
|
||||||
<div class="post-info">
|
<div class="post-info">
|
||||||
{{ partial "tags.html" .Params.tags }}
|
{{ partial "tags.html" .Params.tags }}
|
||||||
{{ partial "series-tags.html" . }}
|
{{ partial "series-tags.html" . }}
|
||||||
|
@ -85,6 +86,11 @@
|
||||||
</p>
|
</p>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if .Lastmod }}
|
||||||
|
{{ $date := .Date}}
|
||||||
|
{{ if not .Date }}
|
||||||
|
{{ $date = .Lastmod }}
|
||||||
|
{{ end }}
|
||||||
<p>
|
<p>
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar">
|
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar">
|
||||||
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
<rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect>
|
||||||
|
@ -92,24 +98,15 @@
|
||||||
<line x1="8" y1="2" x2="8" y2="6"></line>
|
<line x1="8" y1="2" x2="8" y2="6"></line>
|
||||||
<line x1="3" y1="10" x2="21" y2="10"></line>
|
<line x1="3" y1="10" x2="21" y2="10"></line>
|
||||||
</svg>
|
</svg>
|
||||||
<date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" .Date }}" class="dt-published">
|
<date datetime="{{ dateFormat "2006-01-02T15:04:05-0700" $date }}" class="dt-published">
|
||||||
{{ if .Site.Params.dateformNumTime }}
|
{{ if .Site.Params.dateformNumTime }}
|
||||||
{{ dateFormat .Site.Params.dateformNumTime .Date }}
|
{{ dateFormat .Site.Params.dateformNumTime $date }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ dateFormat "2006-01-02 15:04" .Date }}
|
{{ dateFormat "2006-01-02 15:04" $date }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</date>
|
</date>
|
||||||
|
|
||||||
{{ if .Lastmod }}
|
|
||||||
{{ if not (eq .Lastmod .Date )}}
|
|
||||||
{{ if .Site.Params.dateformNumTime }}
|
|
||||||
({{ i18n "lastModified" }}: {{ dateFormat .Site.Params.dateformNumTime .Lastmod.Local }})
|
|
||||||
{{ else }}
|
|
||||||
({{ i18n "lastModified" }}: {{ dateFormat "2006-01-02 15:04" .Lastmod.Local }})
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
{{ end }}
|
|
||||||
</p>
|
</p>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
|
@ -118,6 +115,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ partial "pagination-single.html" . }}
|
{{ partial "pagination-single.html" . }}
|
||||||
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Page.Store.Get "hasMermaid" }}
|
{{ if .Page.Store.Get "hasMermaid" }}
|
||||||
<script src="/js/mermaid.js"></script>
|
<script src="/js/mermaid.js"></script>
|
||||||
|
|
Loading…
Reference in a new issue