Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Fix Google Analytics on new landing page #119

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 54 commits into from
Closed
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
161e051
Moving content directory out of way to make copy
Jun 16, 2021
7c85b78
Save copy of content directory
Jun 16, 2021
996b771
Merge commit '161e05151caed268a57c6f8261709fcfd75f621b' into new_portal
Jun 16, 2021
4e62264
Restoring original content directory
Jun 16, 2021
0630873
Add local theme to repo (much easier to dev)
Jun 16, 2021
7d0c18b
Change case of section titles
Jun 16, 2021
3dd46bb
Update extensions location and remove comm gallery
Jun 16, 2021
6152da7
Update and move out of pages
Jun 16, 2021
6e75793
Update ignores related to move
Jun 16, 2021
c29a6fc
Update ignores
Jun 16, 2021
7c89e0e
Update index
Jun 16, 2021
bccc2dd
Updated makefiles
Jun 16, 2021
74f5d27
Updating images for new theme
Jun 16, 2021
baba90a
Explicitly add pythia extension
Jun 16, 2021
8e769f2
Update pages and content for new theme
Jun 16, 2021
b5e874a
Update Sphinx config for new theme
Jun 16, 2021
7f84c99
Remove explicit custom.js load (done in extension)
Jun 16, 2021
76f3ec2
Add links to gallery
Jun 16, 2021
f293fb4
Formatting only
Jun 16, 2021
2a3b7e1
For model displays in new theme
Jun 16, 2021
2add6c7
Change name of gallery and affiliation link
Jun 16, 2021
4c501bc
Remove subtitle
Jun 16, 2021
e9685c9
Add HTML logo usage
Jun 16, 2021
8aaebfd
Add HTML logo setting and fix img locations
Jun 16, 2021
9560301
Fix references with pathto
Jun 16, 2021
e372d78
Logo and title
Jun 16, 2021
dc8f173
Fix dropdowns to use BS5
Jun 16, 2021
e9d6554
Hide gallery (and some tweaks)
Jun 16, 2021
70c1c02
Gallery formatting
Jun 16, 2021
fd760cf
Rename links to gallery
Jun 17, 2021
5fb4000
New images
Jun 17, 2021
f573b12
New landing page content
Jun 17, 2021
a8714b1
Match navbar items to new content
Jun 17, 2021
a23e5b5
Move custom styling/JS to pythia theme
Jun 17, 2021
5ca7b8f
Update names in CI
Jun 17, 2021
d8ab8a4
Point RTD to new portal
Jun 17, 2021
98e860e
Fix about link
Jun 17, 2021
9f4e940
Fix linting
Jun 17, 2021
edf689f
Replace divs with sections when appropriate
Jun 17, 2021
56284de
Return soup object
Jun 17, 2021
a5cae48
Support div.section and section
Jun 17, 2021
194ad20
Add extension to dropdown option urls
Jun 17, 2021
57bcc51
Add Code of Conduct button
Jun 20, 2021
4675c02
Fix link in COC
Jun 20, 2021
61d549f
Fix copyright flex issue in footer
Jun 20, 2021
0247555
Fix button layout
Jun 20, 2021
ea0626a
Add latest contributing to new portal
Jun 21, 2021
161de7f
Fix prettier ugliness that breaks pre tags
Jun 21, 2021
fdd9bb0
Admonition styling
Jun 21, 2021
b13e899
Add seealso admonition
Jun 21, 2021
8969f76
Move gallery styling/js to custom files
Jun 21, 2021
5ffbe09
Attempt a wide-card gallery style
Jun 21, 2021
7d63cc7
Fix Google Analytics tags in HTML
Jun 22, 2021
5d39e3f
Merge branch 'main' into fix-analytics
Jun 22, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions portal/_templates/layout.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{% extends "!layout.html" %}
{% block extrahead %}
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-T9KGMX7VHZ"
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag('js', new Date())
gtag('config', 'G-T9KGMX7VHZ')
</script>
{{ super() }}
{% endblock %}