M content/language/chapters/1-9_modules.html => content/language/chapters/1-9_modules.html +3 -1
@@ 22,9 22,11 @@ date: "2022-08-31"
{{ [component :Nujel #nil
"[import [red] :ansi]
-[println [red \"Test\"]] ; This should be printed in red in most terminal
+[println [red \"Test\"]] ; This should be printed in red in most terminals
+
[import [blue green] :ansi] ; You can also import multiple symbols at once
[println [cat [blue \"Te\"] [green \"st\"]]]
+
[import [yellow :as ansi-yellow] :ansi] ; Renaming is also possible
[println [ansi-yellow \"Test\"]]"] }}
A content/source.html => content/source.html +10 -0
@@ 0,0 1,10 @@
++++
+title: "Source"
+hide-prev-next: #t
++++
+
+<h1>Get the Nujel source code</h1>
+<p>Nujel is Free Software, licensed under a permissive MIT License and built in the open. As such you get full access to the source code hosted on <a href="https://git.sr.ht/~melchizedek6809/Nujel">SourceHut</a> or, if you prefer, you can also get it on <a href="https://github.com/Melchizedek6809/Nujel"/>GitHub</a>.</p>
+
+<h2>Get this Website's source</h2>
+<p>This Website is also available as Free Software, it currently shares a repository with the static site generator which powers this very site. You can check it out over on <a href="https://git.sr.ht/~melchizedek6809/nujel.net">SourceHut</a>.</p><
\ No newline at end of file
A deploy.sh => deploy.sh +2 -0
@@ 0,0 1,2 @@
+#!/bin/sh
+rm -rf deploy/ && ./main.nuj && rsync -avhe ssh deploy/ wolkenwelten.net:/home/nujel/nujel.net/<
\ No newline at end of file
M main.nuj => main.nuj +1 -3
@@ 7,7 7,6 @@
[import [get :as context/get] "ssg/context"]
[import [build :as content/build add-resources] "ssg/content"]
[import [add-default :as loader/add-default] "ssg/loader"]
-[import [deploy] "ssg/deployment"]
[import [load-builtin-themes load-components] "ssg/theme"]
[defn main [args]
@@ 20,5 19,4 @@
load-builtin-themes
load-components
content/build
- add-resources
- deploy]]
+ add-resources]]
D ssg/deployment.nuj => ssg/deployment.nuj +0 -5
@@ 1,5 0,0 @@
-[defn deploy [ctx]
- "Deploy everything for CTX"
- :export
- [pfmtln "Deploying!"]
- [return ctx]]