Build website for PH as well #99

Merged
sb10q merged 1 commits from esavkin/nix-scripts:161-web-ph into master 2025-01-08 10:27:46 +08:00

View File

@ -11,6 +11,11 @@ in
export DOMAINNAME=m-labs-intl.com export DOMAINNAME=m-labs-intl.com
${pkgs.zola}/bin/zola build -o $out -u https://$DOMAINNAME ${pkgs.zola}/bin/zola build -o $out -u https://$DOMAINNAME
''; '';
web-ph = pkgs.runCommand "web-ph" {}
''
cd ${web-src}
DOMAINNAME=m-labs.hk ${pkgs.zola}/bin/zola build -o $out -u https://m-labs.ph
Review

DOMAINNAME=m-labs.hk ?

``DOMAINNAME=m-labs.hk`` ?
Review

Yes, to preserve original emails. This addition is just for sitemaps and robots.txt, shouldn't influence any visible content

Yes, to preserve original emails. This addition is just for sitemaps and robots.txt, shouldn't influence any visible content
'';
sphinxcontrib-platformpicker = pkgs.python3Packages.buildPythonPackage rec { sphinxcontrib-platformpicker = pkgs.python3Packages.buildPythonPackage rec {
pname = "sphinxcontrib-platformpicker"; pname = "sphinxcontrib-platformpicker";
version = "1.3"; version = "1.3";