Compare commits

...

4 commits
v1.0.0 ... main

5 changed files with 30 additions and 34 deletions

View file

@ -1,8 +0,0 @@
#!/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,5 +1,8 @@
{pkgs ? import <nixpkgs> {}}:
with pkgs; let
{
pkgs ? import <nixpkgs> { },
}:
with pkgs;
let
vendoredDeps = stdenv.mkDerivation rec {
name = "hugoVendoredDeps";
@ -22,26 +25,27 @@ with pkgs; let
outputHashMode = "recursive";
outputHashAlgo = "sha256";
outputHash = "sha256-3suJ9/OXtEqm3eg1zCEoA0TrAN+dYu+l6YRWjB41c6w=";
outputHash = "sha256-XW1XbDgoAb2CDgbRiCErxkQC47xHJBNgGbSWJg8XzeE=";
};
in
stdenv.mkDerivation rec {
name = "brokentech.cloud-${version}";
version = "1.0";
stdenv.mkDerivation rec {
name = "brokentech.cloud-${version}";
version = "1.1.1";
src = ./.;
src = ./.;
nativeBuildInputs = [
hugo
];
nativeBuildInputs = [
go
hugo
];
buildPhase = ''
ln -s ${vendoredDeps} _vendor
hugo
'';
buildPhase = ''
ln -s ${vendoredDeps} _vendor
hugo
'';
installPhase = ''
mkdir -p $out
cp -r ./public/* $out
'';
}
installPhase = ''
mkdir -p $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
require github.com/jpanther/lynx v1.3.1 // indirect
require github.com/jpanther/lynx v1.4.0 // indirect

4
go.sum
View file

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

View file

@ -3,12 +3,12 @@ languageCode = "en-gb"
defaultContentLanguage = "en"
title = "The Broken Tech Cloud"
copyright = "&copy; 2024 mart-w"
copyright = "&copy; 2025 mart-w"
enableEmoji = true
disableKinds = ["taxonomy", "term"]
[author]
[params.author]
name = "The Broken Tech Cloud"
headline = "Making innocent web apps cloud since 2021"
image = "logo_big.png"
@ -19,8 +19,8 @@ links = [
{ monitoring = { href = "https://status.brokentech.cloud", text = "See whats most broken" } },
{ link = { href = "https://mart-w.de/", text = "Read up on the admin" } },
{ mastodon = { href = "https://chaos.social/@mart_w", text = "Yell at the admin" } },
{ legal = { href = "/legal_notice", text = "Legal Notice" } },
{ legal = { href = "/privacy", text = "Privacy Policy" } },
{ legal = { href = "/legal_notice", text = "Legal Notice", target = "_self" } },
{ legal = { href = "/privacy", text = "Privacy Policy", target = "_self" } },
]
[module]