File tree Expand file tree Collapse file tree 3 files changed +37
-14
lines changed
partials/integrations/analytics Expand file tree Collapse file tree 3 files changed +37
-14
lines changed Original file line number Diff line number Diff line change @@ -42,21 +42,20 @@ exclude_docs: |
4242
4343theme :
4444 name : material
45- # custom_dir: overrides
45+ custom_dir : overrides
4646 features :
47- - navigation.prune
48- - navigation.tabs
49- - navigation.tabs.sticky
50- - navigation.indexes
51- - navigation.instant
52- - navigation.top
53- - content.code.copy
54- - attr_list
55- - md_in_html
56- - pymdownx.blocks.caption
57- - navigation.footer
58- - content.action.edit
59- - content.action.view
47+ - navigation.tabs # Top-level tabs
48+ - navigation.tabs.sticky # Keep tabs visible
49+ - navigation.indexes # Section index pages
50+ - navigation.instant # SPA-like navigation
51+ - navigation.top # Back to top button
52+ - navigation.footer # Previous/next links
53+ - content.action.edit # Edit Page in GitHub
54+ - content.action.view # View raw Page in GitHub
55+ - content.code.copy # Copy code
56+ - attr_list # Attribute Lists
57+ - md_in_html # Markdown in HTML
58+ - pymdownx.blocks.caption # Caption
6059
6160 palette :
6261 - scheme : default
7473 favicon : assets/favicon.ico
7574
7675extra :
76+ analytics :
77+ provider : goattracker
7778 social :
7879 - icon : fontawesome/brands/github
7980 link : https://github.com/concourse
Original file line number Diff line number Diff line change 1+ {% extends "base.html" %}
2+
3+ {% block scripts %}
4+
5+ < script data-goatcounter ="https://concourse.goatcounter.com/count " async src ="//gc.zgo.at/count.js "> </ script >
6+
7+ {{ super() }}
8+
9+ {% endblock %}
Original file line number Diff line number Diff line change 1+ < script >
2+ /* Wait for page to load and application to mount */
3+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
4+ location$ . subscribe ( function ( url ) {
5+ window . goatcounter . count ( {
6+ path : url . pathname + url . search + url . hash ,
7+ } )
8+ } )
9+ } )
10+ </ script >
11+
12+ < script data-goatcounter ="https://concourse.goatcounter.com/count "
13+ async src ="//gc.zgo.at/count.js "> </ script >
You can’t perform that action at this time.
0 commit comments