From f3da836f5e069a5385ca3288845deb7c0dcd0b47 Mon Sep 17 00:00:00 2001 From: Tom Hodson Date: Wed, 10 Mar 2021 18:12:17 +0100 Subject: [PATCH] start making a complex but cute portfolio --- _includes/archive-single-portfolio.html | 68 +++++++++++++++++++++++++ _pages/portfolio.html | 43 +++++++++++++++- _portfolio/1_phd.md | 7 ++- _portfolio/2_msc.html | 7 ++- _portfolio/3_cern.md | 4 +- 5 files changed, 123 insertions(+), 6 deletions(-) create mode 100644 _includes/archive-single-portfolio.html diff --git a/_includes/archive-single-portfolio.html b/_includes/archive-single-portfolio.html new file mode 100644 index 0000000..cfe1d1f --- /dev/null +++ b/_includes/archive-single-portfolio.html @@ -0,0 +1,68 @@ +{% include base_path %} + +{% if post.header.teaser %} + {% capture teaser %}{{ post.header.teaser }}{% endcapture %} +{% else %} + {% assign teaser = site.teaser %} +{% endif %} + +{% if post.id %} + {% assign title = post.title | markdownify | remove: "

" | remove: "

" %} +{% else %} + {% assign title = post.title %} +{% endif %} + +
+
+ {% if include.type == "grid" and teaser %} +
+ +
+ {% endif %} + + {% if post.image %} + + {% endif %} + +

+ {% if post.link %} + {{ title }} Permalink + {% else %} + {{ title }} + {% endif %} +

+ + {% if post.read_time %} +

{% include read-time.html %}

+ {% endif %} + + {% if post.collection == 'teaching' %} +

{{ post.type }}, {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

+ {% elsif post.collection == 'publications' %} +

Published in {{ post.venue }}, {{ post.date | default: "1900-01-01" | date: "%Y" }}

+ {% elsif post.date %} +

{{ site.data.ui-text[site.locale].date_label | default: "Published:" }}

+ {% endif %} + + {% if post.excerpt and site.read_more != 'enabled' %} +

{{ post.excerpt | markdownify }}

+ {% elsif post.excerpt and site.read_more == 'enabled' %} +

{{ post.excerpt | markdownify | remove: '

' | remove: '

' }} Read more

+ {% endif %} + + {% if post.citation and post.paperurl %} +

Recommended citation: {{ post.citation }} {{ post.paperurl }}

+ {% elsif post.citation %} +

Recommended citation: {{ post.citation }}

+ {% elsif post.paperurl %} +

Download here

+ {% endif %} + +
+
diff --git a/_pages/portfolio.html b/_pages/portfolio.html index d5c93d2..de59bfb 100644 --- a/_pages/portfolio.html +++ b/_pages/portfolio.html @@ -3,12 +3,53 @@ 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 %} +
+
+ +
+ {{post.alt}}} +
+
+

{{post.title}}

+ {% if post.subtitle %} +

{{post.subtitle}}

+ {% endif %} +
+

{{ post.excerpt | markdownify }}

+
+
+
+
+ {% endfor %} +
+ +{% comment %} +{% include feature_row %} + {% for post in site.portfolio %} - {% include archive-single.html %} + {% include archive-single-portfolio.html %} {% endfor %} +{% endcomment %} diff --git a/_portfolio/1_phd.md b/_portfolio/1_phd.md index d170343..256f9fe 100644 --- a/_portfolio/1_phd.md +++ b/_portfolio/1_phd.md @@ -1,7 +1,10 @@ --- -title: "PhD Project: The one-dimensional Long-Range Falikov-Kimball Model" -excerpt: "I study a simplified model of electrons moving about in a crystal.
" +title: "PhD Project" +subtitle: "The one-dimensional Long-Range Falikov-Kimball Model" +excerpt: "I study a simplified model of electrons moving about in a crystal." collection: portfolio +image: "phase_diagram.png" +alt: "A colourful scientific figure from my work." --- ## 2018 - 2021 (expected) diff --git a/_portfolio/2_msc.html b/_portfolio/2_msc.html index ed0b8f3..3a50838 100644 --- a/_portfolio/2_msc.html +++ b/_portfolio/2_msc.html @@ -1,7 +1,10 @@ --- -title: "Msc Project: Imaging Magnetic Phenomena with Scanning Diamond Magnetometry" -excerpt: "Built a 3D vector magnetometer in order to determine the axis of a defect in a nano-diamond.
" +title: "Msc Project" +subtitle: "Imaging Magnetic Phenomena with Scanning Diamond Magnetometry" +excerpt: "Built a 3D vector magnetometer in order to determine the axis of a defect in a nano-diamond." collection: portfolio +image: vector_magnet_angle_view.png +alt: "A vector magnet that I designed." ---

2018 Msc Thesis, Natural Sciences,Trinity College, Cambridge


diff --git a/_portfolio/3_cern.md b/_portfolio/3_cern.md index 739f266..4ea33fe 100644 --- a/_portfolio/3_cern.md +++ b/_portfolio/3_cern.md @@ -1,7 +1,9 @@ --- title: "CERN Summmer Studentship" -excerpt: "I worked at CERN for 3 months as a summer student, helping to design a high volume electronic measurement process for new silicon sensors for the LHC.
" +excerpt: "I worked at CERN for 3 months as a summer student, helping to design a high volume electronic measurement process for new silicon sensors for the LHC." collection: portfolio +image: CERN_probes.png +alt: "An image of some probes on a silicon wafer." --- ## 2017, CMS HGCAL Sensor Characterisation, CERN