From 34132221b5575bc5f28879e0c87684eb3928d3c4 Mon Sep 17 00:00:00 2001 From: Hendrik Langer Date: Fri, 7 Jun 2024 11:58:51 +0200 Subject: [PATCH] add instructions how to update themes --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 5edbd34..633d20d 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,21 @@ homepage +* [Hugo Quick start](https://gohugo.io/getting-started/quick-start/) +* Preview: `hugo server -D` + +## Theme + +### Add +```bash +git submodule add https://github.com/theNewDynamic/gohugo-theme-ananke.git themes/ananke +echo "theme = 'ananke'" >> hugo.toml +``` +### Update +```bash +git submodule update --remote +git add themes/. +git commit -m "theme submodule updated" +``` + [![Build Status](https://drone.xd0.de/api/badges/hendrik/h3ndrik.de/status.svg)](https://drone.xd0.de/hendrik/h3ndrik.de)