diff options
author | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 02:13:20 +0300 |
---|---|---|
committer | Alexander Neonxp Kiryukhin <i@neonxp.ru> | 2024-12-22 02:13:20 +0300 |
commit | ef736304163e0952735a8620a48564c288864a94 (patch) | |
tree | 2155560a188341cf6d242856e397aa20775ca512 /layouts/pico8/single.html | |
parent | 4a53507256bfefd1e8094defd98d6b28316fa965 (diff) |
Auto-commit 2024-12-22
Diffstat (limited to 'layouts/pico8/single.html')
-rw-r--r-- | layouts/pico8/single.html | 166 |
1 files changed, 92 insertions, 74 deletions
diff --git a/layouts/pico8/single.html b/layouts/pico8/single.html index 01797ce..4871f4f 100644 --- a/layouts/pico8/single.html +++ b/layouts/pico8/single.html @@ -1,79 +1,97 @@ {{ define "main" }} -<div class="posts-container mx-auto my-5"> - <div class="post"> - {{ partial "single/header.html" . }} - <div id="pico-container"> - <!-- <div class="buttons"> - <button - id="pico-up" - style="grid-area: up" - onclick="PicoPress(3, 0)" - > - ⇑ - </button> - <button - id="pico-down" - style="grid-area: down" - onclick="PicoPress(3, 0)" - > - ⇓ - </button> - <button - id="pico-left" - style="grid-area: left" - onclick="PicoPress(3, 0)" - > - ⇐ - </button> - <button - id="pico-right" - style="grid-area: right" - onclick="PicoPress(3, 0)" - > - ⇒ - </button> - <button - id="pico-a" - style="grid-area: a" - onclick="PicoPress(3, 0)" - > - A - </button> - <button - id="pico-b" - style="grid-area: b" - onclick="PicoPress(3, 0)" - > - B - </button> - <div class="square_hack"></div> - </div> --> - </div> - <h2>Управление</h2> - <h3>Игрок 1</h3> - <img src="/img/p8_lf.webp" />← - <img src="/img/p8_rt.webp" />→ - <img src="/img/p8_up.webp" />↑ - <img src="/img/p8_dw.webp" />↓ - <img src="/img/p8_x.webp" />Z C - <img src="/img/p8_o.webp" />X V - <h3>Игрок 2</h3> - <img src="/img/p8_lf.webp" /> S - <img src="/img/p8_rt.webp" /> F - <img src="/img/p8_up.webp" /> E - <img src="/img/p8_dw.webp" /> D - <img src="/img/p8_x.webp" />Q W - <img src="/img/p8_o.webp" />TAB - <h3>Пауза</h3> - P/Enter - <footer> - <div class="row between-xs"> - <a href="{{ .Params.Game }}">Скачать</a> - </div> - </footer> - {{ partial "single/footer.html" . }} +<div class="container"> + <div class="row"> + <div class="col-xs-12 col-sm-12 col-md-4 sidebar"> + <h1 class="post-title fw-semibold">{{.Page.CurrentSection.Title}}</h1> + {{if .Page.CurrentSection.Pages}} + <h2 class="fw-semibold">Остальное</h2> + <ul> + {{ range .Page.CurrentSection.Pages }} + <li> + <a href="{{ .RelPermalink }}">{{ .Title }}</a> + </li> + {{ end }} + </ul> + {{ end }} </div> - </div> + <div class="col-xs-12 col-sm-12 col-md-8 content"> + <div class="post"> + {{ partial "single/header.html" . }} + <div id="pico-container"> + <!-- <div class="buttons"> + <button + id="pico-up" + style="grid-area: up" + onclick="PicoPress(3, 0)" + > + ⇑ + </button> + <button + id="pico-down" + style="grid-area: down" + onclick="PicoPress(3, 0)" + > + ⇓ + </button> + <button + id="pico-left" + style="grid-area: left" + onclick="PicoPress(3, 0)" + > + ⇐ + </button> + <button + id="pico-right" + style="grid-area: right" + onclick="PicoPress(3, 0)" + > + ⇒ + </button> + <button + id="pico-a" + style="grid-area: a" + onclick="PicoPress(3, 0)" + > + A + </button> + <button + id="pico-b" + style="grid-area: b" + onclick="PicoPress(3, 0)" + > + B + </button> + <div class="square_hack"></div> + </div> --> + </div> + <h2>Управление</h2> + <h3>Игрок 1</h3> + <img src="/img/p8_lf.webp" />← + <img src="/img/p8_rt.webp" />→ + <img src="/img/p8_up.webp" />↑ + <img src="/img/p8_dw.webp" />↓ + <img src="/img/p8_x.webp" />Z C + <img src="/img/p8_o.webp" />X V + <h3>Игрок 2</h3> + <img src="/img/p8_lf.webp" /> S + <img src="/img/p8_rt.webp" /> F + <img src="/img/p8_up.webp" /> E + <img src="/img/p8_dw.webp" /> D + <img src="/img/p8_x.webp" />Q W + <img src="/img/p8_o.webp" />TAB + <h3>Пауза</h3> + P/Enter + <footer> + <div class="row between-xs"> + <a href="{{ .Params.Game }}">Скачать</a> + </div> + </footer> + {{ partial "single/footer.html" . }} + </div> + </div> + </div> + </div> +</div> <script src="/js/picoplayer.js"></script> <script src="/js/pico8.js"></script> |