diff options
Diffstat (limited to 'layouts/pico8')
-rw-r--r-- | layouts/pico8/list.html | 50 | ||||
-rw-r--r-- | layouts/pico8/single.html | 32 |
2 files changed, 6 insertions, 76 deletions
diff --git a/layouts/pico8/list.html b/layouts/pico8/list.html deleted file mode 100644 index 7158b4a..0000000 --- a/layouts/pico8/list.html +++ /dev/null @@ -1,50 +0,0 @@ -{{ define "main" }} -<div class="row"> - <div class="col-xs-12 col-sm-12 col-md-4 col-lg-4 last-xs last-sm first-md first-lg sidebar"> - <article> - <header>Навигатор</header> - {{ partial "menu.html" (dict "menuID" "sections" "page" .) }} - </article> - </div> - <div class="h-entry col-xs-12 col-sm-12 col-md-8 col-lg-8"> - {{ if .Title }} - <article> - <header> - <div class="row between-xs"> - <span class="p-name"> {{ .Title }} </span> - </div> - </header> - {{ .Content }} - </article> - {{ end }} - {{ $paginator := .Paginate .Pages 7 }} - {{ range $paginator.Pages }} - <article> - <header> - <div class="row between-sm"> - <a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> - {{ if .Date }} - <span> - {{- .Date | time.Format (or .Site.Params.dateFormat.published "02 Jan 2006") -}} - </span> - {{ end }} - </div> - </header> - {{ if .Description }} - {{ .Description }} - {{ else }} - {{ .Summary }} - {{ end }} - <a href="{{ .RelPermalink }}"> - <img src="{{ .Params.Game }}" /> - </a> - <footer> - <a href="{{ .Params.Game }}">Скачать</a> - </footer> - </article> - {{ end }} - <nav>{{ partial "pagination.html" . }}</nav> - </div> -</div> - -{{ end }} diff --git a/layouts/pico8/single.html b/layouts/pico8/single.html index 8d63215..a35f9c0 100644 --- a/layouts/pico8/single.html +++ b/layouts/pico8/single.html @@ -1,26 +1,7 @@ {{ define "main" }} -<div class="row"> - <div - class="col-xs-12 col-sm-12 col-md-4 col-lg-4 last-xs last-sm first-md first-lg sidebar" - > - {{ if .Params.toc }} - <article> - <header>Содержание</header> - <aside>{{ .TableOfContents }}</aside> - </article> - {{ end }} - <article> - <header>Навигатор</header> - {{ partial "menu.html" (dict "menuID" "sections" "page" .) }} - </article> - </div> - <div class="h-entry col-xs-12 col-sm-12 col-md-8 col-lg-8"> - <article> - <header> - <div class="row between-xs"> - <span class="p-name"> {{ .Title }} </span> - </div> - </header> +<div class="posts-container mx-auto my-5"> + <div class="post"> + {{ partial "single/header.html" . }} <div id="pico-container"> <!-- <div class="buttons"> <button @@ -90,10 +71,9 @@ <a href="{{ .Params.Game }}">Скачать</a> </div> </footer> - </article> - {{ if .Params.comments }} {{ partial "comments.html" . }} {{ end }} - </div> -</div> + {{ partial "single/footer.html" . }} + </div> + </div> <script src="/js/picoplayer.js"></script> <script src="/js/pico8.js"></script> |