Add a hide field

This commit is contained in:
2021-02-01 22:16:53 +01:00
parent ed190ef35a
commit 5b68510c0d
6 changed files with 13 additions and 9 deletions

View File

@@ -122,7 +122,7 @@
<h2 class='section-title'>{{.Lang.WorkExperience}} <span class="item-count">({{len .Work}})</span></h2>
</header>
<section id="work">
{{range $index, $w := .Work}}
{{range $index, $w := .Work}}{{if not .Hide}}
<section class="work-item">
{{if $w.Name -}}
{{if eq $index 0 -}}
@@ -168,7 +168,7 @@
</ul>{{end}}
</div>
</section>
{{- end}}
{{- end}}{{- end}}
</section>
</section>
{{- end}}

File diff suppressed because one or more lines are too long