blob: 8dea28b7675bcfb334d041674361227bfd991128 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{{ "<!-- PROJECTS -->" | safeHTML }}
<section class="section projects" id="projects_{{ trim .File.Dir "/\\" }}">
{{ $path := replace .File.Dir "\\" "/" }}
{{ with .Title }}
<a href="/{{ $path }}" class="container-fluid padding-title">
<div class="row">
<div class="col-md-8 text-right">
<h2 class="section-heading">{{ . }}</h2>
<hr class="primary">
</div>
</div>
</a>
{{ end }}
<div class="container-fluid">
<div class="row no-gutter">
{{ if .Sections }}
{{/* Sort the list */}}
{{ partial "utils/ordered-list.html" (dict "list" .Sections "params" .Params "scratch" .Scratch) }}
{{ range (.Scratch.Get "list") }}
{{ .Render "limage" }}
{{ end }}
{{ .Scratch.Delete "list" }}
{{ end }}
</div>
</div>
</section>
|