31 lines
833 B
HTML
Executable file
31 lines
833 B
HTML
Executable file
<div class="container list-posts">
|
|
|
|
{{ $posts := where .Site.Pages "Params.type" "post"}}
|
|
|
|
{{ $ch1 := "on logic" }}
|
|
{{ $ch2 := "on free will"}}
|
|
|
|
{{ if eq .Title "Theses" }}
|
|
<h1 class="list-title">{{ lower "Philopsophical Inquiries" }}</h1>
|
|
{{ end }}
|
|
|
|
<h3 class="chapter-title">{{ lower $ch1 }}</h3>
|
|
|
|
{{ range (where $posts "Params.chapter" $ch1).ByParam "section" }}
|
|
<article class="post-title">
|
|
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
|
|
</article>
|
|
{{ end }}
|
|
|
|
<h3 class="chapter-title">{{ lower $ch2 }}</h3>
|
|
|
|
{{ range (where $posts "Params.chapter" $ch2).ByParam "section" }}
|
|
<article class="post-title">
|
|
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
|
|
</article>
|
|
{{ end }}
|
|
|
|
|
|
|
|
|
|
</div>
|