- Commit
- 10f493a586d771981406cdfd9681368624e5e80c
- Parent
- 491b9956141762fd15bea0bed82751cb9f6a9173
- Author
- Pablo <pablo-pie@riseup.net>
- Date
Minor bug fixes
Yet another static site generator for Git 🙀️
Minor bug fixes
1 files changed, 2 insertions, 2 deletions
Status | Name | Changes | Insertions | Deletions |
Modified | src/main.rs | 2 files changed | 2 | 2 |
diff --git a/src/main.rs b/src/main.rs @@ -508,7 +508,7 @@ impl<'repo> RepoRenderer<'repo> { writeln!(&mut f, "</thead>")?; writeln!(&mut f, "<tbody>")?; writeln!(&mut f, "<tr>")?; - writeln!(&mut f, "<td><a href=\"..\" class=\"subtree\">..</a><td>")?; + writeln!(&mut f, "<td><a href=\"./\" class=\"subtree\">..</a><td>")?; writeln!(&mut f, "<td align=\"right\"></td>")?; writeln!(&mut f, "<td align=\"right\"></td>")?; writeln!(&mut f, "</tr>")?; @@ -1281,7 +1281,7 @@ fn render_header(f: &mut File, title: PageTitle<'_>) -> io::Result<()> { writeln!(f, "<title>{repo}</title>", repo = Escaped(repo_name))?; } PageTitle::TreeEntry { repo_name, path } => { - writeln!(f, "<title>/{repo} at {path}</title>", + writeln!(f, "<title>/{path} at {repo}</title>", repo = Escaped(repo_name), path = Escaped(&path.to_string_lossy()))?; }