From 88365d548fc5018638964c557cc7f15529a04526 Mon Sep 17 00:00:00 2001 From: Maarten Coonen Date: Tue, 13 Aug 2024 09:43:52 +0200 Subject: [PATCH] Include link to Authors page on each Post --- _includes/post_meta.html | 7 ++++++- _layouts/post.html | 2 +- _pages/our-authors.html | 14 ++------------ _posts/2024-07-24-hello-world.md | 2 +- index.html | 2 +- 5 files changed, 11 insertions(+), 16 deletions(-) diff --git a/_includes/post_meta.html b/_includes/post_meta.html index 10bf10a..0555542 100644 --- a/_includes/post_meta.html +++ b/_includes/post_meta.html @@ -7,7 +7,12 @@ {% if include.type == "post-card-meta" %} {% endif %} - {% if document.author %} + {% if document.author and include.hyperlink == "true" %} + + by {{document.author}} + + {% elsif document.author and include.hyperlink != "true" %} + by {{document.author}} {% endif %} diff --git a/_layouts/post.html b/_layouts/post.html index b06a3ac..0a89fc1 100755 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -24,7 +24,7 @@

{{ page.title }}

- {% include post_meta.html type="post-page-meta" %} + {% include post_meta.html type="post-page-meta" hyperlink="true" %}
{% include sidebar.html context="post" class="side" id="sidebar" %} {% if page.toc %}{% include sidebar-toc.html %}{% endif %} diff --git a/_pages/our-authors.html b/_pages/our-authors.html index dc50e78..cdb6aaa 100644 --- a/_pages/our-authors.html +++ b/_pages/our-authors.html @@ -10,6 +10,7 @@
+ Maarten Coonen

Maarten Coonen

@@ -35,12 +36,6 @@

Maarten Coonen

torquent per conubia nostra, per inceptos himenaeos. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. - - Suspendisse sem ligula, venenatis ac mi quis, aliquet pharetra risus. Nunc tristique congue rhoncus. Nulla - euismod lectus sit amet facilisis euismod. Nam malesuada posuere sem, ac fermentum tortor mollis eu. Nam - tincidunt bibendum eros et ultricies. Mauris facilisis non magna vitae aliquet. Ut non ligula lorem. Ut - cursus fermentum dolor, at dictum mauris tempus a. Mauris elit metus, laoreet ac elit non, congue malesuada - ipsum. In vulputate purus neque, vitae convallis nisl vehicula at.

@@ -48,6 +43,7 @@

Maarten Coonen

+ Maryam Mazaheri

Maryam Mazaheri

@@ -73,12 +69,6 @@

Maryam Mazaheri

torquent per conubia nostra, per inceptos himenaeos. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. - - Suspendisse sem ligula, venenatis ac mi quis, aliquet pharetra risus. Nunc tristique congue rhoncus. Nulla - euismod lectus sit amet facilisis euismod. Nam malesuada posuere sem, ac fermentum tortor mollis eu. Nam - tincidunt bibendum eros et ultricies. Mauris facilisis non magna vitae aliquet. Ut non ligula lorem. Ut - cursus fermentum dolor, at dictum mauris tempus a. Mauris elit metus, laoreet ac elit non, congue malesuada - ipsum. In vulputate purus neque, vitae convallis nisl vehicula at.

diff --git a/_posts/2024-07-24-hello-world.md b/_posts/2024-07-24-hello-world.md index b6362ea..9eddc44 100644 --- a/_posts/2024-07-24-hello-world.md +++ b/_posts/2024-07-24-hello-world.md @@ -7,7 +7,7 @@ description: Welcome to the first post date: 2024-07-24 img: posts/world.jpg tags: [general] -author: Maarten Coonen +author: Maryam Mazaheri --- ### Hello world diff --git a/index.html b/index.html index de8be19..497820f 100755 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@

WORKING TITLE Tech Talk

- Read first-hand stories and experiences by developers in Maastricht University Library's Tech Talk (WORKING TITLE). + Read first-hand stories and experiences by developers from Maastricht University Library in Tech Talk (WORKING TITLE).