swissChili | e392aeb | 2020-08-10 15:52:10 -0700 | [diff] [blame^] | 1 | <html> |
| 2 | <head> |
| 3 | <meta name="viewport" content="width=device-width"> |
| 4 | <link rel="stylesheet" |
| 5 | href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/styles/default.min.css"> |
| 6 | <link rel="stylesheet" href="styles.css"> |
| 7 | <title>${title}</title> |
| 8 | </head> |
| 9 | <body> |
| 10 | <div class="container"> |
| 11 | <div class="nav"> |
| 12 | <a href="/" class="wide">6502</a> |
| 13 | <a href="https://github.com/swissChili/6502">Git</a> |
| 14 | </div> |
| 15 | <hr> |
| 16 | ${body} |
| 17 | </div> |
| 18 | |
| 19 | <script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.18.1/highlight.min.js"></script> |
| 20 | <script> |
| 21 | document.addEventListener('DOMContentLoaded', (event) => { |
| 22 | document.querySelectorAll('pre code').forEach((block) => { |
| 23 | hljs.highlightBlock(block); |
| 24 | }); |
| 25 | }); |
| 26 | </script> |
| 27 | </body> |
| 28 | </html> |