Fix: remove submodule

This commit is contained in:
psychhim
2025-11-11 18:07:05 +05:30
parent ea7284b910
commit 27a08b46f6
111 changed files with 4844 additions and 4 deletions

View File

@@ -0,0 +1,5 @@
{{- /* Used by home.html, single.html, list.html */ -}}
{{- partial "main/dates/date.html" . }}
{{- if ne .Date .Lastmod }}
{{- partial "main/dates/lastmod_wrapper.html" . }}
{{- end }}

View File

@@ -0,0 +1,3 @@
{{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" -}}
{{- $dateHuman := .Date | time.Format (or site.Params.dateFormat "2006-01-02") -}}
<time class="published-date" datetime="{{ $dateMachine }}">{{ $dateHuman }}</time>

View File

@@ -0,0 +1,3 @@
{{- $lastmodMachine := .Lastmod | time.Format "2006-01-02T15:04:05-07:00" -}}
{{- $lastmodHuman := .Lastmod | time.Format (or site.Params.dateFormat "2006-01-02") -}}
<time class="lastmod-date" datetime="{{ $lastmodMachine }}">{{ i18n "lastmodWrapper" (dict "lastmod" $lastmodHuman) }}</time>