From 7b553e360b0cb6080d8ee4166cc9c5e5c40fae72 Mon Sep 17 00:00:00 2001 From: Jussi Nummelin Date: Tue, 21 Oct 2025 11:50:41 +0300 Subject: [PATCH 1/2] Add customized CSS to make the content bit wider. Signed-off-by: Jussi Nummelin --- assets/css/extended/wider.css | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 assets/css/extended/wider.css diff --git a/assets/css/extended/wider.css b/assets/css/extended/wider.css new file mode 100644 index 0000000..3a08ee5 --- /dev/null +++ b/assets/css/extended/wider.css @@ -0,0 +1,6 @@ +/* +This CSS extends some defaults so we can make the content bit wider on larger screens +*/ + +.main { min-width: 60%; } + From 0a14c3e855cba3e124de5940be6f7568aba0430a Mon Sep 17 00:00:00 2001 From: Jussi Nummelin Date: Tue, 21 Oct 2025 13:23:13 +0300 Subject: [PATCH 2/2] Add some notes on exposing to local network for e.g. mobile testing Signed-off-by: Jussi Nummelin --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index f3220d8..21aa0ff 100644 --- a/README.md +++ b/README.md @@ -110,6 +110,13 @@ such as CSS are served correctly; loading `public/index.html` directly from the filesystem will usually miss theme assets because the site is built with the production `baseURL`. +The server binds only to localhost by default. To allow testing with e.g. your mobile +device, use: + +```sh +hugo server --bind 0.0.0.0 --baseURL http://YOUR_COMPUTER_IP:1313/ +``` + ## Pull request checklist * [ ] `title`, `date`, `author`, `summary` set