Skip to content

Commit 5fc6f1c

Browse files
committed
feat: add year to projects
1 parent 0e744e6 commit 5fc6f1c

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

content/projects/portfolio-project-3/index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ project types:
1919
- Contract
2020
- Consulting
2121

22+
year: 2018
23+
2224
techstack:
2325
- HTML/CSS
2426
- SQLite

themes/hugo-liftoff/layouts/partials/projects/project-entry.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ <h3 class="project-entry-title">
1414
<a href="{{ .Permalink }}">{{ .Title }}</a>
1515
<sup>{{ partial "general/label-drafts.html" . }}</sup>
1616
</h3>
17+
<h4>
18+
{{ .Params.year }}
19+
</h4>
1720
<div class="project-list-meta">
1821
{{ with .Params.techstack }}
1922
{{ range . }}

themes/hugo-liftoff/layouts/projects/single.html

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ <h1 class="page-header-title">
66
{{- .Title -}}
77
<sup>{{ partial "general/label-drafts.html" . }}</sup>
88
</h1>
9+
<h4>
10+
{{ .Params.year }}
11+
</h4>
912
<div class="project-list-meta">
1013
{{ with .Params.techstack }}
1114
{{ range . }}

0 commit comments

Comments
 (0)