Compare commits

..

2 commits

Author SHA1 Message Date
a0c38b8f3f FIxed files not being published 2025-10-22 19:16:00 +02:00
64914f85d3 Image 2025-10-22 19:08:01 +02:00
2 changed files with 30 additions and 25 deletions

View file

@ -5,31 +5,37 @@
}: let }: let
src = ./.; src = ./.;
buildScript = writeText "build-site.el" '' buildScript = writeText "build-site.el" ''
;; Load the publishing system ;; Load the publishing system
(require 'ox-publish) (require 'ox-publish)
;; Define the publishing project ;; Define the publishing project
(setq org-publish-project-alist (setq org-publish-project-alist
(list (list
(list "kylekrein's website" (list "kylekrein's website"
:recursive t :recursive t
:base-directory "${src}" :base-directory "${src}"
:publishing-directory "./public" :publishing-directory "./public"
:publishing-function 'org-html-publish-to-html :publishing-function 'org-html-publish-to-html
:with-author nil ;; Don't include author name :with-author nil ;; Don't include author name
:with-creator t ;; Include Emacs and Org versions in footer :with-creator t ;; Include Emacs and Org versions in footer
:with-toc nil ;; Include a table of contents :with-toc nil ;; Include a table of contents
:section-numbers nil ;; Don't include section numbers :section-numbers nil ;; Don't include section numbers
:time-stamp-file nil))) ;; Don't include time stamp in file :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 ;; Customize the HTML output
(setq org-html-validation-link nil ;; Don't show validation link (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-scripts nil ;; Use our own scripts
org-html-head-include-default-style nil ;; Use our own styles org-html-head-include-default-style nil ;; Use our own styles
org-html-head "<link rel=\"stylesheet\" href=\"https://cdn.simplecss.org/simple.min.css\" />") org-html-head "<link rel=\"stylesheet\" href=\"https://cdn.simplecss.org/simple.min.css\" />")
;; Generate the site output ;; Generate the site output
(org-publish-all t) (org-publish-all t)
(message "Build complete!") (message "Build complete!")
''; '';
in in
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation {
@ -40,7 +46,6 @@ in
''; '';
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
cp ${./style.css} $out/style.css
cd public cd public
cp -r . $out/ cp -r . $out/
''; '';

View file

@ -1,5 +1,5 @@
#+title: Project Gestalt #+title: Project Gestalt
[[./pg-logo.jpg]] [[file:pg-logo.jpg][Logo]]
* Description * 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. 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 * Links