From 177c2a52b4d2303521856a512f3d79de8d30d1e2 Mon Sep 17 00:00:00 2001 From: Tom Wiesing <tkw01536@gmail.com> Date: Tue, 6 Jun 2017 16:10:44 +0200 Subject: [PATCH] Make posts nicer --- _config.yml | 21 ++++------ _includes/header.html | 1 - _includes/post_link.html | 24 +++++------ _includes/post_meta.html | 33 +++++++++++++++ _includes/tags_module.html | 29 ------------- _layouts/course.html | 2 +- _layouts/default.html | 4 +- _layouts/post.html | 41 +++++++++---------- _layouts/project.html | 2 +- _layouts/system.html | 2 +- _layouts/tagpage.html | 13 ------ _posts/2014-09-01-Professorship.md | 2 +- _posts/2014-11-14-PhD-Defense.md | 2 +- _posts/2015-04-01-New-Phd.md | 2 +- _posts/2015-05-08OpenDreamKit.md | 2 +- _posts/2015-05-15-recruiting.md | 2 +- _posts/2015-07-17-Best-Paper-Award-at-CICM.md | 2 +- _posts/2015-07-22-New-Demo-OEIS | 2 +- _posts/2016-07-11-KWARC-goes-FAU.md | 2 +- _posts/2016-07-26-Florian-substitute-prof.md | 2 +- _posts/2016-10-01-KWARC-established.md | 2 +- _posts/2016-10-01.md | 4 +- _posts/2017-01-19-MathModels-Workshop.md | 2 +- _posts/2017-03-24-WIAS.md | 2 +- _posts/2017-04-26-ODK-review.md | 2 +- _posts/2017-05-01-recruiting.md | 2 +- _tagpages/README.md | 15 ------- _tagpages/blogpost.md | 5 --- _tagpages/conference.md | 6 --- _tagpages/publication.md | 5 --- _tagpages/recruiting.md | 5 --- _tagpages/release.md | 5 --- _tagpages/talk.md | 6 --- _tagpages/workshop.md | 6 --- index.md | 12 +++--- news/index.html | 15 +++---- news/posts.html | 35 ---------------- 37 files changed, 102 insertions(+), 217 deletions(-) create mode 100644 _includes/post_meta.html delete mode 100644 _includes/tags_module.html delete mode 100644 _layouts/tagpage.html delete mode 100644 _tagpages/README.md delete mode 100644 _tagpages/blogpost.md delete mode 100644 _tagpages/conference.md delete mode 100644 _tagpages/publication.md delete mode 100644 _tagpages/recruiting.md delete mode 100644 _tagpages/release.md delete mode 100644 _tagpages/talk.md delete mode 100644 _tagpages/workshop.md delete mode 100644 news/posts.html diff --git a/_config.yml b/_config.yml index 8a1959b..bf3efe6 100644 --- a/_config.yml +++ b/_config.yml @@ -1,4 +1,3 @@ -# Permalinks permalink: pretty # Setup @@ -29,15 +28,9 @@ author: name: 'The KWARC Group' url: http://kwarc.info email: kohlhase@kwarc.info -# twitter: opendreamkit- semester: SS17 -collections: - tagpages: - output: true - permalink: /tag/:path - # Custom vars version: 0.3.0 repository: https://gl.kwarc.info/kwarc/website @@ -47,7 +40,10 @@ materialize: materialize jquery: jquery-3.2.1 fontawesome: font-awesome-4.7.0 +# Menu config menu: + - title: 'News' + url: '/news/' - title: 'People' folder: 'people' items: @@ -57,6 +53,7 @@ menu: url: 'https://kwarc.github.io/bibs/' - title: 'Research' folder: 'research' + - title: 'Systems' folder: 'systems' - title: 'Projects' @@ -65,14 +62,10 @@ menu: folder: 'students' - title: 'Teaching' folder: 'teaching' - - title: 'News' - url: '/news/' - - title: 'Sub' - items: - - title: 'Contact' - url: '/contact/' + - title: 'Contact' + url: '/contact/' - +# Settings for compressing everything compress_html: clippings: [] comments: ["<!-- ", " -->"] diff --git a/_includes/header.html b/_includes/header.html index 937093b..93d062e 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -30,5 +30,4 @@ {% include menu_single.html %} {% endif %} {% endfor %} -</li> </ul> \ No newline at end of file diff --git a/_includes/post_link.html b/_includes/post_link.html index d996920..4e33974 100644 --- a/_includes/post_link.html +++ b/_includes/post_link.html @@ -3,17 +3,13 @@ Expects the page representing the post as a 'post' variable. {% endcomment %} -<div class="post-link"> - <h3 class="post-title"> - <a href="{{ post.url }}"> - {{ post.title }} {{ post.subtitle }} - </a> - </h3> - <p class="post-meta" > - {% assign firsttag = post.tags | first %} - {% assign type = site.tagpages | where:"tag", firsttag | first %} - <span class="post-type">{{ type.title }} by {{post.author}}</span> - - {% if post.location %}<span class="post-location">{{post.location}}</span> - {% endif %} - <span class="post-date">{{ post.date | date_to_string }}</span> - </p> - </div> +<li class="collection-item"> + <h5> + <a href="{{post.url}}"> + {{post.title}} {{post.subtitle}} + </a> + </h5> + + {% assign post = page %} + {% include post_meta.html %} +</li> \ No newline at end of file diff --git a/_includes/post_meta.html b/_includes/post_meta.html new file mode 100644 index 0000000..8eae82d --- /dev/null +++ b/_includes/post_meta.html @@ -0,0 +1,33 @@ +{% comment %} + Shows meta information about a post. + Expects the 'post' to show as an argument. +{% endcomment %} + +by + +{% assign person = post.author %} +{% include people_chip.html %} + +on + +<div class="chip"> + {{ post.date | date_to_string }} +</div> + +{% if post.location %} + at + + <div class="chip"> + {{post.location}} + </div> +{% endif %} + +<br /> + +in + +{% for tag in post.tags %} + <div class="chip"> + {{tag}} + </div> +{% endfor %} \ No newline at end of file diff --git a/_includes/tags_module.html b/_includes/tags_module.html deleted file mode 100644 index 6b67e0b..0000000 --- a/_includes/tags_module.html +++ /dev/null @@ -1,29 +0,0 @@ -{% capture taglinks %} -{% if page.tags %} - {% assign firsttag = page.tags | first %} -{% endif %} -{% for node in site.tagpages %} - {% assign tag_size = site.tags[node.tag] | size %} - {% if firsttag == node.tag %} - {% assign firsttag_title = node.title %} - {% endif %} - {% if page.alltags or page.tags contains node.tag %} - ||{{ tag_size | prepend: '0000' | slice: -4, 4 }}|<span class="tag" ><a class="btn btn-default {% if node.class %}btn-{{ node.class }}{% endif %}" href="{{ node.url }}">{{ node.title }} {% if with_post_numbers %}<span class="badge">{{ tag_size }}</span>{% endif %}</a></span> - {% endif %} -{% endfor %} -{% endcapture %} -{% capture tags %}{% for node in site.tagpages %}|{{ node.tag }}{% endfor %}{% endcapture %} - -{% assign split_list = taglinks | split:'||' | sort | reverse %} -{% assign taglist = tags | split:'|' %} - -{% capture tagscontent %} -{% for tag_string in split_list %} - {% assign tag_string_parts = tag_string | split:'|' %} - {% assign nb_parts = tag_string_parts | size %} - {% if nb_parts > 1 %} - {{ tag_string_parts[1] }} - {% endif %} -{% endfor %} -{% endcapture %} - diff --git a/_layouts/course.html b/_layouts/course.html index 6800979..52bf807 100644 --- a/_layouts/course.html +++ b/_layouts/course.html @@ -8,7 +8,7 @@ layout: default <div class="card-content"> <span class="card-title">{{page.title}} ({{page.taught}})</span> {% assign person = page.instructor %} - Instructor: {% include people_chip.html person=person %} + Instructor: {% include people_chip.html %} </div> </div> </div> diff --git a/_layouts/default.html b/_layouts/default.html index f03a9d3..00c1613 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1,10 +1,8 @@ ---- -layout: compress ---- {% assign sorted_pages = site.pages | sort: "menu_order" %} <!DOCTYPE html> <html lang="en-us"> + <!-- url = {{page.url}} --> {% include head.html %} diff --git a/_layouts/post.html b/_layouts/post.html index 363096a..dbdf3f7 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -2,25 +2,22 @@ layout: default --- -<div class="post"> - {% assign with_post_numbers = false %} - {% include tags_module.html %} - <p class="post-meta" > - <span class="post-type">{{ firsttag_title }} by {{page.author}}</span> - - {% if page.location %}<span class="post-location">{{page.location}}</span> - {% endif %} - <span class="post-date">{{ page.date | date_to_string }}</span> - </p> - - {{ tagscontent }} - {% for tag in page.tags %} - {% if taglist contains tag %}{% else %} - <p class="error" >Tag without page: {{ tag }}</p> - {% endif %} - {% endfor %} - - - {{ content }} - - - -</div> +<div class="row"> + <div class="col s12 m5 right"> + <div class="card"> + <div class="card-content"> + <span class="card-title"> + {{ page.title }} + </span> + {% if post.subtitle %}<h6>{{post.subtitle}}</h6>{% endif %} + + {% assign post = page %} + {% include post_meta.html %} + + </div> + </div> + </div> + <p> + {{content}} + </p> +</div> \ No newline at end of file diff --git a/_layouts/project.html b/_layouts/project.html index 5c83614..ca8aaae 100644 --- a/_layouts/project.html +++ b/_layouts/project.html @@ -53,7 +53,7 @@ layout: default {% assign people = page.people | split: ',' %} {% for person in people %} - {% include people_chip.html person=person %} + {% include people_chip.html %} {% endfor %} </div> {% endif %} diff --git a/_layouts/system.html b/_layouts/system.html index 4ade3d6..19a226b 100644 --- a/_layouts/system.html +++ b/_layouts/system.html @@ -40,7 +40,7 @@ layout: default {% assign people = page.people | split: ',' %} {% for person in people %} - {% include people_chip.html person=person %} + {% include people_chip.html %} {% endfor %} </div> {% endif %} diff --git a/_layouts/tagpage.html b/_layouts/tagpage.html deleted file mode 100644 index d3c6287..0000000 --- a/_layouts/tagpage.html +++ /dev/null @@ -1,13 +0,0 @@ ---- -layout: default ---- - -<h1>Posts: {{ page.title }}</h1> - -<p><a href="{{ site.baseurl }}/news/posts/" >All posts</a></p> - -{{ content }} - -{% for post in site.tags[page.tag] %} - {% include post_link.html %} -{% endfor %} diff --git a/_posts/2014-09-01-Professorship.md b/_posts/2014-09-01-Professorship.md index 724c9d4..b95021f 100644 --- a/_posts/2014-09-01-Professorship.md +++ b/_posts/2014-09-01-Professorship.md @@ -3,6 +3,6 @@ layout: post author: mkohlhase title: Andrea Kohlhase starts Professorship at Hochschule Neu-Ulm tags: - - announcement + - Announcements --- Today, [Andrea Kohlhase](https://kwarc.info/people/akohlhase) starts her new position as a [Professor for Web Engineering and HCI](https://www.hs-neu-ulm.de/en/andrea-kohlhase/) at [Hochschule Neu-Ulm](https://www.hs-neu-ulm.de/). She retains her position as a guest researcher at KWARC. We are very proud of her and wish her the best at her new position. diff --git a/_posts/2014-11-14-PhD-Defense.md b/_posts/2014-11-14-PhD-Defense.md index 259b807..93b0070 100644 --- a/_posts/2014-11-14-PhD-Defense.md +++ b/_posts/2014-11-14-PhD-Defense.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: "Ph.D. Defense Fulya Horozal: Congratulations!" tags: - - announcement + - Announcements --- With great pleasure we announce that Fulya Horozal has just defended her Dissertation [A Framework for Defining Declarative Languages](https://svn.kwarc.info/repos/fhorozal/pubs/phd-thesis.pdf) today. diff --git a/_posts/2015-04-01-New-Phd.md b/_posts/2015-04-01-New-Phd.md index ff9ef78..89da750 100644 --- a/_posts/2015-04-01-New-Phd.md +++ b/_posts/2015-04-01-New-Phd.md @@ -3,6 +3,6 @@ layout: post author: mkohlhase title: "New KWARC Ph.D. Student: Dennis Müller" tags: - - announcement + - Announcements --- We are happy to welcome [Dennis Müller](https://kwarc.info/people/dmueller) to the KWARC group as a new Ph.D. student. Dennis received a Masters degree in Mathematics from Freiburg University and will be working on the [OAF Project](http://kwarc.info/projects/OAF), initially importing the PVS library into MathHub. diff --git a/_posts/2015-05-08OpenDreamKit.md b/_posts/2015-05-08OpenDreamKit.md index 1b0228a..afdca3a 100644 --- a/_posts/2015-05-08OpenDreamKit.md +++ b/_posts/2015-05-08OpenDreamKit.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: OpenDreamKit H2020 Grant accepted by EU tags: - - announcement + - Announcements --- We are delighted to announce that the Horizon 2020 proposal ``OpenDreamKit'' was accepted by the European commission: diff --git a/_posts/2015-05-15-recruiting.md b/_posts/2015-05-15-recruiting.md index 1d959c1..8892998 100644 --- a/_posts/2015-05-15-recruiting.md +++ b/_posts/2015-05-15-recruiting.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: KWARC is recruiting Ph.D. Candidates and PostDocs (multiple Projects) tags: - - recruiting + - Recruiting --- The KWARC group at Jacobs University Bremen is looking for Ph.D. candidates and PostDocs in multiple MKM-related projects: e.g. OAF, OpenDreamKit (others are in the pipeline) diff --git a/_posts/2015-07-17-Best-Paper-Award-at-CICM.md b/_posts/2015-07-17-Best-Paper-Award-at-CICM.md index cfd2030..110959c 100644 --- a/_posts/2015-07-17-Best-Paper-Award-at-CICM.md +++ b/_posts/2015-07-17-Best-Paper-Award-at-CICM.md @@ -3,6 +3,6 @@ layout: post author: mkohlhase title: Best Paper Award at CICM tags: - - announcement + - Announcements --- Mihnea Iancu and Michael Kohlhase received the best paper award at [CICM 2015](http://cicm-conference.org/2015/cicm.php) in Washington DC, USA (MKM/DML tracks) for their paper Math [Literate Knowledge Management via Induced Material](http://kwarc.info/kohlhase/papers/cicm15-induced.pdf) diff --git a/_posts/2015-07-22-New-Demo-OEIS b/_posts/2015-07-22-New-Demo-OEIS index ac14d07..97bc7ee 100644 --- a/_posts/2015-07-22-New-Demo-OEIS +++ b/_posts/2015-07-22-New-Demo-OEIS @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: New Demo - Text and Formula search for OEIS tags: - - demo + - Demos --- Search engine for the [On-line Encyclopedia of Integer Sequences](https://oeis.org) based on [MathWebSearch](https://search.mathweb.org) and [MMT](https://trac.kwarc.info/MMT). diff --git a/_posts/2016-07-11-KWARC-goes-FAU.md b/_posts/2016-07-11-KWARC-goes-FAU.md index 55ae9d7..e0afc43 100644 --- a/_posts/2016-07-11-KWARC-goes-FAU.md +++ b/_posts/2016-07-11-KWARC-goes-FAU.md @@ -3,6 +3,6 @@ layout: post author: mkohlhase title: KWARC goes FAU Erlangen-Nürnberg tags: - - announcement + - Announcements --- Michael Kohlhase has accepted an offer for the Professorship for Knowledge Representation and Processing at [FAU Erlangen-Nürnberg](http://cs.fau.de) starting September 1. 2016. He will be an adjunct professor at [Jacobs University](http://jacobs-university.de) for another year; the actual move of the group will be over fall. diff --git a/_posts/2016-07-26-Florian-substitute-prof.md b/_posts/2016-07-26-Florian-substitute-prof.md index e727435..68f2bf9 100644 --- a/_posts/2016-07-26-Florian-substitute-prof.md +++ b/_posts/2016-07-26-Florian-substitute-prof.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: Florian Rabe named Substitute Professor at Jacobs University tags: - - announcement + - Announcements --- PD Dr. Florian Rabe (the KWARC PostDoc of many years) has been named a substitute professor at [Jacobs University](http://www.jacobs-univesity.de) for the Spring diff --git a/_posts/2016-10-01-KWARC-established.md b/_posts/2016-10-01-KWARC-established.md index 992de4a..6691f12 100644 --- a/_posts/2016-10-01-KWARC-established.md +++ b/_posts/2016-10-01-KWARC-established.md @@ -3,6 +3,6 @@ layout: post author: mkohlhase title: KWARC established at FAU tags: - - announcement + - Announcements --- With Dennis Müller movint to Erlangen, we have (the beginnings of) a group presence at FAU. The Winter semester begins later this month with an AI course. diff --git a/_posts/2016-10-01.md b/_posts/2016-10-01.md index dc98b31..604de9e 100644 --- a/_posts/2016-10-01.md +++ b/_posts/2016-10-01.md @@ -3,6 +3,6 @@ layout: post author: mkohlhase title: KWARC established at FAU tags: - - announcement + - Announcements --- -With Dennis Müller movint to Erlangen, we have (the beginnings of) a group presence at FAU. +With Dennis Müller moving to Erlangen, we have (the beginnings of) a group presence at FAU. diff --git a/_posts/2017-01-19-MathModels-Workshop.md b/_posts/2017-01-19-MathModels-Workshop.md index bdc40e7..0626069 100644 --- a/_posts/2017-01-19-MathModels-Workshop.md +++ b/_posts/2017-01-19-MathModels-Workshop.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: Math Modeling Workshop at FAU; Math-in-the-Middle Ontology tags: - - workshop + - Workshops --- KWARC had a very productive workshop on modeling mathematical models with two members of the diff --git a/_posts/2017-03-24-WIAS.md b/_posts/2017-03-24-WIAS.md index f259c93..21afa72 100644 --- a/_posts/2017-03-24-WIAS.md +++ b/_posts/2017-03-24-WIAS.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: Report on the WP6-WIAS Workshop on Math-in-the-Middle Content tags: - - workshop + - Workshops --- WP6 participants JacU (Florian Rabe), FAU (Dennis Müller, Michael Kohlhase) and UZH (Paul diff --git a/_posts/2017-04-26-ODK-review.md b/_posts/2017-04-26-ODK-review.md index 1276ea2..66dbcd4 100644 --- a/_posts/2017-04-26-ODK-review.md +++ b/_posts/2017-04-26-ODK-review.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: First OpenDreamKit Review tags: -- announcement +- Announcements - ODK --- diff --git a/_posts/2017-05-01-recruiting.md b/_posts/2017-05-01-recruiting.md index f1f3a6e..960b17e 100644 --- a/_posts/2017-05-01-recruiting.md +++ b/_posts/2017-05-01-recruiting.md @@ -3,7 +3,7 @@ layout: post author: mkohlhase title: KWARC is recruiting Ph.D. Candidates and PostDocs (multiple Projects) tags: - - recruiting + - Recruiting --- The KWARC group at [FAU Erlangen-Nürnberg](http://cs.fau.de) is looking for Ph.D. candidates and PostDocs in multiple MKM-related projects: e.g. OAF, OpenDreamKit (others are in the pipeline) diff --git a/_tagpages/README.md b/_tagpages/README.md deleted file mode 100644 index 999f9e5..0000000 --- a/_tagpages/README.md +++ /dev/null @@ -1,15 +0,0 @@ -This folder contains a page for each *tag* on the website. Tags are used to organize -posts by thematics. The tag system works almost automatically except that we need -to explicitly create a page for each tag we use (due to some limitations of jekyll -gitHub pages). - -For each tag, we create a *almost empty* *md* file which only contains: - - --- - layout: tagpage - tag: my-tag-name - title: My tag Title - class: (optional) either software (appears in yellow), keyword (appears in green), or event (appears in blue) - --- - -Use the other tag pages as examples. diff --git a/_tagpages/blogpost.md b/_tagpages/blogpost.md deleted file mode 100644 index 393cf46..0000000 --- a/_tagpages/blogpost.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: tagpage -tag: blogpost -title: Blogpost ---- diff --git a/_tagpages/conference.md b/_tagpages/conference.md deleted file mode 100644 index e559ccf..0000000 --- a/_tagpages/conference.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: tagpage -tag: conference -title: Conference -class: event ---- diff --git a/_tagpages/publication.md b/_tagpages/publication.md deleted file mode 100644 index 77fe5e8..0000000 --- a/_tagpages/publication.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: tagpage -tag: publication -title: Publication ---- diff --git a/_tagpages/recruiting.md b/_tagpages/recruiting.md deleted file mode 100644 index 512c269..0000000 --- a/_tagpages/recruiting.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: tagpage -tag: recruiting -title: Recruiting ---- diff --git a/_tagpages/release.md b/_tagpages/release.md deleted file mode 100644 index 8995009..0000000 --- a/_tagpages/release.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: tagpage -tag: release -title: Release ---- diff --git a/_tagpages/talk.md b/_tagpages/talk.md deleted file mode 100644 index da9ccc2..0000000 --- a/_tagpages/talk.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: tagpage -tag: talk -class: event -title: Talk ---- diff --git a/_tagpages/workshop.md b/_tagpages/workshop.md deleted file mode 100644 index 8e40225..0000000 --- a/_tagpages/workshop.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: tagpage -tag: workshop -title: Workshop -class: event ---- diff --git a/index.md b/index.md index f95cc43..7490993 100644 --- a/index.md +++ b/index.md @@ -10,13 +10,15 @@ We extend techniques from [formal methods](http://kwarc.info/semantics.html#fm) We concentrate on developing techniques for marking up the [structural semantics](http://kwarc.info/semantics.html#ssem) in technical documents. This level of markup allows for offering interesting [knowledge management services](http://kwarc.info/projects/) without forcing the author to formalize the document contents. + - -## Recent News ([see all](/news/posts/)) +## Recent News ([see all](/news/)) -{% for post in site.posts limit:5 %} - {% include post_link.html %} -{% endfor %} +<ul class="collection"> + {% for post in site.posts limit:5 %} + {% include post_link.html %} + {% endfor %} +</ul> <p>© {{ site.time | date: '%Y' }}. All rights reserved.</p> diff --git a/news/index.html b/news/index.html index ab7ad4f..62ef549 100644 --- a/news/index.html +++ b/news/index.html @@ -4,15 +4,12 @@ title: News source: _posts/ --- -{% comment %} - To add a new blog/news post, please create a file in the _posts/ - directory, taking the existing files as examples. -{% endcomment %} - <div class="posts"> - {% for post in paginator.posts %} - {% include post_link.html %} - {% endfor %} + <ul class="collection"> + {% for post in paginator.posts %} + {% include post_link.html %} + {% endfor %} + </ul> </div> -{% include pagination.html %} +{% include pagination.html %} \ No newline at end of file diff --git a/news/posts.html b/news/posts.html deleted file mode 100644 index e4077cd..0000000 --- a/news/posts.html +++ /dev/null @@ -1,35 +0,0 @@ ---- -layout: page -title: Project Activites -alltags: True -menu_order: 101 ---- - -{% comment %} -Project activities are generated through the /_posts/ folder -{% endcomment %} - -<h2>By tag</h2> - -{% assign with_post_numbers = true %} -{% include tags_module.html %} - -<div class="tagcloud" > - <span class="tag" > - <a class="btn btn-default" href="{{ site.blog_path}}"> - All activites <span class="badge">{{ site.posts.size }}</span> - </a> - </span> - {{ tagscontent }} -</div> - -<h2>Most recent Posts (<a href="{{site.blog_path}}">See all</a>)</h2> - -{% for post in site.posts %} - {% if forloop.index < 5 %} - {% include post_link.html %} - {% endif %} -{% endfor %} - - - -- GitLab