Skip to content

Commit

Permalink
add snowflakes
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaps committed Dec 30, 2023
1 parent b8240d5 commit 7dd067b
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/backend/templates/layouts/default.pug
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,14 @@ html(lang='en')
a(href='https://forum.faforever.com/') FORUMS

script(src=webpackAssetJS('navigation'))
script(
src='https://unpkg.com/magic-snowflakes/dist/snowflakes.min.js',
crossorigin='anonymous'
)
script(type='text/javascript').
if (typeof Snowflakes !== 'undefined') {
new Snowflakes()
}

//- Include template-specific javascript files by extending the js block
block js

0 comments on commit 7dd067b

Please sign in to comment.