moving to hugo

This commit is contained in:
Phil Bajsicki 2024-09-28 01:33:01 +02:00
parent 18e6d30423
commit 3e318526fd
3 changed files with 14 additions and 6 deletions

6
.gitignore vendored Normal file
View file

@ -0,0 +1,6 @@
.DS_Store
.idea
*.log
tmp/
public/

View file

@ -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.

View file

@ -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{{<sidenote>}}I will be moving them to yasnippet... at some point.{{</sidenote>}}, so I can easily insert them when needed.
```text
@@hugo:{{<sidenote>}}
{{</sidenote>}}@@
```org
@@hugo:{{</*sidenote*/>}}
{{</*/sidenote*/>}}@@
```
Then an example of it would look like this{{<sidenote>}}Or maybe not, I'm not sure.{{</sidenote>}}.
```text
@@hugo:{{<sidenote>}}Or maybe not, I'm not sure.{{</sidenote>}}@@
```org
@@hugo:{{</*sidenote*/>}}Or maybe not, I'm not sure.{{</*/sidenote*/>}}@@
```
The same formatting applies to `marginnote`.