1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-07-19 08:55:32 -04:00

enableGitInfo messed up sitemap.xml timestamps and google SERPs

This commit is contained in:
2019-06-21 10:47:27 -04:00
parent 7b62adcf7c
commit 4afd229528
4 changed files with 3 additions and 5 deletions

View File

@@ -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"

View File

@@ -11,7 +11,7 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
pygmentsUseClasses = true
pygmentsCodeFences = true
enableGitInfo = true
# enableGitInfo = true # messed up sitemap.xml timestamps
[taxonomies]
tag = ""

View File

@@ -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"
+++

View File

@@ -15,5 +15,3 @@
</script>
</body>
</html>
{{ printf "<!-- %s -->" hugo.CommitHash | safeHTML }}