(require 'cl-lib)
(require 'org)
(require 'ox-publish)
+(add-to-list 'load-path "~/.emacs.d/elpa/ox-rss-20230408.231")
+(add-to-list 'load-path "~/.emacs.d/elpa/mustache-20230713.514")
+(add-to-list 'load-path "~/.emacs.d/elpa/s-20220902.1511")
+(add-to-list 'load-path "~/.emacs.d/elpa/dash-20240103.1301")
+(add-to-list 'load-path "~/.emacs.d/elpa/f-20231219.750")
+(add-to-list 'load-path "~/.emacs.d/elpa/htmlize-20240212.1001")
(require 'ox-rss)
(load "~/.emacs.d/lisp/mustache-html.el")
(setq org-html-htmlize-output-type 'css) ; default: 'inline-css
(setq org-time-stamp-custom-formats '("%A %e %B %Y" . "%A %e %B %Y at %H:%M"))
(setq org-display-custom-times t)
-(setq org-html-container-element "section") ;; TODO - check
+(setq org-html-container-element "div") ;; TODO - check
(setq my-blog-base-folder "~/websites/stage.vanrenterghem.biz")
(setq my-blog-source-folder "~/websites/stage.vanrenterghem.biz/source")
(setq my-blog-target-folder "~/websites/stage.vanrenterghem.biz/target")
(insert "#+END_export\n")
(insert preview)
;(insert (concat "#+INCLUDE: \"" relpath "\" :only-contents t :lines \"1-10\"\n"))
- (insert "\n")
+ (insert "\n")
(insert (concat "[[file:" relpath "][Read More...]]\n"))
(insert "#+BEGIN_export html\n")
- (insert "<\/section>\n")
+ (insert "</section> <!-- END CARD-BODY-->\n")
(insert "#+END_export\n")
))
;; kill the first hrule to make this look OK