Rename module path github.com/ryanhamamura/c4 to github.com/ryanhamamura/games across go.mod, all source files, and golangci config.
22 lines
662 B
Plaintext
22 lines
662 B
Plaintext
package layouts
|
|
|
|
import "github.com/ryanhamamura/games/config"
|
|
|
|
templ Base(title string) {
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{ title }</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0"/>
|
|
<script defer type="module" src="/assets/js/datastar.js"></script>
|
|
<link href="/assets/css/output.css" rel="stylesheet" type="text/css"/>
|
|
</head>
|
|
<body class="flex flex-col h-screen">
|
|
if config.Global.Environment == config.Dev {
|
|
<div data-init="@get('/reload', {retryMaxCount: 1000, retryInterval:20, retryMaxWaitMs:200})"></div>
|
|
}
|
|
{ children... }
|
|
</body>
|
|
</html>
|
|
}
|