templates/default: footer change
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
11
flake.nix
11
flake.nix
@@ -33,8 +33,17 @@
|
|||||||
nattopages = pkgs.stdenv.mkDerivation {
|
nattopages = pkgs.stdenv.mkDerivation {
|
||||||
name = "nattopages";
|
name = "nattopages";
|
||||||
src = cleanSrc;
|
src = cleanSrc;
|
||||||
phases = "unpackPhase buildPhase";
|
phases = "unpackPhase patchPhase buildPhase";
|
||||||
nativeBuildInputs = [ site ];
|
nativeBuildInputs = [ site ];
|
||||||
|
patchPhase =
|
||||||
|
let
|
||||||
|
cachix = "pain";
|
||||||
|
in
|
||||||
|
''
|
||||||
|
substituteInPlace templates/default.html \
|
||||||
|
--replace '{+nixstorepath+}' $out \
|
||||||
|
--replace '{+cachix+}' ${cachix}
|
||||||
|
'';
|
||||||
buildPhase = (pkgs.lib.concatStringsSep "\n" vars) + "\n" +
|
buildPhase = (pkgs.lib.concatStringsSep "\n" vars) + "\n" +
|
||||||
''
|
''
|
||||||
site build
|
site build
|
||||||
|
@@ -31,7 +31,8 @@
|
|||||||
Site proudly generated by
|
Site proudly generated by
|
||||||
<a href="http://jaspervdj.be/hakyll">Hakyll</a><br>
|
<a href="http://jaspervdj.be/hakyll">Hakyll</a><br>
|
||||||
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559<br>
|
53EC 089E F230 E47A 83BA 8F81 9594 9BD4 B853 F559<br>
|
||||||
<a href="/rss.xml">RSS 2.0</a>
|
<a href="/rss.xml">RSS 2.0</a><br>
|
||||||
|
These pages were built in <a href="https://{+cachix+}.cachix.org">{+nixstorepath+}</a>
|
||||||
<ul class="subdomains" style="list-style-type: none;">
|
<ul class="subdomains" style="list-style-type: none;">
|
||||||
$for(subdomains)$
|
$for(subdomains)$
|
||||||
<li style="display: inline-block;">
|
<li style="display: inline-block;">
|
||||||
|
Reference in New Issue
Block a user