times problem on script execution from hugo

This commit is contained in:
Sean Dockray 2020-06-04 22:59:03 +10:00
parent 52afc04fb6
commit 8312d274bb
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def hugo(hugo_site_path, dest, hugo_environment='gitea', base_url=None):
if base_url:
env["HUGO_PARAMS_BASEURL"] = base_url
# run the hugo command
hugo_output = cmd(['hugo', '-e', hugo_environment, '-d', dest], cwd=hugo_site_path, env=env)
hugo_output = cmd(['hugo', '-e', hugo_environment, '-d', dest, '--noTimes'], cwd=hugo_site_path, env=env)
def get_record_text(post):