|
| 1 | +<!DOCTYPE html> |
| 2 | +<html lang="{{- .Site.LanguageCode -}}"> |
| 3 | +<head> |
| 4 | + <meta charset="utf-8"> |
| 5 | + <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
| 6 | + <title>{{- block "title" . -}}{{- default .Page.Path .Page.Title }} | {{ .Site.Title -}}{{- end -}}</title> |
| 7 | + {{- with resources.Get "main.sass" | toCSS | minify | fingerprint -}} |
| 8 | + <link rel="stylesheet" href="{{- .RelPermalink -}}" integrity="{{- .Data.Integrity -}}"> |
| 9 | + {{- end -}} |
| 10 | + {{- with resources.Get "logo.png" | fingerprint -}} |
| 11 | + <link rel="shortcut icon" href="{{- .RelPermalink -}}" integrity="{{- .Data.Integrity -}}">{{- /**/ -}} |
| 12 | + <meta property="og:image" content="{{- .RelPermalink -}}"> |
| 13 | + {{- end -}} |
| 14 | + <meta property="theme-color" media="(prefers-color-scheme: dark)" content="#267547">{{- /**/ -}} |
| 15 | + <meta property="theme-color" media="(prefers-color-scheme: light)" content="#40a849">{{- /**/ -}} |
| 16 | + <meta property="og:image:alt" |
| 17 | + content="Minecraft Access logo. A retro games controller graphic over a blurred background of a snowy mountain village next to a spruce forrest."> |
| 18 | + {{- template "_internal/opengraph.html" . -}} |
| 19 | + {{- template "_internal/schema.html" . -}} |
| 20 | + {{- template "_internal/twitter_cards.html" . -}} |
| 21 | +</head> |
| 22 | +<body> |
| 23 | +<header> |
| 24 | + {{- with resources.Get "logo.png" -}} |
| 25 | + <img class="logo" |
| 26 | + src="{{- .RelPermalink -}}" |
| 27 | + alt="Logo: A retro games controller over a blurred snowy mountain village next to a spruce forrest."> |
| 28 | + {{- end -}} |
| 29 | + <span>{{- .Site.Title -}}</span> |
| 30 | + <nav> |
| 31 | + <ul> |
| 32 | + <li><a href="https://docs.mcaccess.org/downloads">Download</a></li> |
| 33 | + <li><a href="https://docs.mcaccess.org/">Docs</a></li> |
| 34 | + </ul> |
| 35 | + </nav> |
| 36 | +</header> |
| 37 | +<main> |
| 38 | + <div> |
| 39 | + {{- block "main" . -}}{{- end -}} |
| 40 | + </div> |
| 41 | +</main> |
| 42 | +<footer> |
| 43 | + {{- with getenv "GITHUB_REPOSITORY" -}} |
| 44 | + <p> |
| 45 | + <a href="https://github.com/{{- . -}}">{{- . -}}</a> |
| 46 | + {{- with getenv "GITHUB_SHA" }} |
| 47 | + @ <a href="https://github.com/{{- getenv "GITHUB_REPOSITORY" -}}/commit/{{- . -}}"> |
| 48 | + <abbr title="{{- . -}}">{{- . | truncate 9 "" -}}</abbr> |
| 49 | + </a> |
| 50 | + {{- end -}} |
| 51 | + </p> |
| 52 | + {{- end -}} |
| 53 | + <p> |
| 54 | + NOT AN OFFICIAL MINECRAFT PRODUCT. NOT APPROVED BY OR ASSOCIATED WITH MOJANG OR MICROSOFT. |
| 55 | + </p> |
| 56 | +</footer> |
| 57 | +</body> |
| 58 | +</html> |
0 commit comments