From 2041341d9fd9a3b674d7fa7286ad5b6e99ce80e5 Mon Sep 17 00:00:00 2001
From: Aaron Bull Schaefer <aaron@elasticdog.com>
Date: Wed, 14 Feb 2024 17:41:44 +0000
Subject: [PATCH] docs: workaround for shallow clones on Cloudflare Pages (#868)

---
 docs/hosting.md |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/hosting.md b/docs/hosting.md
index e6340d2..bae7ed8 100644
--- a/docs/hosting.md
+++ b/docs/hosting.md
@@ -30,7 +30,7 @@
 To add a custom domain, check out [Cloudflare's documentation](https://developers.cloudflare.com/pages/platform/custom-domains/).
 
 > [!warning]
-> Cloudflare Pages only allows shallow `git` clones so if you rely on `git` for timestamps, it is recommended you either add dates to your frontmatter (see [[authoring content#Syntax]]) or use another hosting provider.
+> Cloudflare Pages performs a shallow clone by default, so if you rely on `git` for timestamps, it is recommended that you add `git fetch --unshallow &&` to the beginning of the build command (e.g., `git fetch --unshallow && npx quartz build`).
 
 ## GitHub Pages
 

--
Gitblit v1.10.0