;;; Emacs configuration for building a project (require 'org) (require 'ox-publish) (require 's) (require 'simple-httpd) (setq current-folder (file-truename "./")) ;; Use in: syntax to include embed invidio video (defvar in-iframe-format ;; You may want to change your width and height. (concat "")) (org-add-link-type "in" (lambda (handle) (browse-url (concat "https://www.invidio.us/embed/" handle))) (lambda (path desc backend) (cl-case backend (html (format in-iframe-format path (or desc ""))) (latex (format "\href{%s}{%s}" path (or desc "video")))))) (setq org-publish-project-alist `(("blog" :components ("blog-content" "blog-styles") :base-directory current-folder) ("blog-styles" :base-directory ,(concat current-folder "public") :base-extension "jpg\\|gif\\|png\\|ico\\|css" :publishing-directory ,(concat current-folder "dist/public") :recursive t :publishing-function org-publish-attachment ) ("blog-content" :base-directory ,(concat current-folder "content") :publishing-directory ,(concat current-folder "dist") :recursive t :publishing-function org-html-publish-to-html :html-doctype "xhtml5" :with-title nil :with-author t :with-creator nil :with-date t :with-email t :with-footnotes t :html-html5-fancy t :html-preamble "
@w96k Обо мне CV
" :html-head " " :html-container "article" :html-postamble "

© 2019-2020 Mikhail Kirillov

Сайт работает в любом браузере

%c

%C


Содержимое доступно по лицензии Creative Commons «Attribution-ShareAlike» («Атрибуция — На тех же условиях») 4.0 Всемирная (CC BY-SA 4.0)

Исходный код доступен по лицензии GNU General Public License Version 3

Подробнее о правах

" :section-numbers nil :with-sub-superscript nil ;; sitemap - list of blog articles :auto-sitemap t :sitemap-filename "sitemap.org" :sitemap-title "@w96k" :sitemap-sort-files anti-chronologically))) ;; Don't ask for block evaluation (setq org-confirm-babel-evaluate nil) ;; Set output folder (setq httpd-root (concat current-folder "/dist/"))