Skip to content

Latest commit

 

History

History
77 lines (67 loc) · 3.32 KB

File metadata and controls

77 lines (67 loc) · 3.32 KB
layout default
title In2research Journeys

{% comment %} To inspect a variable you can do: {{this_year | inspect}}

Note that this_year is a string, but is converted as number adding 0 {% endcomment %}

{% assign authors_year = 0 | plus: 0 %} {% assign authors_names = "" | split: "," %} {% assign authors_stem_year = 0 | plus: 0 %} {% assign authors_stem_names = "" | split: "," %} {% assign this_year = site.time | date: '%Y' | plus: 0 %}

{% for author in site.authors %} {% if author.year == this_year %} {% assign author_url = author.url | prepend:site.baseurl | prepend: '' %} {% if author.programme == "STEMPoint" %} {% assign authors_stem_year = authors_stem_year | plus: 1 %} {% assign author_stem_name = author.name | prepend: author_url | append: '' %} {% assign authors_stem_names = authors_stem_names | push: author_stem_name %} {% else %} {% assign authors_year = authors_year | plus: 1 %} {% assign author_name = author.name | prepend: author_url | append: '' %} {% assign authors_names = authors_names | push: author_name %} {% endif %} {% endif %} {% endfor %}

Welcome to this In2research Journeys at ARC blog where ARC's placement students post a weekly summary of their experience while they learn. This year {{this_year}} we've got {{authors_year}} students: {{authors_names | short_natural | join: ", "}}. {% if authors_stem_year > 0 %} Additionally, we've got {{authors_stem_year}} workplace students from the STEMPoint programme, they are: {{authors_stem_names | short_natural | join: ", "}}.{% endif %}

You can subscribe to our [RSS feed]({{"feed.xml" | prepend: baseurl}}) if you'd like to get them on your favourite reader.

{% if site.posts.size > 0 %}

Latests Blog Posts

    {% assign count = 0 %} {% for post in site.posts %} {% assign count = count | plus: 1 %} {% if count <= 5 %} {% for author in site.authors %} {% if author.short_name == post.author %} {% assign author_url = author.url | prepend:site.baseurl %} {% assign author_avatar = author.github | prepend: "http://github.com/" | append: ".png" %} {% assign post_url = post.url | prepend:site.baseurl %}
  • {{ post.date | date_to_string }} » {{ post.author }} » {{ post.title }}

    {{ post.content | strip_html | truncate:250 }} Read more...

  • {% endif %} {% endfor %} {% endif %} {% endfor %}
{% endif %}

{% if site.categories.size > 0 %}

categories

{% endif %}