Skip to content

Commit b13375f

Browse files
committed
fix css path;
1 parent 413ff00 commit b13375f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/site/contact.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub async fn contact(State(state): State<super::SiteState>) -> Markup {
1010
{ (PreEscaped(contact)) };
1111
};
1212
let extra_headers = html! {
13-
link rel="stylesheet" href="assets/css/post.css";
13+
link rel="stylesheet" href="/assets/css/post.css";
1414
};
1515
base("", description, extra_headers, content, Some(state))
1616
}

src/site/home.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ pub async fn home(State(state): State<super::SiteState>) -> Markup {
6363
}
6464
};
6565
let extra_headers = html! {
66-
link rel="stylesheet" href="assets/css/home.css";
66+
link rel="stylesheet" href="/assets/css/home.css";
6767
link rel="authorization_endpoint" href="https://indieauth.com/auth";
6868
link rel="me" href="mailto:me@ezrizhu.com";
6969
link rel="alternate" title="Ezri's Blog" type="application/rss+xml" href="https://ezrizhu.com/blog.xml";

src/site/news.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub async fn news(State(state): State<super::SiteState>) -> Markup {
1818
}
1919
};
2020
let extra_headers = html! {
21-
link rel="stylesheet" href="assets/css/news.css";
21+
link rel="stylesheet" href="/assets/css/news.css";
2222
link rel="alternate" title="Ezri's news" type="application/rss+xml" href="https://ezrizhu.com/news.xml";
2323
link rel="alternate" title="Ezri's news" type="application/atom+xml" href="https://ezrizhu.com/news.atom";
2424
};

0 commit comments

Comments
 (0)