- Timestamp:
- Mar 24, 2021, 4:51:17 PM (4 years ago)
- Branches:
- master
- Children:
- cf4ca54
- Parents:
- a64dd1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
.emacs
ra64dd1d r35e1834 17 17 " allowfullscreen>%s</iframe>")) 18 18 19 (defvar youtube-iframe-format 20 ;; You may want to change your width and height. 21 (concat "<iframe id=\"ivplayer\" type=\"text/html\"" 22 "src=\"https://invidiou.site/embed/%s\"" 23 " frameborder=\"0\"" 24 " allowfullscreen>%s</iframe>")) 25 19 26 (defvar local-video-format 20 27 ;; You may want to change your width and height. … … 31 38 (cl-case backend 32 39 (html (format peertube-iframe-format 40 path (or desc ""))) 41 (latex (format "\href{%s}{%s}" 42 path (or desc "video")))))) 43 44 (org-add-link-type 45 "youtube" 46 (lambda (handle) 47 (browse-url 48 (concat "https://invidiou.site/embed/" 49 handle))) 50 (lambda (path desc backend) 51 (cl-case backend 52 (html (format youtube-iframe-format 33 53 path (or desc ""))) 34 54 (latex (format "\href{%s}{%s}" … … 54 74 ("blog-styles" 55 75 :base-directory ,(concat current-folder "public") 56 :base-extension "jpg\\| gif\\|svg\\|png\\|ico\\|css\\|txt\\|pdf\\|webm\\|mp4"76 :base-extension "jpg\\|webp\\|gif\\|svg\\|png\\|ico\\|css\\|txt\\|pdf\\|webm\\|mp4\\|mov" 57 77 :publishing-directory ,(concat current-folder "dist/public") 58 78 :recursive t … … 76 96 :html-preamble " 77 97 <header class=\"navbar\"> 78 <a href=\"/\" class=\" logo\">@w96k</a>79 <a class=\"button\" href=\"/about.html\"> Обо мне</a>98 <a href=\"/\" class=\"button logo\">~w96k</a> 99 <a class=\"button\" href=\"/about.html\">whoami</a> 80 100 </header>" 81 101 … … 116 136 <div align=\"center\"> 117 137 <small> 118 <p>Содержимое доступно по лицензии 138 <p>Содержимое доступно по лицензии 119 139 <a href=\"https://creativecommons.org/licenses/by-sa/4.0/deed.ru\"> 120 Creative Commons «Attribution-ShareAlike» («Атрибуция — На тех же условиях») 4.0 Всемирная (CC BY-SA 4.0)140 Creative Commons «Attribution-ShareAlike» 4.0 Всемирная (CC BY-SA 4.0) 121 141 </a> 122 142 </p> 123 <p>Исходный код доступен по лицензии GNU General Public License Version 3</p> 143 <p>Исходный код доступен по лицензии 144 <a href=\"https://www.gnu.org/licenses/gpl-3.0.ru.html\"> 145 GNU General Public License Version 3 146 </a> 147 </p> 124 148 <p><a href=\"/legal.html\">Подробнее о правах</a></p> 125 149 </small>
Note:
See TracChangeset
for help on using the changeset viewer.