work-site/work-notes.org

37 lines
1.2 KiB
Org Mode
Raw Normal View History

#+TITLE: Some Technicalities about Building My Work Page
* Workflow
1. Remove all timestamps and load [[file:work.el][=work.el=]].
#+BEGIN_SRC elisp
(org-publish-remove-all-timestamps)
(load-file "~/Candies/Sites/work/work.el")
#+END_SRC
2. Open [[file:index.org][=index.org=]] and publish the current project.
3. Run [[file:deploy][=deploy=]] from within the lab wired network.
* 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:
#+BEGIN_SRC elisp
(org-publish-remove-all-timestamps)
#+END_SRC
* Possible colors for the banner
#+BEGIN_SRC css
background-color: azure;
background-color: lightcyan;
background-color: paleturquoise;
#+END_SRC
* References
** Org-mode
- https://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html
- https://orgmode.org/manual/Configuration.html#Configuration
- https://orgmode.org/manual/CSS-support.html#CSS-support
** Examples
- https://justin.abrah.ms/emacs/orgmode_static_site_generator.html
- https://bastibe.de/2013-11-13-blogging-with-emacs.html
- https://ogbe.net/blog/blogging_with_org.html