- Commit
- 36e594be33006cd68dadd19eb203f123b86e7f59
- Parent
- 3d9fac424dc65d85cc7574d414ed2d1e187d6427
- Author
- Pablo <pablo-pie@riseup.net>
- Date
Changed the navigation bar and footer
Yet another static site generator for Git 🙀️
Changed the navigation bar and footer
1 files changed, 5 insertions, 4 deletions
Status | Name | Changes | Insertions | Deletions |
Modified | src/main.rs | 2 files changed | 5 | 4 |
diff --git a/src/main.rs b/src/main.rs @@ -1379,10 +1379,11 @@ fn render_header(f: &mut File, title: PageTitle<'_>) -> io::Result<()> { writeln!(f, "<body>")?; writeln!(f, "<header>")?; writeln!(f, "<nav>")?; - writeln!(f, "<a href=\"/index.html\">")?; writeln!(f, "<img aria-hidden=\"true\" alt=\"Website logo\" src=\"/favicon.svg\">")?; - writeln!(f, "git.pablopie.xyz")?; - writeln!(f, "</a>")?; + writeln!(f, "<ul>")?; + writeln!(f, "<li><strong><a href=\"https://pablopie.xyz\">pablo</a></strong></li>")?; + writeln!(f, "<li><a href=\"/\">projects</a></li>")?; + writeln!(f, "</ul>")?; writeln!(f, "</nav>")?; writeln!(f, "</header>")?; @@ -1391,7 +1392,7 @@ fn render_header(f: &mut File, title: PageTitle<'_>) -> io::Result<()> { fn render_footer(f: &mut File) -> io::Result<()> { writeln!(f, "<footer>")?; - writeln!(f, "made with 💛 by <a rel=\"author\" href=\"https://pablopie.xyz/\">@pablo</a>")?; + writeln!(f, "made with ❤️ by <a rel=\"author\" href=\"https://pablopie.xyz/\">@pablo</a>")?; writeln!(f, "</footer>") }