site: start outline, add build files

This commit is contained in:
leo
2026-07-22 04:40:08 +02:00
parent 6655b09f98
commit c93f235022
6 changed files with 120 additions and 0 deletions
+1
View File
@@ -4,3 +4,4 @@
.\#*
.direnv/
result
Generated
+61
View File
@@ -0,0 +1,61 @@
{
"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": 1784497964,
"narHash": "sha256-vlHUuqAcbcH2RKmHbPiuQzbv1pnzzavXnI62RD0bqCU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "241313f4e8e508cb9b13278c2b0fa25b9ca27163",
"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
}
+32
View File
@@ -0,0 +1,32 @@
{
description = "info.belastodon.social flake";
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 = nixpkgs.legacyPackages.${system};
in
{
packages.default = pkgs.stdenv.mkDerivation {
pname = "info.belastodon.social";
version = "0.1.0";
src = self;
nativeBuildInputs = [ (pkgs.emacsPackages.emacsWithPackages (epkgs: [ epkgs.org ])) ];
buildPhase = ''
emacs --batch -l ./publish.el
'';
installPhase = ''
mkdir -p $out
cp -r public/* $out/
'';
};
});
}
+3
View File
@@ -0,0 +1,3 @@
#+TITLE: Datenschutzerklärung
#+AUTHOR: leo
#+LANGUAGE: de
+10
View File
@@ -0,0 +1,10 @@
#+TITLE: info.belastodon.social
#+AUTHOR: leo
#+LANGUAGE: de
#+OPTIONS: toc:nil
#+OPTIONS: num:nil
Weiterführende links:
- [[./datenschutz.html][Datenschutzerklärung]]
- [[https://git.topfengolatsche.at/leo/info.belastodon.social][Quelltext]]
+13
View File
@@ -0,0 +1,13 @@
(require 'ox-publish)
(setq org-publish-project-alist
'(("info.belastodon.social"
:base-directory "./org"
:publishing-directory "./public"
:publishing-function org-html-publish-to-html
:recursive t
:with-toc t)))
(setq org-publish-timestamp-directory "./.org-timestamps/")
(org-publish-project "info.belastodon.social" t)