Skip to content

Commit

Permalink
Test out redirects again
Browse files Browse the repository at this point in the history
  • Loading branch information
ismayc committed Sep 30, 2024
1 parent b2b4f81 commit 4c4c108
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions _includes/analytics.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,17 @@

gtag('config', 'G-YVFBK9P73R');
</script>

<!-- Open Graph Meta Tags -->
<meta property="og:title" content="ModernDive V2" />
<meta property="og:description" content="An open-source and fully-reproducible electronic textbook for teaching statistical inference using tidyverse data science tools." />
<meta property="og:image" content="https://moderndive.com/v2/images/logos/v2/v2_cover_2024-09-29.png" />
<meta property="og:url" content="https://moderndive.com/v2/" />
<meta name="twitter:card" content="summary_large_image" />


<script>
if (window.location.pathname === '/v2') {
window.location.replace(window.location.pathname + '/');
}
</script>
2 changes: 1 addition & 1 deletion _redirects
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/v2 /v2/ 301!
/v2 /v2/ 301!

0 comments on commit 4c4c108

Please sign in to comment.