Skip to content

Commit 55ac840

Browse files
committed
Update link_to_latest.py
1 parent f778ec1 commit 55ac840

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

.Rhistory

-6
This file was deleted.

link_to_latest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def main():
4141
outfile.write(line)
4242
if '<head>' in line.strip():
4343
outfile.write(canonical)
44-
if '<section class="normal" id="section-">' in line.strip():
44+
if '<main class="content" id="quarto-document-content">' in line.strip():
4545
outfile.write(redirect_msg)
4646
outfile.write('')
4747
os.replace('tmpfile',file)

0 commit comments

Comments
 (0)