diff options
Diffstat (limited to 'layouts/index.html')
| -rw-r--r-- | layouts/index.html | 49 |
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 }} |
