diff --git a/modules/blox-tailwind/layouts/events/page.html b/modules/blox-tailwind/layouts/events/page.html
index 23205789..ad177eec 100644
--- a/modules/blox-tailwind/layouts/events/page.html
+++ b/modules/blox-tailwind/layouts/events/page.html
@@ -56,10 +56,11 @@
{{ end }}
+ {{ $display_date := .Params.event_start | default .Date }}
- {{- if .Date | and (not .Params.hide_date) -}}
- {{- .Date | time.Format (site.Params.hugoblox.locale.date_format | default ":date_long") -}}
+ {{- if $display_date | and (not .Params.hide_date) -}}
+ {{- (time $display_date) | time.Format (site.Params.hugoblox.locale.date_format | default ":date_long") -}}
{{- if .Params.authors }}·{{ end -}}
{{- end -}}
@@ -353,11 +354,11 @@
{{ end }}
- {{ if .Params.event }}
+ {{ if .Params.event_name }}
{{ i18n "event" }}
{{ end }}
diff --git a/modules/blox-tailwind/layouts/single.html b/modules/blox-tailwind/layouts/single.html
index dc477f2f..d317e5a5 100644
--- a/modules/blox-tailwind/layouts/single.html
+++ b/modules/blox-tailwind/layouts/single.html
@@ -65,10 +65,11 @@
{{ end }}
+ {{ $display_date := .Params.event_start | default .Date }}
- {{- if .Date | and (not .Params.hide_date) -}}
- {{- .Date | time.Format (site.Params.hugoblox.locale.date_format | default ":date_long") -}}
+ {{- if $display_date | and (not .Params.hide_date) -}}
+ {{- (time $display_date) | time.Format (site.Params.hugoblox.locale.date_format | default ":date_long") -}}
{{- if .Params.authors }}·{{ end -}}
{{- end -}}
@@ -268,11 +269,11 @@
{{ end }}
- {{ if .Params.event }}
+ {{ if .Params.event_name }}
{{ i18n "event" }}
{{ end }}
diff --git a/templates/academic-cv/content/events/example/index.md b/templates/academic-cv/content/events/example/index.md
index 9b51d71b..3302a6a3 100644
--- a/templates/academic-cv/content/events/example/index.md
+++ b/templates/academic-cv/content/events/example/index.md
@@ -1,7 +1,8 @@
---
title: "Create Beautiful Presentations with Markdown"
+date: '2017-01-01T00:00:00Z'
-event: HugoBlox Showcase
+event_name: HugoBlox Showcase
event_url: https://hugoblox.com
location: Online & In-Person
@@ -17,11 +18,9 @@ abstract: |
Join us to explore HugoBlox's revolutionary Markdown-based slide system. Create beautiful presentations with code syntax highlighting, math equations, animations, and dual-column layouts. Edit your slides in any text editor, version control them with Git, and present them anywhere with just a browser. Experience true presentation freedom.
# Talk start and end times.
-date: '2030-06-01T13:00:00Z'
-date_end: '2030-06-01T15:00:00Z'
-all_day: false
-
-publishDate: '2017-01-01T00:00:00Z'
+event_start: '2030-06-01T13:00:00Z'
+event_end: '2030-06-01T15:00:00Z'
+event_all_day: false
authors:
- me
@@ -372,7 +371,9 @@ Each lecture gets its own slide deck, all version controlled, all editable by st
> [!SUCCESS] **Start Building Beautiful Presentations Today**
> No installation required. No account needed. Just Markdown and your creativity.
-{{< button url="https://docs.hugoblox.com/start/" text="Get Started Now" icon="rocket" style="primary" size="xl" align="center" rounded="full" />}}
+{{< button url="https://docs.hugoblox.com/start/" text="Get Started Now" icon="rocket-launch" style="primary" size="xl" align="center" rounded="full" />}}
+
+
{{< button url="https://docs.hugoblox.com/guides/studio/" text="Try HugoBlox Studio" icon="paint-brush" style="secondary" size="lg" align="center" rounded="lg" />}}