From 4afd2295286c00bb163325ecf8cf94847ada9ac4 Mon Sep 17 00:00:00 2001 From: Jake Jarvis Date: Fri, 21 Jun 2019 10:47:27 -0400 Subject: [PATCH] enableGitInfo messed up sitemap.xml timestamps and google SERPs --- .gitlab-ci.yml | 2 +- config.toml | 2 +- content/_index.md | 2 +- layouts/partials/footer.html | 2 -- 4 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 85e81706..91de0312 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ deploy: script: # build site - rm -rf public - - hugo --gc --enableGitInfo + - hugo --gc # upload all files - aws s3 sync ./public s3://$S3_BUCKET_NAME --delete --region us-east-1 --cache-control "max-age=3600, public" --metadata-directive "REPLACE" diff --git a/config.toml b/config.toml index 1a486fbf..526cff46 100644 --- a/config.toml +++ b/config.toml @@ -11,7 +11,7 @@ disableKinds = ["taxonomy", "taxonomyTerm"] pygmentsUseClasses = true pygmentsCodeFences = true -enableGitInfo = true +# enableGitInfo = true # messed up sitemap.xml timestamps [taxonomies] tag = "" diff --git a/content/_index.md b/content/_index.md index 06c7763c..12ec8224 100644 --- a/content/_index.md +++ b/content/_index.md @@ -2,5 +2,5 @@ title = "Jake Jarvis – Web & Mobile Developer in Boston, MA" description = "I'm a full-stack web engineer and mobile developer based in Boston, Massachusetts specializing in modern JavaScript frameworks and iOS apps." type = "home" -date = "2019-04-18" +date = "2019-06-21" +++ diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index eb38a3c7..bb4e2194 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,5 +15,3 @@ - -{{ printf "" hugo.CommitHash | safeHTML }}