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>
</section>
</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">
<div id="summary-${key}">
<h4><a href="${link}">${title}</a></h4>

View File

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

View File

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