From abd068837562ccddc1413cdd327646a3832fbdaf Mon Sep 17 00:00:00 2001 From: Elias Ahokas Date: Fri, 26 Sep 2025 17:54:10 +0300 Subject: [PATCH] update confs --- Dockerfile | 2 +- README.md | 7 ++++++- hugo.yaml | 16 ++++++++-------- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/Dockerfile b/Dockerfile index 540e73f..326a5b0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,4 +4,4 @@ WORKDIR /app EXPOSE 1313 -CMD ["hugo", "server", "--bind", "0.0.0.0", "--baseURL=/", "-D", "--disableFastRender"] +CMD ["hugo", "server", "-D"] diff --git a/README.md b/README.md index 3181d2e..12a19da 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Hugo allows for quick websites to be made with markdown. ## Developing -Run test server: +Run test server ``` docker compose up ``` @@ -17,3 +17,8 @@ Deploy updates to server ``` ./deploy.sh ``` + +Create new page +``` +hugo new --kind post path/post.md +``` diff --git a/hugo.yaml b/hugo.yaml index 92cf945..c974173 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -20,8 +20,8 @@ params: author: "Elias Ahokas" DateFormat: "2.1.2006" - defaultTheme: auto - disableThemeToggle: false + defaultTheme: dark + disableThemeToggle: true ShowReadingTime: true ShowShareButtons: false @@ -51,12 +51,12 @@ menu: - name: Projects url: /projects/ weight: 10 - - name: About - url: /about/ - weight: 20 - - name: CV - url: /cv/ - weight: 30 + #- name: About + # url: /about/ + # weight: 20 + #- name: CV + # url: /cv/ + # weight: 30 markup: highlight: