work-site/work-notes.org
Sergiu Ivanov 7b121ca3fe Update the workflow.
All Elisp code is now in source blocks and can therefore be executed.
2019-01-21 17:13:06 +01:00

1.4 KiB

Some Technicalities about Building My Work Page

Workflow

  1. Load work.el.

      (load-file "~/Candies/Sites/work/work.el")
  2. Open index.org and publish the current project.
  3. Remove all timestamps.

      (org-publish-remove-all-timestamps)
  4. Reopen index.org and republish the current project to get the updated timestamp.
  5. Run deploy-seafile.
  6. Run nix-shell shell-seafile.nix and, within it, seafile-applet to sync the changes to the server.

Removing the publish cache

Org-publish will not detect files being deleted from the output. To force it to clear its caches, do the following:

  (org-publish-remove-all-timestamps)

Possible colors for the banner

  background-color: azure;
  background-color: lightcyan;
  background-color: paleturquoise;