diff --git a/content/post/rich-content.md b/content/post/rich-content.md
deleted file mode 100644
index 92b4b03f..00000000
--- a/content/post/rich-content.md
+++ /dev/null
@@ -1,34 +0,0 @@
-+++
-author = "Hugo Authors"
-title = "Rich Content"
-date = "2019-03-10"
-description = "A brief description of Hugo Shortcodes"
-tags = [
- "shortcodes",
- "privacy",
-]
-+++
-
-Hugo ships with several [Built-in Shortcodes](https://gohugo.io/content-management/shortcodes/#use-hugos-built-in-shortcodes) for rich content, along with a [Privacy Config](https://gohugo.io/about/hugo-and-gdpr/) and a set of Simple Shortcodes that enable static and no-JS versions of various social media embeds.
-
----
-
-## YouTube Privacy Enhanced Shortcode
-
-{{< youtube ZJthWmvUzzc >}}
-
-
-
----
-
-## Twitter Simple Shortcode
-
-{{< twitter_simple 1085870671291310081 >}}
-
-
-
----
-
-## Vimeo Simple Shortcode
-
-{{< vimeo_simple 48912912 >}}
diff --git a/data/home/hero.yaml b/data/home/hero.yaml
index 7a781420..1c547114 100644
--- a/data/home/hero.yaml
+++ b/data/home/hero.yaml
@@ -7,9 +7,9 @@ content:
buttonPrimary:
label: "Why Lix?"
- url: "#"
+ url: "/about#why-lix"
buttonSecondary:
label: "Start using lix"
- url: ""
+ url: "/install"
diff --git a/flake.nix b/flake.nix
index 2cba1cb1..83a776e4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -18,6 +18,13 @@
pkgs = import nixpkgs { inherit system; };
in
{
+ # For local development...
devShell = pkgs.mkShell { buildInputs = [ pkgs.hugo pkgs.sass ]; };
+
+ # ... and remote deployment.
+ packages = {
+ site-content = pkgs.callPackage ./nix/site-content.nix {};
+ };
+
});
}
diff --git a/nix/site-content.nix b/nix/site-content.nix
new file mode 100644
index 00000000..b0a2c428
--- /dev/null
+++ b/nix/site-content.nix
@@ -0,0 +1,18 @@
+#
+# Hugo website output.
+# vim: et:ts=2:sw=2:
+#
+{ pkgs, ... }: pkgs.stdenv.mkDerivation {
+ name = "site-content";
+ src = ../.;
+
+ nativeBuildInputs = [ pkgs.hugo ];
+
+ buildPhase = ''
+ hugo -D -d _output
+ '';
+
+ installPhase = ''
+ cp -r _output $out
+ '';
+}