From 1e98743bf7935e625fa45d259d4e024a73c1a8d3 Mon Sep 17 00:00:00 2001 From: Tom Hodson Date: Thu, 11 Mar 2021 13:02:40 +0100 Subject: [PATCH] finish cute portfolio --- _includes/archive-single-portfolio.html | 25 +++++++++++-------------- _pages/portfolio.html | 25 +++++++------------------ 2 files changed, 18 insertions(+), 32 deletions(-) diff --git a/_includes/archive-single-portfolio.html b/_includes/archive-single-portfolio.html index cfe1d1f..a7307b3 100644 --- a/_includes/archive-single-portfolio.html +++ b/_includes/archive-single-portfolio.html @@ -12,24 +12,21 @@ {% assign title = post.title %} {% endif %} + +
- {% if include.type == "grid" and teaser %} -
- -
- {% endif %} {% if post.image %} - +
{% endif %} - +

{% if post.link %} {{ title }} Permalink @@ -63,6 +60,6 @@ {% elsif post.paperurl %}

Download here

{% endif %} - +

diff --git a/_pages/portfolio.html b/_pages/portfolio.html index de59bfb..1b3226d 100644 --- a/_pages/portfolio.html +++ b/_pages/portfolio.html @@ -3,24 +3,15 @@ layout: archive title: "Portfolio" permalink: /portfolio/ author_profile: true -feature_row: - - image_path: /phase_diagram.png - alt: "placeholder image 1" - title: "PhD" - excerpt: "This is some sample content that goes here with **Markdown** formatting." - - image_path: vector_magnet_angle_view.png - title: "MSc" - excerpt: "This is some sample content that goes here with **Markdown** formatting." - - image_path: CERN_probes.png - alt: "placeholder image 2" - title: "CERN Summer School" - excerpt: "This is some sample content that goes here with **Markdown** formatting." - url: /portfolio/cern/ - --- {% include base_path %} +{% for post in site.portfolio %} + {% include archive-single-portfolio.html %} +{% endfor %} + +{% comment %}
{% for post in site.portfolio %} @@ -45,11 +36,9 @@ feature_row: {% endfor %}
-{% comment %} + {% include feature_row %} -{% for post in site.portfolio %} - {% include archive-single-portfolio.html %} -{% endfor %} + {% endcomment %}