website/themes/terminal-plus-minus/layouts/partials/author/projects.html

23 lines
757 B
HTML
Raw Normal View History

2019-09-01 17:51:06 +00:00
<!-- PROJECTS section -->
{{- with $.Site.Data.projects.list -}}
<section class="projects">
<h2>Projects</h2>
<div class="project">
{{- $projects := (sort . "id" "asc") -}}
{{- range $projects -}}
<h3 class="project__name">{{- .name -}}</h3>
{{- if .url -}}
<p class="project__link">LINK: <a href="{{ .url }}" target="_blank" rel="noopener">{{ .url }}</a></p>
{{- end -}}
{{- if .repo -}}
<p class="project__repo">REPO: <a href="{{ .repo }}" target="_blank" rel="noopener">{{ .repo }}</a></p>
{{- end -}}
{{- if .description -}}
<p class="project__description">{{- .description -}}</p>
{{- end -}}
{{- end -}}
</div>
</section>
{{- end -}}