rimarima/themes/hugo-liftoff/layouts/partials/projects/projects.html
Adrian Amaglio c09f092db4 init
2023-11-17 10:54:41 +01:00

38 lines
927 B
HTML

<div class="container">
<section class="page-header">
<h1 class="page-header-title">
{{- if eq .Kind "term" -}}
{{- .Title }} Projects
{{- else -}}
{{- .Title -}}
{{- end -}}
</h1>
<p class="page-header-desc">
{{- with .Params.Summary -}}
{{- . -}}
{{- else -}}
{{- with .Description -}}
{{- . -}}
{{- else -}}
{{- if eq .Kind "term" -}}
{{- .Title }} projects
{{- else -}}
{{- .Title -}}
{{- end }}
I've worked on.
{{- end -}}
{{- end -}}
</p>
</section>
<section>
{{ with .RegularPagesRecursive }}
<div class="project-list">
{{ range . }}
{{ partial "projects/project-entry.html" . }}
{{ end }}
</div>
{{ else }}
{{ partial "general/fallback-text.html" . }}
{{ end }}
</section>
</div>