Compare commits

..

1 Commits

Author SHA1 Message Date
ivan 582c40175a removed list from index page 2018-05-03 13:39:34 +03:00
3 changed files with 3 additions and 9 deletions

View File

@ -7,7 +7,6 @@ disqusShortname = ""
ignoreFiles = ["\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
preserveTaxonomyNames = true
footnotereturnlinkcontents = "↩"
paginate = 1
[permalinks]
post = "/post/:year/:month/:day/:slug/"

View File

@ -6,15 +6,15 @@
{{ .Content }}
{{if not .IsHome }}
<ul>
{{ $paginator := .Paginate (where .Data.Pages "Section" "!=" "") }}
{{ range $paginator.Pages }}
{{ range (where .Data.Pages "Section" "!=" "") }}
<li>
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
<a href="{{ .URL }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ template "_internal/pagination.html" . }}
{{ end }}
{{ partial "footer.html" . }}

View File

@ -22,11 +22,6 @@ hr {
color: #ddd;
}
/* pagination */
.pagination { text-align: center; }
.pagination li { display: inline; }
.pagination a { padding: 0 .2em; }
/* code */
pre {
border: 1px solid #ddd;