diff --git a/config.yml b/config.yml index cf49a63..016b1f4 100644 --- a/config.yml +++ b/config.yml @@ -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 ####################################### diff --git a/scripts/build.sh b/scripts/build.sh index 619d935..8cb9adc 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -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 diff --git a/themes/oldtheme/layouts/partials/footer.html b/themes/oldtheme/layouts/partials/footer.html index 344fb1c..2a876c6 100644 --- a/themes/oldtheme/layouts/partials/footer.html +++ b/themes/oldtheme/layouts/partials/footer.html @@ -5,8 +5,8 @@ {{- else }} © Morgan ยท PaperMod