From 37ed14eeb04052c4736286eb031a7f40e16fd2f2 Mon Sep 17 00:00:00 2001 From: Daniel Nitsikopoulos Date: Sun, 24 Sep 2023 10:20:23 +1000 Subject: [PATCH] Rename "about" to "now" --- app/content/pages/{about.md => now.md} | 2 +- app/templates/layouts/app.html.slim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/content/pages/{about.md => now.md} (99%) diff --git a/app/content/pages/about.md b/app/content/pages/now.md similarity index 99% rename from app/content/pages/about.md rename to app/content/pages/now.md index 6818fd2..1022603 100644 --- a/app/content/pages/about.md +++ b/app/content/pages/now.md @@ -1,4 +1,4 @@ -# About +# Now ### Work diff --git a/app/templates/layouts/app.html.slim b/app/templates/layouts/app.html.slim index 2756400..1ce70c7 100644 --- a/app/templates/layouts/app.html.slim +++ b/app/templates/layouts/app.html.slim @@ -46,7 +46,7 @@ html a href="/" rel="me" class="u-url u-uid" h1 class="p-name uppercase text-sm md:text-sm text-gray-400 dark:text-gray-400" = Hanami.app.settings.site_name nav class="space-x-1 text-sm md:text-sm uppercase md:block" - a class="p-1 rounded hover:bg-pink-100 hover:text-pink-400 dark:hover:bg-pink-200 #{context.current_path.start_with?('/about') ? 'text-pink-600 bg-pink-50 dark:bg-pink-900 dark:text-pink-400' : 'text-gray-400'}" href="/about" About + a class="p-1 rounded hover:bg-pink-100 hover:text-pink-400 dark:hover:bg-pink-200 #{context.current_path.start_with?('/now') ? 'text-pink-600 bg-pink-50 dark:bg-pink-900 dark:text-pink-400' : 'text-gray-400'}" href="/now" Now span class="text-gray-400 dark:text-gray-600" = "/" a class="p-1 rounded hover:bg-blue-100 hover:text-blue-400 dark:hover:bg-blue-200 #{context.current_path.start_with?('/post') ? 'text-blue-400 bg-blue-50 dark:bg-blue-900 dark:text-blue-400' : 'text-gray-400'}" href="/posts" Writing