- Timestamp:
- Jan 13, 2020, 11:21:24 AM (5 years ago)
- Branches:
- master
- Children:
- 0ec459e
- Parents:
- ba742f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.emacs
rba742f0 r545c76e 5 5 (require 's) 6 6 (require 'simple-httpd) 7 8 (setq current-folder (file-truename "./")) 7 9 8 10 ;; Use in:<invidio-id> syntax to include embed invidio video … … 30 32 `(("blog" 31 33 :components ("blog-content" "blog-styles") 32 :base-directory "./")34 :base-directory current-folder) 33 35 ("blog-styles" 34 :base-directory "./public"36 :base-directory ,(concat current-folder "public") 35 37 :base-extension "jpg\\|gif\\|png\\|ico\\|css" 36 :publishing-directory "./dist/public"38 :publishing-directory ,(concat current-folder "dist/public") 37 39 :recursive t 38 40 :publishing-function org-publish-attachment 39 41 ) 40 42 ("blog-content" 41 :base-directory "./content"42 :publishing-directory "./dist"43 :base-directory ,(concat current-folder "content") 44 :publishing-directory ,(concat current-folder "dist") 43 45 :recursive t 44 46 :publishing-function org-html-publish-to-html … … 89 91 <div class=\"col-sm-12 col-md-4\" id=\"meta\"> 90 92 <p><span class=\"icon-settings\"></span> %c</p> 91 <p><span class=\"icon-calendar\"></span> % d %C</p>93 <p><span class=\"icon-calendar\"></span> %C</p> 92 94 </div> 93 95 </div> … … 118 120 119 121 ;; Set output folder 120 (setq httpd-root "./dist/")122 (setq httpd-root (concat current-folder "/dist/"))
Note:
See TracChangeset
for help on using the changeset viewer.