mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 12:15:34 -04:00
enableGitInfo messed up sitemap.xml timestamps and google SERPs
This commit is contained in:
@@ -21,7 +21,7 @@ deploy:
|
|||||||
script:
|
script:
|
||||||
# build site
|
# build site
|
||||||
- rm -rf public
|
- rm -rf public
|
||||||
- hugo --gc --enableGitInfo
|
- hugo --gc
|
||||||
|
|
||||||
# upload all files
|
# 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"
|
- aws s3 sync ./public s3://$S3_BUCKET_NAME --delete --region us-east-1 --cache-control "max-age=3600, public" --metadata-directive "REPLACE"
|
||||||
|
@@ -11,7 +11,7 @@ disableKinds = ["taxonomy", "taxonomyTerm"]
|
|||||||
pygmentsUseClasses = true
|
pygmentsUseClasses = true
|
||||||
pygmentsCodeFences = true
|
pygmentsCodeFences = true
|
||||||
|
|
||||||
enableGitInfo = true
|
# enableGitInfo = true # messed up sitemap.xml timestamps
|
||||||
|
|
||||||
[taxonomies]
|
[taxonomies]
|
||||||
tag = ""
|
tag = ""
|
||||||
|
@@ -2,5 +2,5 @@
|
|||||||
title = "Jake Jarvis – Web & Mobile Developer in Boston, MA"
|
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."
|
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"
|
type = "home"
|
||||||
date = "2019-04-18"
|
date = "2019-06-21"
|
||||||
+++
|
+++
|
||||||
|
@@ -15,5 +15,3 @@
|
|||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
||||||
{{ printf "<!-- %s -->" hugo.CommitHash | safeHTML }}
|
|
||||||
|
Reference in New Issue
Block a user