tic-tac-toe/views/layouts/master.html

50 lines
1.6 KiB
HTML
Raw Normal View History

2023-12-29 11:42:21 +00:00
<!doctype html>
<html lang="{{.lang}}">
<head>
2024-01-02 06:17:10 +00:00
<title>
{{ if eq .lang "sgs"}}
Krīžiokā Nuliokā - DI vėsumet laim...
{{ else }}
Tic Tac Toe - AI never lose...
{{ end }}
</title>
2023-12-29 11:42:21 +00:00
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
{{template "head" .}}
</head>
<body>
<div class="container py-2">
2024-01-27 20:43:44 +00:00
{{ if not .single }}
{{ if eq .lang "sgs"}}
{{include "title.sgs"}}
{{ else }}
{{include "title.en"}}
{{ end }}
2023-12-29 11:42:21 +00:00
{{ end }}
2023-12-29 18:40:04 +00:00
<div class="row">
<div class="col">
{{template "content" .}}
</div>
<div class="col">
2024-01-27 20:43:44 +00:00
{{ if not .single }}
{{ if eq .lang "sgs"}}
{{include "about.sgs"}}
{{ else }}
{{include "about.en"}}
{{ end }}
2023-12-29 18:40:04 +00:00
{{ end }}
</div>
</div>
2023-12-29 11:42:21 +00:00
2024-01-27 20:43:44 +00:00
{{ if not .single }}
{{include "layouts/footer"}}
{{ end }}
2023-12-29 11:42:21 +00:00
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
</div>
</body>
</html>