diff --git a/src/components/EventItem.astro b/src/components/EventItem.astro index c3b8a65..44f402e 100644 --- a/src/components/EventItem.astro +++ b/src/components/EventItem.astro @@ -47,7 +47,7 @@ function dateEnd(str, days) {
-
+
{dateFormat(item.date)}
{item.days && item.days > 1 &&
{dateFormat(dateEnd(item.date, item.days))}
@@ -67,11 +67,20 @@ function dateEnd(str, days) {
- \ No newline at end of file diff --git a/src/config.yaml b/src/config.yaml index 191a22a..6df5902 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -23,6 +23,8 @@ header: # url: /articles #- name: Leaderboard # url: /leaderboard + - name: Articles + link: mirror - name: Docs link: docs #- name: Manifesto diff --git a/src/layouts/base.astro b/src/layouts/base.astro index 425d891..5eb6e17 100644 --- a/src/layouts/base.astro +++ b/src/layouts/base.astro @@ -12,7 +12,7 @@ import cfonts from 'cfonts'; - {config.title} + {title ? title + ' | ' + config.title : config.title}