aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts/projects
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/projects')
-rw-r--r--layouts/projects/list.html17
-rw-r--r--layouts/projects/single.html12
2 files changed, 29 insertions, 0 deletions
diff --git a/layouts/projects/list.html b/layouts/projects/list.html
new file mode 100644
index 0000000..926b540
--- /dev/null
+++ b/layouts/projects/list.html
@@ -0,0 +1,17 @@
+{{ define "main" }}
+
+ {{ .Content }}
+
+ <menu>
+ {{ $cardConfig := dict
+ "fullSummary" false
+ "showMeta" true
+ "showTags" true
+ "showCategories" true
+ }}
+ {{ range sort .Pages "Params.end_date" "desc" }}
+ {{ .Scratch.Set "cardConfig" $cardConfig }}
+ {{ partial "card.html" . }}
+ {{ end }}
+ </menu>
+{{ end }}
diff --git a/layouts/projects/single.html b/layouts/projects/single.html
new file mode 100644
index 0000000..8b86316
--- /dev/null
+++ b/layouts/projects/single.html
@@ -0,0 +1,12 @@
+{{ define "header" }}
+ <h1>{{ .Title }}</h1>
+ <div class="links-container">
+ {{ with .Params.github }}
+ {{ partial "links/github.html" . }}
+ {{ end }}
+ </div>
+{{ end }}
+
+{{ define "footer" }}
+ {{ partial "meta-tag_nav.html" . }}
+{{ end }}