From 64914f85d3f5f21f82fd6ae48456b4ce02b96841 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Wed, 22 Oct 2025 19:08:01 +0200 Subject: [PATCH 1/2] Image --- projects/project-gestalt.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/project-gestalt.org b/projects/project-gestalt.org index 66b494b..c41bce2 100644 --- a/projects/project-gestalt.org +++ b/projects/project-gestalt.org @@ -1,5 +1,5 @@ #+title: Project Gestalt -[[./pg-logo.jpg]] +[[file:pg-logo.jpg][Logo]] * Description A modification for the Stellaris - popular computer game. Stellaris uses its own proprietary game logic language, therefore I firstly reverse-engineered it and then designed the modification. Project Gestalt is an expansion to the game, that adds the ability for psionics to become energetic beings, and many other features. It is available in Russian and English languages and has currently ~6300 active subscribers on Steam in total. The modification demonstrates a wide positive feedback. * Links From a0c38b8f3f09cf7535f915df69e9e12be6f63e61 Mon Sep 17 00:00:00 2001 From: Aleksandr Lebedev Date: Wed, 22 Oct 2025 19:16:00 +0200 Subject: [PATCH 2/2] FIxed files not being published --- package.nix | 53 +++++++++++++++++++++++++++++------------------------ 1 file changed, 29 insertions(+), 24 deletions(-) diff --git a/package.nix b/package.nix index 54c83dc..94033af 100644 --- a/package.nix +++ b/package.nix @@ -5,31 +5,37 @@ }: let src = ./.; buildScript = writeText "build-site.el" '' - ;; Load the publishing system - (require 'ox-publish) - ;; Define the publishing project - (setq org-publish-project-alist - (list - (list "kylekrein's website" - :recursive t - :base-directory "${src}" - :publishing-directory "./public" - :publishing-function 'org-html-publish-to-html - :with-author nil ;; Don't include author name - :with-creator t ;; Include Emacs and Org versions in footer - :with-toc nil ;; Include a table of contents - :section-numbers nil ;; Don't include section numbers - :time-stamp-file nil))) ;; Don't include time stamp in file + ;; Load the publishing system + (require 'ox-publish) + ;; Define the publishing project + (setq org-publish-project-alist + (list + (list "kylekrein's website" + :recursive t + :base-directory "${src}" + :publishing-directory "./public" + :publishing-function 'org-html-publish-to-html + :with-author nil ;; Don't include author name + :with-creator t ;; Include Emacs and Org versions in footer + :with-toc nil ;; Include a table of contents + :section-numbers nil ;; Don't include section numbers + :time-stamp-file nil) + (list "attachments" + :recursive t + :base-directory "${src}" + :base-extension "jpg\\|gif\\|png\\|css" + :publishing-directory "./public" + :publishing-function 'org-publish-attachment))) ;; Don't include time stamp in file - ;; Customize the HTML output - (setq org-html-validation-link nil ;; Don't show validation link - org-html-head-include-scripts nil ;; Use our own scripts - org-html-head-include-default-style nil ;; Use our own styles - org-html-head "") + ;; Customize the HTML output + (setq org-html-validation-link nil ;; Don't show validation link + org-html-head-include-scripts nil ;; Use our own scripts + org-html-head-include-default-style nil ;; Use our own styles + org-html-head "") - ;; Generate the site output - (org-publish-all t) - (message "Build complete!") + ;; Generate the site output + (org-publish-all t) + (message "Build complete!") ''; in stdenvNoCC.mkDerivation { @@ -40,7 +46,6 @@ in ''; installPhase = '' mkdir -p $out - cp ${./style.css} $out/style.css cd public cp -r . $out/ '';