12345678910111213141516171819202122232425262728293031 |
- {{ define "layout.html" }}
- <!DOCTYPE html>
- <html lang="">
- <head>
- <title>Contact App</title>
- <!-- link rel="stylesheet" href="https://the.missing.style/v0.2.0/missing.min.css" -->
- <link rel="stylesheet" href="https://unpkg.com/missing.css@0.2.0/missing.min.css">
- <link rel="stylesheet" href="/static/site.css">
- <script src="/static/js/htmx-1.8.0.js"></script>
- <script src="/static/js/_hyperscript-0.9.7.js"></script>
- <script src="/static/js/debug.js"></script>
- <script src="/static/js/rsjs-menu.js" type="module"></script>
- <!-- script defer src="https://unpkg.com/alpinejs@3/dist/cdn.min.js"></script -->
- <script defer src="https://unpkg.com/alpinejs@3.13.10/dist/cdn.min.js"></script>
- </head>
- <body hx-boost="true">
- <main>
- <header>
- <h1>
- <all-caps>contacts.app</all-caps>
- <sub-title>A Demo Contacts Application</sub-title>
- </h1>
- </header>
- {{ range $message := get_flashed_messages }}
- <div class="flash">{{ $message }}</div>
- {{ end }}
- {{block "content" . }}Default content{{ end }}
- </main>
- </body>
- </html>
- {{ end }}
|