Skip to content

Commit dffe8e7

Browse files
committed
May save a couple of milliseconds
1 parent 92b5863 commit dffe8e7

File tree

11 files changed

+12
-28
lines changed

11 files changed

+12
-28
lines changed

src/docs/design-patterns.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@
2929
<meta name="twitter:description" content="Article containing examples of various inline and block elements that should be considered and styled within the site.">
3030
<meta name="twitter:image:src" content="https://textpattern.com/apple-touch-icon-180x180.png">
3131
<meta name="twitter:url" content="https://textpattern.com/design-patterns.html">
32+
33+
<script defer src="assets/js/app.js"></script>
3234
</head>
3335

3436
<body itemscope itemtype="https://schema.org/WebPage">
@@ -1301,8 +1303,5 @@ <h2>Social media</h2>
13011303
</div>
13021304
</article>
13031305
</main>
1304-
1305-
<!-- JavaScript -->
1306-
<script src="assets/js/app.js"></script>
13071306
</body>
13081307
</html>

src/mockups/blog-article.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
2020
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2121

22+
<script defer src="../assets/js/app.js"></script>
2223
<link rel="canonical" href="https://textpattern.com/mockups/blog-article.html">
2324

2425
<!-- Twitter card -->
@@ -463,9 +464,6 @@ <h4 class="accessibility">Host details</h4>
463464

464465
</div><!-- /.wrapper-footer -->
465466

466-
467-
<!-- JavaScript -->
468-
<script async src="../assets/js/app.js"></script>
469467
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
470468
</body>
471469
</html>

src/mockups/blog-landing.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
2020
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2121

22+
<script defer src="../assets/js/app.js"></script>
2223
<link rel="canonical" href="https://textpattern.com/mockups/blog-landing.html">
2324

2425
<!-- Twitter card -->
@@ -447,9 +448,6 @@ <h4 class="accessibility">Host details</h4>
447448

448449
</div><!-- /.wrapper-footer -->
449450

450-
451-
<!-- JavaScript -->
452-
<script async src="../assets/js/app.js"></script>
453451
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
454452
</body>
455453
</html>

src/mockups/documentation-example.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
1919
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2020

21+
<script defer src="../assets/js/app.js"></script>
2122
<link rel="canonical" href="https://textpattern.com/mockups/documentation-example.html">
2223

2324
<!-- Twitter card -->
@@ -406,9 +407,6 @@ <h4 class="accessibility">Host details</h4>
406407

407408
</div><!-- /.wrapper-footer -->
408409

409-
410-
<!-- JavaScript -->
411-
<script async src="../assets/js/app.js"></script>
412410
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
413411
</body>
414412
</html>

src/mockups/error.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<link rel="manifest" href="../site.webmanifest">
1818
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
1919
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
20+
21+
<script defer src="../assets/js/app.js"></script>
2022
</head>
2123

2224
<body itemscope itemtype="https://schema.org/WebPage">
@@ -163,9 +165,6 @@ <h4 class="accessibility">Host details</h4>
163165

164166
</div><!-- /.wrapper-footer -->
165167

166-
167-
<!-- JavaScript -->
168-
<script async src="../assets/js/app.js"></script>
169168
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
170169
</body>
171170
</html>

src/mockups/get-started.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
2020
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2121

22+
<script defer src="../assets/js/app.js"></script>
2223
<link rel="canonical" href="https://textpattern.com/mockups/get-started.html">
2324

2425
<!-- Twitter card -->
@@ -375,9 +376,6 @@ <h4 class="accessibility">Host details</h4>
375376

376377
</div><!-- /.wrapper-footer -->
377378

378-
379-
<!-- JavaScript -->
380-
<script async src="../assets/js/app.js"></script>
381379
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
382380
</body>
383381
</html>

src/mockups/index.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
2121
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2222

23+
<script defer src="../assets/js/app.js"></script>
2324
<link rel="canonical" href="https://textpattern.com/mockups/index.html">
2425

2526
<!-- Twitter card -->
@@ -520,9 +521,6 @@ <h4 class="accessibility">Host details</h4>
520521

521522
</div><!-- /.wrapper-footer -->
522523

523-
524-
<!-- JavaScript -->
525-
<script async src="../assets/js/app.js"></script>
526524
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
527525
</body>
528526
</html>

src/mockups/showcase-article.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
2020
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2121

22+
<script defer src="../assets/js/app.js"></script>
2223
<link rel="canonical" href="https://textpattern.com/mockups/blog-article.html">
2324

2425
<!-- Twitter card -->
@@ -308,9 +309,6 @@ <h4 class="accessibility">Host details</h4>
308309

309310
</div><!-- /.wrapper-footer -->
310311

311-
312-
<!-- JavaScript -->
313-
<script async src="../assets/js/app.js"></script>
314312
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
315313
</body>
316314
</html>

src/mockups/showcase-landing.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
<link rel="icon" sizes="32x32" href="../favicon-32x32.png">
2020
<link rel="icon" sizes="16x16" href="../favicon-16x16.png">
2121

22+
<script defer src="../assets/js/app.js"></script>
2223
<link rel="canonical" href="https://textpattern.com/mockups/showcase-landing.html">
2324

2425
<!-- Twitter card -->
@@ -247,9 +248,6 @@ <h4 class="accessibility">Host details</h4>
247248

248249
</div><!-- /.wrapper-footer -->
249250

250-
251-
<!-- JavaScript -->
252-
<script async src="../assets/js/app.js"></script>
253251
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>
254252
</body>
255253
</html>

src/templates/forms/misc/body_footer.txp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,4 @@
5959
</p>
6060
</footer>
6161
</div>
62-
<script async src="https://textpattern.com/assets/js/app.@@timestamp.js"></script>
6362
<noscript>JavaScript is currently disabled in your browser - activate it for the best experience.</noscript>

src/templates/forms/misc/head.txp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,4 @@
1111
<meta name="color-scheme" content="dark light">
1212
<meta name="generator" content="Textpattern CMS">
1313
<meta name="application-name" content="Textpattern">
14+
<script defer src="https://textpattern.com/assets/js/app.@@timestamp.js"></script>

0 commit comments

Comments
 (0)