work-site/work-notes.org

1.5 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 [[file:shell-seafile.nix][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;