From 2383c813c18bab84011e0677aba0c9de3692ebef Mon Sep 17 00:00:00 2001 From: Asmir A Date: Wed, 15 Nov 2023 16:43:50 +0100 Subject: [PATCH] theme: anemone -> DeepThought --- config.toml | 4 +++- flake.lock | 19 ++++++++++++++++++- flake.nix | 10 ++++++++-- 3 files changed, 29 insertions(+), 4 deletions(-) diff --git a/config.toml b/config.toml index 97c55de..dd7fd2e 100644 --- a/config.toml +++ b/config.toml @@ -7,7 +7,9 @@ compile_sass = true # Whether to build a search index to be used later on by a JavaScript library build_search_index = false -theme = "anemone" +theme = "DeepThought" + +minify_html = true [markdown] highlight_code = true diff --git a/flake.lock b/flake.lock index a7641e8..9d4df31 100644 --- a/flake.lock +++ b/flake.lock @@ -19,7 +19,8 @@ "root": { "inputs": { "nixpkgs": "nixpkgs", - "theme_anemone": "theme_anemone" + "theme_anemone": "theme_anemone", + "theme_deepthought": "theme_deepthought" } }, "theme_anemone": { @@ -37,6 +38,22 @@ "repo": "anemone", "type": "github" } + }, + "theme_deepthought": { + "flake": false, + "locked": { + "lastModified": 1681035730, + "narHash": "sha256-dzhfGmhuNCbloqknM7lVnFbNYmf2/ue7az6DQok44yM=", + "owner": "RatanShreshtha", + "repo": "DeepThought", + "rev": "430c1d5085dd6bea4cd6bd2d55003db67ba6bea0", + "type": "github" + }, + "original": { + "owner": "RatanShreshtha", + "repo": "DeepThought", + "type": "github" + } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 2b7e68d..8611d8d 100644 --- a/flake.nix +++ b/flake.nix @@ -5,10 +5,16 @@ flake = false; }; + inputs.theme_deepthought = { + url = "github:RatanShreshtha/DeepThought"; + flake = false; + }; + outputs = { self, nixpkgs, theme_anemone, + theme_deepthought, }: let supportedSystems = ["x86_64-linux" "aarch64-linux"]; forAllSystems = nixpkgs.lib.genAttrs supportedSystems; @@ -16,7 +22,7 @@ url_deploy = "https://project-cloud.net"; url_local = "http://localhost:8080"; name = "project-cloud"; - theme = theme_anemone; + theme = theme_deepthought; package = system: url: pkgs.${system}.stdenv.mkDerivation { inherit name; @@ -26,7 +32,7 @@ submodules = true; buildPhase = '' - ln -s ${theme} themes/anemone + ln -s ${theme} themes/DeepThought zola build -u ${url} '';