Bit of old code reference
This commit is contained in:
parent
a6e875e5c5
commit
d33a8cac3b
2 changed files with 11 additions and 1 deletions
|
@ -64,7 +64,7 @@ Capturing text into the =org-default-notes-file= is something I don't do much:
|
|||
(add-to-list 'org-capture-templates
|
||||
'("w" "Website Announcement" entry
|
||||
(file+function "~/website/index.org" ha-first-header)
|
||||
(file "~/.spacemacs.d/templates/website-announcement.org")
|
||||
(file "~/templates/website-announcement.org")
|
||||
:empty-lines 1))
|
||||
#+end_src
|
||||
Before we go too far, we should create a publishing file for the website announcement, and something for the journal.
|
||||
|
|
10
templates/website-announcement.org
Normal file
10
templates/website-announcement.org
Normal file
|
@ -0,0 +1,10 @@
|
|||
* %?
|
||||
:PROPERTIES:
|
||||
:PUBDATE: %t
|
||||
:END:
|
||||
#+HTML: <div class=\"date\">%<%e %b %Y></div>
|
||||
|
||||
%i
|
||||
|
||||
[[%F][Read more...]
|
||||
↑ Fix that reference...
|
Loading…
Reference in a new issue