Changeset 545c76e


Ignore:
Timestamp:
Jan 13, 2020, 11:21:24 AM (5 years ago)
Author:
Mikhail Kirillov <w96k@…>
Branches:
master
Children:
0ec459e
Parents:
ba742f0
Message:

Fix posting error

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .emacs

    rba742f0 r545c76e  
    55(require 's)
    66(require 'simple-httpd)
     7
     8(setq current-folder (file-truename "./"))
    79
    810;; Use in:<invidio-id> syntax to include embed invidio video
     
    3032      `(("blog"
    3133         :components ("blog-content" "blog-styles")
    32          :base-directory "./")
     34         :base-directory current-folder)
    3335        ("blog-styles"
    34          :base-directory "./public"
     36         :base-directory ,(concat current-folder "public")
    3537         :base-extension "jpg\\|gif\\|png\\|ico\\|css"
    36          :publishing-directory "./dist/public"
     38         :publishing-directory ,(concat current-folder "dist/public")
    3739         :recursive t
    3840         :publishing-function org-publish-attachment
    3941         )
    4042        ("blog-content"
    41          :base-directory "./content"
    42          :publishing-directory "./dist"
     43         :base-directory ,(concat current-folder "content")
     44         :publishing-directory ,(concat current-folder "dist")
    4345         :recursive t
    4446         :publishing-function org-html-publish-to-html
     
    8991    <div class=\"col-sm-12 col-md-4\" id=\"meta\">
    9092      <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>
    9294    </div>
    9395  </div>
     
    118120
    119121;; 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.