Skip to content

Commit e7970c3

Browse files
committed
feat(nextra): add git history for last-modified attribute
Having the entire history for the git repo allows the Nextra framework to assign the Last-Modified markers to each page so the user can know how fresh the page is.
1 parent 387c65b commit e7970c3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
24+
with:
25+
# Check out history for "Last Modified" markers in Nextra
26+
fetch-depth: 0
2427

2528
- uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
2629
with:

0 commit comments

Comments
 (0)