Changeset e66c095 for .emacs


Ignore:
Timestamp:
Feb 24, 2021, 6:32:42 PM (4 years ago)
Author:
Mikhail Kirillov <w96k@…>
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)
Message:

Update copyright year

File:
1 edited

Legend:

Unmodified
Added
Removed
  • .emacs

    r0ebefc8 re66c095  
    1717          " allowfullscreen>%s</iframe>"))
    1818
     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
    1924(org-add-link-type
    2025 "peertube"
     
    3035                    path (or desc "video"))))))
    3136
     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
    3250(setq org-publish-project-alist
    3351      `(("blog"
     
    3654        ("blog-styles"
    3755         :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"
    3957         :publishing-directory ,(concat current-folder "dist/public")
    4058         :recursive t
     
    4765         :publishing-function org-html-publish-to-html
    4866
    49          :html-doctype "xhtml5"
     67         :html-doctype "html5"
    5068
    5169         :with-title nil
     
    6078<a href=\"/\" class=\"logo\">@w96k</a>
    6179<a class=\"button\" href=\"/about.html\">Обо мне</a>
    62 <a class=\"button\" href=\"/cv.html\">CV</a>
    6380</header>"
    6481
     
    84101
    85102    <div id=\"copyright\" class=\"col-sm-12 col-md-4\">
    86       <p>© 2019-2020 <i>Mikhail Kirillov</i></p>
     103      <p>© 2019-2021 <i>Mikhail Kirillov</i></p>
    87104      <p>
    88105       Сайт работает в <a href=\"https://anybrowser.org/campaign/\">любом браузере</a>
     
    136153(add-to-list 'org-latex-packages-alist '("a4paper, margin=0.75in" "geometry"))
    137154
     155(setq org-src-fontify-natively t)
     156
     157
Note: See TracChangeset for help on using the changeset viewer.