site: start outline, add build files
This commit is contained in:
@@ -4,3 +4,4 @@
|
|||||||
.\#*
|
.\#*
|
||||||
|
|
||||||
.direnv/
|
.direnv/
|
||||||
|
result
|
||||||
Generated
+61
@@ -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
|
||||||
|
}
|
||||||
@@ -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/
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
});
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
#+TITLE: Datenschutzerklärung
|
||||||
|
#+AUTHOR: leo
|
||||||
|
#+LANGUAGE: de
|
||||||
@@ -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
@@ -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)
|
||||||
Reference in New Issue
Block a user