From 6f3700406d21c4c3d85c13c931447699d1cf8c41 Mon Sep 17 00:00:00 2001 From: Balakrishnan Balasubramanian Date: Mon, 7 Aug 2023 20:39:16 -0400 Subject: [PATCH] add submodule setup to README --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b2fa2d4..c4520c7 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,18 @@ -## Source of balki.me +# Source of balki.me ## Asciinema Followed instructions from here: https://jenciso.github.io/blog/embedding-asciinema-cast-in-your-hugo-site/ Asciinema uses wasm which needs CSP unsafe-eval. Ref: https://www.aaron-powell.com/posts/2019-11-27-using-webassembly-with-csp-headers/ + +## Submodule for generated output + +Tracking hugo generated output in git enables to see differences easily before pushing. Also helpful to compare differences after hugo version upgrade. +Below commands help to add a public url for the web UI and also private ssh url for pushing + +```bash +git submodule add https://gitea.balki.me/balki/blog-op public +cd public +git config remote.origin.url gitea:balki/blog-op +```