|
1 | 1 | package components
|
2 | 2 |
|
3 | 3 | templ Base(head, body templ.Component, csrfToken string) {
|
4 |
| - <!DOCTYPE html> |
5 |
| - <html lang="en-US"> |
6 |
| - <head> |
7 |
| - <meta charset="UTF-8"/> |
8 |
| - <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
9 |
| - <title>SMTPBridge</title> |
10 |
| - <meta name="description" content="Bridge email to other messaging services."/> |
11 |
| - <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/> |
12 |
| - <link rel="icon" type="image/svg+xml" href="/favicon.svg"/> |
13 |
| - <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/> |
14 |
| - <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/> |
15 |
| - <link rel="manifest" href="/site.webmanifest"/> |
16 |
| - <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/> |
17 |
| - <meta name="msapplication-TileColor" content="#da532c"/> |
18 |
| - <meta name="theme-color" content="#ffffff"/> |
| 4 | + <!DOCTYPE html> |
| 5 | + <html lang="en-US"> |
| 6 | + <head> |
| 7 | + <meta charset="UTF-8"/> |
| 8 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"/> |
| 9 | + <title>SMTPBridge</title> |
| 10 | + <meta name="description" content="Bridge email to other messaging services."/> |
| 11 | + <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png"/> |
| 12 | + <link rel="icon" type="image/svg+xml" href="/favicon.svg"/> |
| 13 | + <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png"/> |
| 14 | + <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png"/> |
| 15 | + <link rel="manifest" href="/site.webmanifest"/> |
| 16 | + <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5"/> |
| 17 | + <meta name="msapplication-TileColor" content="#da532c"/> |
| 18 | + <meta name="theme-color" content="#ffffff"/> |
19 | 19 | <meta name="gorilla.csrf.Token" content={ csrfToken } />
|
20 |
| - {! head } |
21 |
| - </head> |
22 |
| - <body hx-boost="true"> |
23 |
| - {! body } |
24 |
| - </body> |
25 |
| - </html> |
| 20 | + {! head } |
| 21 | + </head> |
| 22 | + <body hx-boost="true"> |
| 23 | + {! body } |
| 24 | + </body> |
| 25 | + </html> |
26 | 26 | }
|
27 | 27 |
|
0 commit comments