remove some tabs from theme files

This commit is contained in:
Marvin Steadfast 2020-03-18 07:27:46 +01:00
parent 9f58b2c899
commit acbf115728
3 changed files with 9 additions and 10 deletions

View File

@ -16,7 +16,6 @@
</div> </div>
</section> </section>
</main> </main>
<!-- this template is sucked in by search.js and appended to the search-results div above. So editing here will adjust style -->
<script id="search-result-template" type="text/x-js-template"> <script id="search-result-template" type="text/x-js-template">
<div id="summary-${key}"> <div id="summary-${key}">
<h4><a href="${link}">${title}</a></h4> <h4><a href="${link}">${title}</a></h4>

View File

@ -1,8 +1,8 @@
{{ define "main" }} {{ define "main" }}
<main> <main>
<article class="h-entry"> <article class="h-entry">
{{ partial "article.html" . }} {{ partial "article.html" . }}
{{ partial "mentions.html" . }} {{ partial "mentions.html" . }}
</article> </article>
</main> </main>
{{ end }} {{ end }}

View File

@ -1,12 +1,12 @@
{{ define "main" }} {{ define "main" }}
<main> <main>
{{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }} {{ $paginator := .Paginate (where .Site.RegularPages "Type" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }} {{ range $paginator.Pages }}
<article class="h-entry"> <article class="h-entry">
{{ partial "article.html" . }} {{ partial "article.html" . }}
<hr> <hr>
</article> </article>
{{ end }} {{ end }}
{{ partial "pagination.html" . }} {{ partial "pagination.html" . }}
</main> </main>
{{ end }} {{ end }}