- Commit
- de1997a74eaf34ef10126688839e76cc79afc713
- Parent
- 652d3e236e94bca8103d9b7c5de81ab7093e8bc8
- Author
- Pablo <pablo-pie@riseup.net>
- Date
Fixed a rendering bug
Yet another static site generator for Git 🙀️
Fixed a rendering bug
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 @@ -921,7 +921,7 @@ impl<'repo> RepoRenderer<'repo> { writeln!(&mut f, "<dl>")?; writeln!(&mut f, "<dt>Commit</dt>")?; - writeln!(&mut f, "<dd><a href=\"/{root}{name}/{COMMIT_SUBDIR}/{id}.html\">{id}<a/><dd>", + writeln!(&mut f, "<dd><a href=\"/{root}{name}/{COMMIT_SUBDIR}/{id}.html\">{id}</a><dd>", root = self.output_root, name = Escaped(self.name), id = commit.id())?; @@ -929,7 +929,7 @@ impl<'repo> RepoRenderer<'repo> { writeln!(&mut f, "<dt>Parent</dt>")?; writeln!( &mut f, - "<dd><a href=\"/{root}{name}/{COMMIT_SUBDIR}/{id}.html\">{id}<a/><dd>", + "<dd><a href=\"/{root}{name}/{COMMIT_SUBDIR}/{id}.html\">{id}</a><dd>", root = self.output_root, name = Escaped(self.name), id = parent.id()