diff --git a/README.md b/README.md index 9c9833c..6bd2734 100644 --- a/README.md +++ b/README.md @@ -122,7 +122,7 @@ cargo fmt | `src/pages.rs` | Maud SSR templates and URL generation | | `src/notes.rs` | Note model and file-system persistence | | `src/markdown.rs` | Markdown to HTML with syntax highlighting | -| `src/syntax.rs` | syntect integration and per-theme tmTheme generation | +| `src/syntax.rs` | syntect integration and per-theme syntax color scheme generation | | `src/themes.rs` | 24 predefined themes and CSS variable engine | | `static/style.css` | Full application stylesheet | | `static/app.js` | Alpine.js component: preview, search, menus, tabs | @@ -134,3 +134,4 @@ This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See `LICENSE` for the full text. + diff --git a/src/pages.rs b/src/pages.rs index 1d1cc45..d813c6c 100644 --- a/src/pages.rs +++ b/src/pages.rs @@ -206,6 +206,7 @@ fn render_menu_bar(base: &Base<'_>) -> Markup { // From the manifest, so the title bar and the About page can // never disagree. This was a hardcoded "v0.1" that had already // drifted from the crate's 0.1.0. + // Don't hardcode versions like a dummy! span class="app-title" { (format!("EternaLibre Notes v{}", env!("CARGO_PKG_VERSION"))) } @@ -490,7 +491,7 @@ pub fn render_about(theme_name: &str, base: &Base<'_>) -> Markup { } } li { - a href="https://mentalnet.xyz/forgejo-v2/" rel="noopener noreferrer" { + a href="https://mentalnet.xyz/forgejo-v2/MARKMENTAL" rel="noopener noreferrer" { "Forgejo — mentalnet.xyz" } } diff --git a/static/style.css b/static/style.css index b8116ab..7a33011 100644 --- a/static/style.css +++ b/static/style.css @@ -701,7 +701,6 @@ button, input, select, textarea { .about-page main { flex: 1; padding: 40px; - max-width: 720px; overflow-y: auto; }