29 lines
777 B
HTML
29 lines
777 B
HTML
|
<div class="container list-posts">
|
||
|
|
||
|
{{ $theses := where .Site.Pages "Params.type" "thesis" }}
|
||
|
|
||
|
{{ $ch1 := "on logic" }}
|
||
|
{{ $ch2 := "on free will"}}
|
||
|
|
||
|
{{ if eq .Title "theses" }}
|
||
|
<h1 class="list-title">{{ .Title }}</h1>
|
||
|
{{ end }}
|
||
|
|
||
|
<h3 class="chapter-title">{{ lower $ch1 }}</h3>
|
||
|
|
||
|
{{ range (where $theses "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 $theses "Params.chapter" $ch2).ByParam "section" }}
|
||
|
<article class="post-title">
|
||
|
<a href="{{ .Permalink }}" class="post-link">{{ .Title }}</a>
|
||
|
</article>
|
||
|
{{ end }}
|
||
|
|
||
|
</div>
|