website

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

commit 12786b795a3ef8ab575a01eb502b89b462444cea
parent 5aed2c9ae996ea39de4bcc9ee63f55250971a580
Author: Silas Brack <silasbrack@gmail.com>
Date:   Wed, 29 Apr 2026 07:33:41 +0200

chore: remove stale files

Remove flake.nix, flake.lock, pandoc template, README, and .fdignore.

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

Diffstat:
D.fdignore | 4----
DREADME.md | 11-----------
Dflake.lock | 61-------------------------------------------------------------
Dflake.nix | 29-----------------------------
Dpandoc/templates/default.html5 | 65-----------------------------------------------------------------
5 files changed, 0 insertions(+), 170 deletions(-)

diff --git a/.fdignore b/.fdignore @@ -1,4 +0,0 @@ -flake.lock -style.min.css -assets/ - diff --git a/README.md b/README.md @@ -1,11 +0,0 @@ -# Principles -- No JavaScript (only native HTML page interactivity) -- No custom fonts, use a range of [system fonts](https://modernfontstacks.com) -- Use MathML for math rendering -- Just raw HTML - -## Writing Posts -In practice, I use [pandoc](https://pandoc.org) to take my Obsidian notes and convert them to HTML. -In the process it also renders Latex as MathML! -For more details, see `convert.sh`. - diff --git a/flake.lock b/flake.lock @@ -1,61 +0,0 @@ -{ - "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1731533236, - "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "nixpkgs": { - "locked": { - "lastModified": 1758690382, - "narHash": "sha256-NY3kSorgqE5LMm1LqNwGne3ZLMF2/ILgLpFr1fS4X3o=", - "owner": "NixOS", - "repo": "nixpkgs", - "rev": "e643668fd71b949c53f8626614b21ff71a07379d", - "type": "github" - }, - "original": { - "owner": "NixOS", - "ref": "nixos-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, - "root": { - "inputs": { - "flake-utils": "flake-utils", - "nixpkgs": "nixpkgs" - } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } - } - }, - "root": "root", - "version": 7 -} diff --git a/flake.nix b/flake.nix @@ -1,29 +0,0 @@ -{ - description = "My web page (www.silasbrack.com)"; - inputs = { - nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; - flake-utils.url = "github:numtide/flake-utils"; - }; - - outputs = - { - self, - nixpkgs, - flake-utils, - }: - (flake-utils.lib.eachDefaultSystem ( - system: - let - pkgs = import nixpkgs { - inherit system; - }; - in - { - devShells.default = pkgs.mkShell { - buildInputs = with pkgs; [ - pandoc - ]; - }; - } - )); -} diff --git a/pandoc/templates/default.html5 b/pandoc/templates/default.html5 @@ -1,65 +0,0 @@ -<!doctype html> -<html - xmlns="http://www.w3.org/1999/xhtml" - lang="$lang$" - xml:lang="$lang$" - $if(dir)$ - dir="$dir$" - $endif$ -> - <head> - <meta charset="utf-8" /> - <meta name="generator" content="pandoc" /> - <meta - name="viewport" - content="width=device-width, initial-scale=1.0, user-scalable=yes" - /> - $for(author-meta)$ - <meta name="author" content="$author-meta$" /> - $endfor$ $if(date-meta)$ - <meta name="dcterms.date" content="$date-meta$" /> - $endif$ $if(keywords)$ - <meta name="keywords" content="$for(keywords)$$keywords$$sep$, $endfor$" /> - $endif$ $if(description-meta)$ - <meta name="description" content="$description-meta$" /> - $endif$ - <title>$if(title-prefix)$$title-prefix$ – $endif$$pagetitle$</title> - <style> - $styles.html()$ - </style> - $for(css)$ - <link rel="stylesheet" href="$css$" /> - $endfor$ $for(header-includes)$ $header-includes$ $endfor$ $if(math)$ $math$ - $endif$ - </head> - <body> - <article> - $for(include-before)$ $include-before$ $endfor$ $if(title)$ - <header id="title-block-header"> - <h1 class="title">$title$</h1> - $if(subtitle)$ - <p class="subtitle">$subtitle$</p> - $endif$ $for(author)$ - <p class="author">$author$</p> - $endfor$ $if(date)$ - <p class="date">$date$</p> - $endif$ $if(abstract)$ - <div class="abstract"> - <div class="abstract-title">$abstract-title$</div> - $abstract$ - </div> - $endif$ - </header> - $endif$ $if(toc)$ - <nav id="$idprefix$TOC" role="doc-toc"> - $if(toc-title)$ - <h2 id="$idprefix$toc-title">$toc-title$</h2> - $endif$ $table-of-contents$ - </nav> - $endif$ - <section> - $body$ $for(include-after)$ $include-after$ $endfor$ - </section> - </article> - </body> -</html>