diff --git a/blog/nixos-minecraft-tailscale-blog-2021-01-19.markdown b/blog/nixos-minecraft-tailscale-blog-2021-01-19.markdown new file mode 100644 index 0000000..b8baa39 --- /dev/null +++ b/blog/nixos-minecraft-tailscale-blog-2021-01-19.markdown @@ -0,0 +1,12 @@ +--- +title: "Tailscale on NixOS: A New Minecraft Server in Ten Minutes" +date: 2021-01-19 +tags: + - link +redirect_to: https://tailscale.com/blog/nixos-minecraft/ +--- + +# Tailscale on NixOS: A New Minecraft Server in Ten Minutes + +Check out this post [on the Tailscale +blog](https://tailscale.com/blog/nixos-minecraft/)! diff --git a/src/post/frontmatter.rs b/src/post/frontmatter.rs index f2c1587..595079f 100644 --- a/src/post/frontmatter.rs +++ b/src/post/frontmatter.rs @@ -12,6 +12,7 @@ pub struct Data { pub image: Option, pub thumb: Option, pub show: Option, + pub redirect_to: Option, } enum State { diff --git a/templates/blogpost.rs.html b/templates/blogpost.rs.html index 6ac3c1e..9438546 100644 --- a/templates/blogpost.rs.html +++ b/templates/blogpost.rs.html @@ -45,6 +45,12 @@ @} +@if let Some(to) = post.front_matter.redirect_to.clone() { + +} + @body