- Timestamp:
- Feb 24, 2021, 6:32:42 PM (4 years ago)
- Branches:
- master
- Children:
- 9b7e401
- Parents:
- 0ebefc8
- git-author:
- Mikhail Kirillov <w96k@…> (02/24/21 18:32:12)
- git-committer:
- Mikhail Kirillov <w96k@…> (02/24/21 18:32:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.emacs
r0ebefc8 re66c095 17 17 " allowfullscreen>%s</iframe>")) 18 18 19 (defvar local-video-format 20 ;; You may want to change your width and height. 21 (concat "<video controls>" 22 "<source src=\"/public/videos/%s\"> Video are not supported </video>")) 23 19 24 (org-add-link-type 20 25 "peertube" … … 30 35 path (or desc "video")))))) 31 36 37 (org-add-link-type 38 "video" 39 (lambda (handle) 40 (browse-url 41 (concat "/" 42 handle))) 43 (lambda (path desc backend) 44 (cl-case backend 45 (html (format local-video-format 46 path (or desc ""))) 47 (latex (format "\href{%s}{%s}" 48 path (or desc "video")))))) 49 32 50 (setq org-publish-project-alist 33 51 `(("blog" … … 36 54 ("blog-styles" 37 55 :base-directory ,(concat current-folder "public") 38 :base-extension "jpg\\|gif\\|svg\\|png\\|ico\\|css\\|txt\\|pdf "56 :base-extension "jpg\\|gif\\|svg\\|png\\|ico\\|css\\|txt\\|pdf\\|webm\\|mp4" 39 57 :publishing-directory ,(concat current-folder "dist/public") 40 58 :recursive t … … 47 65 :publishing-function org-html-publish-to-html 48 66 49 :html-doctype " xhtml5"67 :html-doctype "html5" 50 68 51 69 :with-title nil … … 60 78 <a href=\"/\" class=\"logo\">@w96k</a> 61 79 <a class=\"button\" href=\"/about.html\">Обо мне</a> 62 <a class=\"button\" href=\"/cv.html\">CV</a>63 80 </header>" 64 81 … … 84 101 85 102 <div id=\"copyright\" class=\"col-sm-12 col-md-4\"> 86 <p>© 2019-202 0<i>Mikhail Kirillov</i></p>103 <p>© 2019-2021 <i>Mikhail Kirillov</i></p> 87 104 <p> 88 105 Сайт работает в <a href=\"https://anybrowser.org/campaign/\">любом браузере</a> … … 136 153 (add-to-list 'org-latex-packages-alist '("a4paper, margin=0.75in" "geometry")) 137 154 155 (setq org-src-fontify-natively t) 156 157
Note:
See TracChangeset
for help on using the changeset viewer.