mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 17:45:52 -05:00
Merge pull request #6753 from seotts/annual-report-intl-file
Make /annual-report use localization file of 2020 report
This commit is contained in:
commit
0d07cf5c44
2 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
"routeAlias": "/annual-report/?$",
|
"routeAlias": "/annual-report/?$",
|
||||||
"view": "annual-report/2020/annual-report",
|
"view": "annual-report/2020/annual-report",
|
||||||
"title": "Annual Report 2020",
|
"title": "Annual Report 2020",
|
||||||
|
"intlName": "annual-report-2020",
|
||||||
"viewportWidth": "device-width"
|
"viewportWidth": "device-width"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -79,7 +79,7 @@
|
||||||
<script src="<%= htmlWebpackPlugin.files.chunks.common.entry %>"></script>
|
<script src="<%= htmlWebpackPlugin.files.chunks.common.entry %>"></script>
|
||||||
|
|
||||||
<!-- Scripts -->
|
<!-- Scripts -->
|
||||||
<script src="/js/<%= htmlWebpackPlugin.options.route.name %>.intl.js"></script>
|
<script src="/js/<%= htmlWebpackPlugin.options.route.intlName || htmlWebpackPlugin.options.route.name %>.intl.js"></script>
|
||||||
<script src="<%= htmlWebpackPlugin.files.chunks[htmlWebpackPlugin.options.route.name].entry %>"></script>
|
<script src="<%= htmlWebpackPlugin.files.chunks[htmlWebpackPlugin.options.route.name].entry %>"></script>
|
||||||
|
|
||||||
<!-- Translate title element -->
|
<!-- Translate title element -->
|
||||||
|
|
Loading…
Reference in a new issue