simple-web-app

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit c953ac2c7df3a4adff539fd7399bcdfcbd41329b
parent 7372fc6f6be891d593d6cec55f04c450406af26b
Author: Silas Brack <silasbrack@gmail.com>
Date:   Sat, 13 Jun 2026 15:11:55 +0200

fix: HTML validation, meta description, clean up flake

- Remove trailing slashes on void elements (W3C validator)
- Add meta description (PageSpeed SEO)
- Remove dead flake deps: quicktype, openssl, cargo-edit,
  rust-analyzer (redundant), wasm32-wasip2 target

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Diffstat:
Mflake.nix | 8--------
Mtemplates/application.html | 7++++---
2 files changed, 4 insertions(+), 11 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -150,7 +150,6 @@ "rust-src" "rust-analyzer" ]; - targets = [ "wasm32-wasip2" ]; }; in { @@ -158,15 +157,8 @@ packages = with pkgs; [ rustToolchain pkg-config - openssl sqlite - - # Development tools cargo-watch - cargo-edit - rust-analyzer - quicktype - ] ++ lib.optionals pkgs.stdenv.isDarwin [ pkgs.darwin.apple_sdk.frameworks.Security pkgs.darwin.apple_sdk.frameworks.SystemConfiguration diff --git a/templates/application.html b/templates/application.html @@ -1,12 +1,13 @@ <!doctype html> <html lang="en"> <head> - <meta charset="utf-8" /> + <meta charset="utf-8"> <title>News</title> - <meta name="viewport" content="width=device-width, initial-scale=1" /> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <meta name="description" content="A community-driven link aggregator"> <script type="module" src="/static/datastar.js"></script> <script type="module" src="/static/validation-enhancer.js"></script> - <link rel="stylesheet" href="/static/style.css" /> + <link rel="stylesheet" href="/static/style.css"> </head> <body> <header class="site-header">