Make a branch for selfhosting

This commit is contained in:
Tom Hodson 2023-07-31 13:51:09 +01:00
parent 7797b0695e
commit 95c1f3596f
5 changed files with 28 additions and 3 deletions

1
_config_dev.yml Normal file
View File

@ -0,0 +1 @@
url: https://selfhost.local

11
_layouts/no_header.html Normal file
View File

@ -0,0 +1,11 @@
<!doctype html>
<html>
<head>
{% include default_head_tags.html%}
</head>
<body>
<main>
{{ content }}
</main>
</body>
</html>

View File

@ -1,4 +1,4 @@
--- ---
title: Home title: Home
redirect_to: /blog redirect_to: /links
--- ---

13
links.md Normal file
View File

@ -0,0 +1,13 @@
---
layout: no_header
title: Links
permalink: /links/
---
# Things hosted on this Pi
[Miniflux](/miniflux)
[Octopi](/octoprint)
[Portainer]({{ site.url }}:9443)

4
run.sh
View File

@ -1,3 +1,3 @@
#!/usr/bin/env bash #!/usr/bin/env bash
sleep 3 && open --url http://0.0.0.0:4000 & # sleep 3 && open --url http://0.0.0.0:4000 &
bundle exec jekyll serve --draft --future bundle exec jekyll build --config _config.yml,_config_dev.yml --draft --future --watch