2018-09-13 15:16:53 +02:00
|
|
|
#+TITLE: Some Technicalities about Building My Work Page
|
|
|
|
|
2018-11-19 12:34:20 +01:00
|
|
|
* 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.
|
|
|
|
|
2018-09-13 15:16:53 +02:00
|
|
|
* 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
|