add fediverse meta tag

This commit is contained in:
Martin Wurm 2024-10-22 22:21:24 +02:00
parent f0128e98d8
commit 8da4a628c7
2 changed files with 23 additions and 19 deletions

View file

@ -1,5 +1,8 @@
{pkgs ? import <nixpkgs> {}}:
with pkgs; let
{
pkgs ? import <nixpkgs> { },
}:
with pkgs;
let
vendoredDeps = stdenv.mkDerivation rec {
name = "hugoVendoredDeps";
@ -25,24 +28,24 @@ with pkgs; let
outputHash = "sha256-8dsJlVvCHUE/rI9YkuJVF+Nk2DeUIAiNLR4Fu/YZg50=";
};
in
stdenv.mkDerivation rec {
name = "mart-w.de-${version}";
version = "1.0.1";
stdenv.mkDerivation rec {
name = "mart-w.de-${version}";
version = "1.1";
src = ./.;
src = ./.;
nativeBuildInputs = [
go
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
'';
}

View file

@ -0,0 +1 @@
<meta name="fediverse:creator" content="@mart_w@chaos.social">