diff --git a/dendron.yml b/dendron.yml index 570d314..335f414 100644 --- a/dendron.yml +++ b/dendron.yml @@ -100,3 +100,4 @@ publishing: enableHashesForFMTags: false enableRandomlyColoredTags: true enablePrettyLinks: true + assetsPrefix: "/recipes" diff --git a/notes/.vscode/tasks.json b/notes/.vscode/tasks.json new file mode 100644 index 0000000..f394fad --- /dev/null +++ b/notes/.vscode/tasks.json @@ -0,0 +1,25 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build site", + "type": "shell", + "command": "dendron publish export", + "options": { + "cwd": "${workspaceFolder}/../" + } + }, + { + "label": "publish site", + "type": "shell", + "command": "rsync -av .next/out/ /var/www/recipes/", + "options": { + "cwd": "${workspaceFolder}/../" + }, + "dependsOn": ["build site"], + "problemMatcher": [] + }, + ] +}