From abb45156df0f3a795ab8710a3e4c70aeefb932b3 Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Tue, 2 Jul 2024 02:54:41 -0400 Subject: [PATCH] minor changes --- src/site/mod.rs | 2 +- src/site/post.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/site/mod.rs b/src/site/mod.rs index b82ce4b..f017346 100644 --- a/src/site/mod.rs +++ b/src/site/mod.rs @@ -60,7 +60,7 @@ pub fn base(title: &str, description: &str, extra_headers: Markup, content: Mark meta property="og:title" content=(title); meta property="og:description" content=(description); meta property="og:theme-color" content="#19191e"; - meta property="og:site_name" content="Ezri's Blog"; + meta property="og:site_name" content="ezri"; link rel="stylesheet" href="/assets/css/main.css"; (extra_headers) diff --git a/src/site/post.rs b/src/site/post.rs index d146deb..bb5c816 100644 --- a/src/site/post.rs +++ b/src/site/post.rs @@ -46,7 +46,7 @@ fn post(post: Post, state: SiteState, page_type: PageType) -> Markup { h1 class="p-name" { (post.title) }; div class="byline" { p { - "by " a class="p-author h-card" href="https://ezrizhu.com" target="_blank" { "Ezri" } + "by " a class="p-author h-card" href="https://ezrizhu.com" target="_blank" { "ezri" } @if matches!(page_type, PageType::Blog) { @let date_str = post.date.format("%B %d, %Y").to_string(); @let date_rfc3339 = post.date.to_rfc3339();