From 397b73daa592887f7a0fa47ba14a6d5d3a94d206 Mon Sep 17 00:00:00 2001
From: Kaan Cimir <kaan.cimir@uni.lu>
Date: Fri, 1 Dec 2023 14:04:59 +0100
Subject: [PATCH] remove the date from events title - thanks mirek!

---
 _layouts/left_col.html | 2 +-
 _layouts/post.html     | 3 ++-
 elixir-theme.gemspec   | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/_layouts/left_col.html b/_layouts/left_col.html
index 27463b4..f739db0 100644
--- a/_layouts/left_col.html
+++ b/_layouts/left_col.html
@@ -22,7 +22,7 @@ layout: default
         <header>
             <h1 {% if page.section contains "Events" %}class="no-caps"{% endif %} data-section="{{ page.section }}">
                 {{ page.title | escape }}
-                {% if page.date %}<small>({{ page.date | date: '%F' }})</small>{% endif %}
+               {% if page.section contains "Events" %}{% else %}{% if page.date %}<small>({{ page.date | date: '%F' }})</small>{% endif %}{% endif %}
             </h1>
         </header>
         {% if page.image %}
diff --git a/_layouts/post.html b/_layouts/post.html
index b9c224a..40051e7 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -21,7 +21,8 @@ layout: default
     <header>
       <h1>
         {{ page.title | escape }}<br />
-      </h1>
+        <small>{{ page.date | date: '%B %d, %Y' }}</small>
+     </h1>
     </header>
 
     {{ content }}
diff --git a/elixir-theme.gemspec b/elixir-theme.gemspec
index 1246c9e..62f56c6 100644
--- a/elixir-theme.gemspec
+++ b/elixir-theme.gemspec
@@ -2,7 +2,7 @@
 
 Gem::Specification.new do |spec|
   spec.name          = "jekyll-elixir-theme"
-  spec.version       = "0.10.6"
+  spec.version       = "0.10.7"
   spec.authors       = ["jacek.lebioda"]
   spec.email         = ["jacek.lebioda@uni.lu"]
 
-- 
GitLab