Fix
This commit is contained in:
parent
d4f2d2eeec
commit
b4cedc2d82
|
@ -23,7 +23,7 @@ params:
|
|||
icon: /favicon.png
|
||||
icon_inv: /favicon-inv.png
|
||||
iconHeight: 24
|
||||
buildDate: 2023-11-01_22:07:31
|
||||
buildDate: 1101_2207
|
||||
|
||||
#######################################
|
||||
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
sed -i.old "s/buildDate: [0-9]\+-[0-9]\+-[0-9]\+_[0-9]\+:[0-9]\+:[0-9]\+/buildDate: $(date +%Y-%m-%d_%H:%M:%S)/" config.yml
|
||||
echo buildDate: $(date +%Y-%m-%d_%H:%M:%S)
|
||||
sed -i.old "s/buildDate: [0-9]\+-[0-9]\+/buildDate: $(date +%m%d-%H%M)/" config.yml
|
||||
echo buildDate: $(date +%m%d-%H%M)
|
||||
hugo
|
||||
|
|
|
@ -5,8 +5,8 @@
|
|||
{{- else }}
|
||||
<a href="/admin/" style="text-decoration: none;">©</a> <span><a href="{{ "" | absLangURL }}">Morgan</a> · PaperMod</span>
|
||||
<div style="font-size: 10px;">
|
||||
<span style="">Ver.{{ site.Params.buildDate }} </span>
|
||||
<a href="#" id="theme-toggle">Toggle Dark Mode</a>
|
||||
<span style="font-size: 5px;">Build date: {{ site.Params.buildDate }}</span>
|
||||
{{- end }}
|
||||
</footer>
|
||||
{{- end }}
|
||||
|
|
Loading…
Reference in New Issue