Skip to content

Commit ceb1bda

Browse files
AllenDowneyclaude
andcommitted
Jupyter Book config: Page-view counter (greenteapress.com/gh.gif, counted from the GTP access logs; no cookies, no third party).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 5ad7ae1 commit ceb1bda

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

‎jb/_config.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ execute:
1212
repository:
1313
url: https://github.com/AllenDowney/ModSimPy
1414
html:
15+
# Page-view counter: one request per page view to greenteapress.com/gh.gif,
16+
# counted from the greenteapress.com access logs (GreenTeaPress scripts/log_report.py).
17+
# No cookies, no third party.
18+
extra_footer: |
19+
<script>new Image().src="https://greenteapress.com/gh.gif?u="+encodeURIComponent(location.href)+"&r="+encodeURIComponent(document.referrer)</script>
1520
use_repository_button: true
1621

1722
parse:

0 commit comments

Comments
 (0)