From 3e318526fde5ef84b374fd292c6d2a23e500c8aa Mon Sep 17 00:00:00 2001 From: Phil Bajsicki Date: Sat, 28 Sep 2024 01:33:01 +0200 Subject: [PATCH] moving to hugo --- .gitignore | 6 ++++++ README.org | 1 + content/blog/moving-to-hugo.md | 13 +++++++------ 3 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4183193 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +.DS_Store +.idea +*.log +tmp/ + +public/ diff --git a/README.org b/README.org index 22014bb..d9c57f9 100644 --- a/README.org +++ b/README.org @@ -26,6 +26,7 @@ chmod 755 $GIT_WORK_TREE rm -rf $GIT_WORK_TREE/public # Generate the site with hugo +cd $GIT_WORK_TREE && chmod +x update.sh cd $GIT_WORK_TREE && ./update.sh # Fix any permission problems. diff --git a/content/blog/moving-to-hugo.md b/content/blog/moving-to-hugo.md index 3271bee..6604708 100644 --- a/content/blog/moving-to-hugo.md +++ b/content/blog/moving-to-hugo.md @@ -1,6 +1,6 @@ +++ title = "Moving to Hugo" -lastmod = 2024-09-28T01:26:08+02:00 +lastmod = 2024-09-28T01:32:25+02:00 tags = ["hugo", "web", "orgmode", "css", "tufte"] categories = ["tech", "emacs"] draft = false @@ -58,6 +58,7 @@ chmod 755 $GIT_WORK_TREE rm -rf $GIT_WORK_TREE/public # Generate the site with hugo +cd $GIT_WORK_TREE && chmod +x update.sh cd $GIT_WORK_TREE && ./update.sh # Fix any permission problems. @@ -85,15 +86,15 @@ All thanks to [ox-hugo](https://ox-hugo.scripter.co/), which made the process ve I guess the last thing to mention are the sidenotes and margin notes... sadly, the way to use them with ox-hugo is quite cumbersome. My current process is to keep these two snippets in the kill-ring{{}}I will be moving them to yasnippet... at some point.{{}}, so I can easily insert them when needed. -```text -@@hugo:{{}} -{{}}@@ +```org +@@hugo:{{}} +{{}}@@ ``` Then an example of it would look like this{{}}Or maybe not, I'm not sure.{{}}. -```text -@@hugo:{{}}Or maybe not, I'm not sure.{{}}@@ +```org +@@hugo:{{}}Or maybe not, I'm not sure.{{}}@@ ``` The same formatting applies to `marginnote`.