aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/layouts/index.html
diff options
context:
space:
mode:
authorJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-12-25 17:17:21 -0500
committerJean-Pierre Appel <jeanpierre.appel01@gmail.com>2023-12-25 17:17:21 -0500
commitcc1220bfd794dff1fc28bd39cafb63c4b1093cf8 (patch)
tree8d51983970fc62457ed97599d784cfa150b5c766 /layouts/index.html
parenta181759e4a108c35fcf6898abbf17f2a424d85dc (diff)
rewrite layouts
Diffstat (limited to 'layouts/index.html')
-rw-r--r--layouts/index.html49
1 files changed, 49 insertions, 0 deletions
diff --git a/layouts/index.html b/layouts/index.html
new file mode 100644
index 0000000..de37c3e
--- /dev/null
+++ b/layouts/index.html
@@ -0,0 +1,49 @@
+{{ define "header" }}
+<!--Hello There! -->
+{{ end }}
+{{ define "main" }}
+<div class="featured">
+ <div class="featured-image-container">
+ <figure>
+ <img alt="JP Appel in a Cafe" src="/images/CrepeRestaurantHeadshot.jpg" title="Choco B Allentown - November 18, 2023" id="landing-image">
+ <figcaption>Choco B Allentown</figcaption>
+ </figure>
+ </div>
+ <div class="landing-content">
+ {{ .Content }}
+ </div>
+</div>
+<div class="recent-updates">
+ <div class="recent-projects">
+ <h4>Projects</h4>
+ <ul>
+ {{ range first 3 (where .Site.RegularPages "Section" "projects") }}
+ {{ partial "section_preview.html" . }}
+ {{ end }}
+ </ul>
+ </div>
+ <div class="recent-research">
+ <h4>Research</h4>
+ <ul>
+ {{ range first 3 (where .Site.RegularPages "Section" "research") }}
+ {{ partial "section_preview.html" . }}
+ {{ end }}
+ </ul>
+ </div>
+ <div class="recent-blog">
+ <h4>Blog</h4>
+ <ul>
+ {{ range (where .Site.RegularPages "Section" "blog") }}
+ {{ partial "section_preview.html" . }}
+ {{ end }}
+ </ul>
+ </div>
+</div>
+{{ end }}
+{{ define "footer" }}
+<div class="links-container">
+ {{ partial "links/email.html" . }}
+ {{ partial "links/github.html" "https://github.com/jpappel" }}
+ {{ partial "links/linkedin.html" . }}
+</div>
+{{ end }}