Compare commits

..

No commits in common. "main" and "v1.1.0" have entirely different histories.
main ... v1.1.0

5 changed files with 32 additions and 28 deletions

8
.direnv/bin/nix-direnv-reload Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env bash
dir="$(realpath $(dirname ${BASH_SOURCE[0]})/../..)"
_nix_direnv_force_reload=1 direnv exec "$dir" true
direnv reload
# direnv reload updates the mtime of .envrc. Also update the timestamp of the
# profile_rc file to keep track that we actually are up to date.
touch $dir/.direnv/{nix,flake}-profile-*.rc

View file

@ -1,8 +1,5 @@
{ {pkgs ? import <nixpkgs> {}}:
pkgs ? import <nixpkgs> { }, with pkgs; let
}:
with pkgs;
let
vendoredDeps = stdenv.mkDerivation rec { vendoredDeps = stdenv.mkDerivation rec {
name = "hugoVendoredDeps"; name = "hugoVendoredDeps";
@ -25,27 +22,26 @@ let
outputHashMode = "recursive"; outputHashMode = "recursive";
outputHashAlgo = "sha256"; outputHashAlgo = "sha256";
outputHash = "sha256-XW1XbDgoAb2CDgbRiCErxkQC47xHJBNgGbSWJg8XzeE="; outputHash = "sha256-3suJ9/OXtEqm3eg1zCEoA0TrAN+dYu+l6YRWjB41c6w=";
}; };
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "brokentech.cloud-${version}"; name = "brokentech.cloud-${version}";
version = "1.1.1"; version = "1.1.0";
src = ./.; src = ./.;
nativeBuildInputs = [ nativeBuildInputs = [
go hugo
hugo ];
];
buildPhase = '' buildPhase = ''
ln -s ${vendoredDeps} _vendor ln -s ${vendoredDeps} _vendor
hugo hugo
''; '';
installPhase = '' installPhase = ''
mkdir -p $out mkdir -p $out
cp -r ./public/* $out cp -r ./public/* $out
''; '';
} }

2
go.mod
View file

@ -2,4 +2,4 @@ module git.brokentech.cloud/mart-w/brokentech.cloud
go 1.21.5 go 1.21.5
require github.com/jpanther/lynx v1.4.0 // indirect require github.com/jpanther/lynx v1.3.1 // indirect

4
go.sum
View file

@ -1,2 +1,2 @@
github.com/jpanther/lynx v1.4.0 h1:ymYkoVjFXkdzSD6YBjF6zsTUK3kSi3QTxtxpHtsnlhw= github.com/jpanther/lynx v1.3.1 h1:s3u2mC2VU8SgJ/Jlk7PbdrmLy1T63QvuwGQbvS9QqdI=
github.com/jpanther/lynx v1.4.0/go.mod h1:nUK1+IfScKhRA3/jBH+YCYfpO3znP5Nsm6ROFGpma44= github.com/jpanther/lynx v1.3.1/go.mod h1:nUK1+IfScKhRA3/jBH+YCYfpO3znP5Nsm6ROFGpma44=

View file

@ -3,12 +3,12 @@ languageCode = "en-gb"
defaultContentLanguage = "en" defaultContentLanguage = "en"
title = "The Broken Tech Cloud" title = "The Broken Tech Cloud"
copyright = "&copy; 2025 mart-w" copyright = "&copy; 2024 mart-w"
enableEmoji = true enableEmoji = true
disableKinds = ["taxonomy", "term"] disableKinds = ["taxonomy", "term"]
[params.author] [author]
name = "The Broken Tech Cloud" name = "The Broken Tech Cloud"
headline = "Making innocent web apps cloud since 2021" headline = "Making innocent web apps cloud since 2021"
image = "logo_big.png" image = "logo_big.png"