From be186399f4c2a36fb8c884103f5690d4308df70c Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Sat, 18 Jul 2020 19:36:19 +0200 Subject: pkgs/profpatsch.de: add updated talkies MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’ve been expanding the list somewhat, it’s time to put them on the website. Moves them into a separate file, which was easier than expected. --- pkgs/profpatsch/profpatsch.de/default.nix | 7 +- pkgs/profpatsch/profpatsch.de/index.html.nix | 48 +-------- pkgs/profpatsch/profpatsch.de/talkies.js | 153 +++++++++++++++++++++++++++ 3 files changed, 163 insertions(+), 45 deletions(-) create mode 100644 pkgs/profpatsch/profpatsch.de/talkies.js diff --git a/pkgs/profpatsch/profpatsch.de/default.nix b/pkgs/profpatsch/profpatsch.de/default.nix index 3f042e77..23691883 100644 --- a/pkgs/profpatsch/profpatsch.de/default.nix +++ b/pkgs/profpatsch/profpatsch.de/default.nix @@ -40,6 +40,11 @@ let relativeFile = "jquery.js"; path = jquery; }; + jsTalkies = { + relativeDir = [ "js" ]; + relativeFile = "talkies.js"; + path = ./talkies.js; + }; cssNormalize = { relativeDir = [ "css" ]; relativeFile = "normalize.css"; @@ -79,7 +84,7 @@ let relativeDir = []; relativeFile = "index.html"; path = applyTemplate "index.html" ./index.html.nix { - inherit jsJquery; + inherit jsJquery jsTalkies; inherit cssNormalize cssMain; inherit cv_pdf id_txt; # preloading diff --git a/pkgs/profpatsch/profpatsch.de/index.html.nix b/pkgs/profpatsch/profpatsch.de/index.html.nix index 53381a05..c87190d9 100644 --- a/pkgs/profpatsch/profpatsch.de/index.html.nix +++ b/pkgs/profpatsch/profpatsch.de/index.html.nix @@ -1,4 +1,4 @@ -{ jsJquery +{ jsJquery, jsTalkies , cssNormalize, cssMain , id_txt, cv_pdf , fontsQuattrocentoLatin, fontsOpenSansLatin @@ -21,6 +21,7 @@ + @@ -31,6 +32,7 @@ + @@ -39,49 +41,7 @@

Profpatsch