commit 4c2961a93bce947a83719b16d28c0ddab3bc0e59 Author: Liopold D. Novelli Date: Mon Sep 16 14:51:50 2024 +0200 Prvi komit. diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a957fa6 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +public +notes.org +.packages diff --git a/assets/custom.css b/assets/custom.css new file mode 100644 index 0000000..6911d54 --- /dev/null +++ b/assets/custom.css @@ -0,0 +1,8 @@ +@font-face { + font-family: CourierPrime; + src: url(fonts/CourierPrime-Regular.ttf); +} + +body { + font-family: CourierPrime; +} diff --git a/assets/favicon.ico b/assets/favicon.ico new file mode 100644 index 0000000..e6c5516 Binary files /dev/null and b/assets/favicon.ico differ diff --git a/assets/fonts/CourierPrime-Bold.ttf b/assets/fonts/CourierPrime-Bold.ttf new file mode 100644 index 0000000..d27ce71 Binary files /dev/null and b/assets/fonts/CourierPrime-Bold.ttf differ diff --git a/assets/fonts/CourierPrime-BoldItalic.ttf b/assets/fonts/CourierPrime-BoldItalic.ttf new file mode 100644 index 0000000..034d25d Binary files /dev/null and b/assets/fonts/CourierPrime-BoldItalic.ttf differ diff --git a/assets/fonts/CourierPrime-Italic.ttf b/assets/fonts/CourierPrime-Italic.ttf new file mode 100644 index 0000000..9f8dc6c Binary files /dev/null and b/assets/fonts/CourierPrime-Italic.ttf differ diff --git a/assets/fonts/CourierPrime-Regular.ttf b/assets/fonts/CourierPrime-Regular.ttf new file mode 100644 index 0000000..2a0f8bd Binary files /dev/null and b/assets/fonts/CourierPrime-Regular.ttf differ diff --git a/build-site.el b/build-site.el new file mode 100644 index 0000000..37bd0b8 --- /dev/null +++ b/build-site.el @@ -0,0 +1,70 @@ +;; Set the package installation directory so that packages aren't stored in the +;; ~/.emacs.d/elpa path. +(require 'package) +(setq package-user-dir (expand-file-name "./.packages")) +(setq package-archives '(("melpa" . "https://melpa.org/packages/") + ("elpa" . "https://elpa.gnu.org/packages/"))) + +;; Initialize the package system +(package-initialize) +(unless package-archive-contents + (package-refresh-contents)) + +;; Install dependencies +(package-install 'htmlize) + +;; Load the publishing system +(require 'ox-publish) + +;; 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 "") +;; @TODO fix favicon link +;; @TODO + ) + +(defvar novelli-html-head "") + +(defvar novelli-html-head-nested-1 (replace-regexp-in-string "../assets" "../../assets" novelli-html-head)) + +;; Define the publishing project +(setq org-publish-project-alist + (list + (list "org-site:main" + :recursive t + :base-directory "./content" + :publishing-function 'org-html-publish-to-html + :publishing-directory "./public" + :with-author nil ;; Don't include author name + :with-creator t ;; Include Emacs and Org versions in footer + :with-toc t ;; Include a table of contents + :section-numbers nil ;; Don't include section numbers + :html-head novelli-html-head + :time-stamp-file nil) + (list "org-site:en" + :recursive t + :base-directory "./en" + :publishing-function 'org-html-publish-to-html + :publishing-directory "./public/en" + :with-author nil ;; Don't include author name + :with-creator t ;; Include Emacs and Org versions in footer + :with-toc t ;; Include a table of contents + :section-numbers nil ;; Don't include section numbers + :html-head novelli-html-head-nested-1 + :time-stamp-file nil + ) + (list "org-site:assets" + :base-directory "./assets" + :publishing-function 'org-publish-attachment + :base-extension "css\\|js\\|ttf\\|woff2\\|ico" + :publishing-directory "./assets" + ) + )) ;; Don't include time stamp in file + +;; Generate the site output +(org-publish-all t) + +(message "Build complete!") + diff --git a/build.sh b/build.sh new file mode 100755 index 0000000..169b6ef --- /dev/null +++ b/build.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +emacs -Q --script build-site.el + +# rsync to server diff --git a/content/.#index.org b/content/.#index.org new file mode 120000 index 0000000..0ad8731 --- /dev/null +++ b/content/.#index.org @@ -0,0 +1 @@ +len@debilan.21605:1726417111 \ No newline at end of file diff --git a/content/index.org b/content/index.org new file mode 100644 index 0000000..374cb8f --- /dev/null +++ b/content/index.org @@ -0,0 +1,9 @@ +#+TITLE: Liopold D. Novelli +#+OPTIONS: toc:nil + +* Dejavnosti + +- so-avtor tehnološko kritične radijske oddaje [[https://radiostudent.si/druzba/tehno-klistir][Tehno klistr]] +- organizator samoupravne samogostiteljske skupnosti [[https://kompot.si][Kompot]] +- regijski predstavnik programa [[https://nlnet.nl/NGI0/][NGI0]] +- [[https://www.drupal.org/u/useernamee][Drupal/PHP razvijalec]] diff --git a/en/index.org b/en/index.org new file mode 100644 index 0000000..c47d837 --- /dev/null +++ b/en/index.org @@ -0,0 +1,10 @@ +#+TITLE: Liopold D. Novelli +#+OPTIONS: toc:nil +#+LANGUAGE: en + +* Activites + +- co-host of a monthly tech-critical radio show Techno enema at Radio Student +- comunity organizer of selfhosting collective Compote +- regional representative of NGI0 +- Drupal/PHP developer