From 95c1f3596fb16acf8c564acce012ea7324cf0975 Mon Sep 17 00:00:00 2001 From: Tom Hodson Date: Mon, 31 Jul 2023 13:51:09 +0100 Subject: [PATCH] Make a branch for selfhosting --- _config_dev.yml | 1 + _layouts/no_header.html | 11 +++++++++++ index.html | 2 +- links.md | 13 +++++++++++++ run.sh | 4 ++-- 5 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 _config_dev.yml create mode 100644 _layouts/no_header.html create mode 100644 links.md diff --git a/_config_dev.yml b/_config_dev.yml new file mode 100644 index 0000000..735bce9 --- /dev/null +++ b/_config_dev.yml @@ -0,0 +1 @@ +url: https://selfhost.local \ No newline at end of file diff --git a/_layouts/no_header.html b/_layouts/no_header.html new file mode 100644 index 0000000..f4b8223 --- /dev/null +++ b/_layouts/no_header.html @@ -0,0 +1,11 @@ + + + + {% include default_head_tags.html%} + + +
+ {{ content }} +
+ + \ No newline at end of file diff --git a/index.html b/index.html index 641c069..4f7bc37 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ --- title: Home -redirect_to: /blog +redirect_to: /links --- \ No newline at end of file diff --git a/links.md b/links.md new file mode 100644 index 0000000..f674422 --- /dev/null +++ b/links.md @@ -0,0 +1,13 @@ +--- +layout: no_header +title: Links +permalink: /links/ +--- + +# Things hosted on this Pi + +[Miniflux](/miniflux) + +[Octopi](/octoprint) + +[Portainer]({{ site.url }}:9443) \ No newline at end of file diff --git a/run.sh b/run.sh index aad51a1..f840ea1 100755 --- a/run.sh +++ b/run.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -sleep 3 && open --url http://0.0.0.0:4000 & -bundle exec jekyll serve --draft --future \ No newline at end of file +# sleep 3 && open --url http://0.0.0.0:4000 & +bundle exec jekyll build --config _config.yml,_config_dev.yml --draft --future --watch \ No newline at end of file