diff options
Diffstat (limited to 'publish.el')
-rw-r--r-- | publish.el | 132 |
1 files changed, 77 insertions, 55 deletions
@@ -107,82 +107,104 @@ PUB-DIR is when the output will be placed." :recursive nil :publishing-function org-html-publish-to-html :auto-sitemap t - :section-numbers nil - :sitemap-format-entry me/org-posts-sitemap-format-entry - :sitemap-title "Yuchen's Blog" - :sitemap-sort-files anti-chronologically - :sitemap-filename "../pages/blog.org" - :html-doctype "html5" - :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/> -<link rel='alternate' title=\"Yuchen's blog\" href='/blog-feed.xml' type='application/rss+xml'>" - :html-preamble me/html-preamble - :html-self-link-headlines t - :author ("Yuchen Pei") - :html-postamble me/html-postamble - :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) - :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" - :htmlized-source t - ) - ("microposts" + :section-numbers nil + :sitemap-format-entry me/org-posts-sitemap-format-entry + :sitemap-title "Yuchen's Blog" + :sitemap-sort-files anti-chronologically + :sitemap-filename "../pages/blog.org" + :html-doctype "html5" + :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/> +<link rel='alternate' title=\"Yuchen's blog\" href='/blog-feed.xml' type='application/rss+xml'> +<script data-isso=\"/comments/\" + data-isso-css=\"true\" + data-isso-lang=\"en\" + data-isso-reply-to-self=\"false\" + data-isso-require-author=\"true\" + data-isso-require-email=\"true\" + data-isso-max-comments-top=\"10\" + data-isso-max-comments-nested=\"5\" + data-isso-reveal-on-click=\"5\" + data-isso-avatar=\"true\" + data-isso-avatar-bg=\"#f0f0f0\" + data-isso-avatar-fg=\"#9abf88 #5698c4 #e279a3 #9163b6 ...\" + data-isso-vote=\"true\" + data-vote-levels=\"\" + src=\"/comments/js/embed.min.js\"></script>" + :html-preamble me/html-preamble + :html-self-link-headlines t + :author ("Yuchen Pei") + :html-postamble me/html-postamble-post + :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) + :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" + :htmlized-source t + ) + ("microposts" :base-directory "microposts" :base-extension "org" :publishing-directory "site/microposts" :recursive t :publishing-function me/org-publish-microblog :auto-sitemap t - :sitemap-format-entry me/org-microposts-sitemap-format-entry - :sitemap-title "Yuchen's Microblog" - :sitemap-sort-files anti-chronologically - :sitemap-filename "../pages/microblog.org" - :html-doctype "html5" - :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/>" - :html-preamble me/html-preamble - :author ("Yuchen Pei") - :html-postamble me/html-postamble - :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) - :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" - :htmlized-source t - ) - ("pages" + :sitemap-format-entry me/org-microposts-sitemap-format-entry + :sitemap-title "Yuchen's Microblog" + :sitemap-sort-files anti-chronologically + :sitemap-filename "../pages/microblog.org" + :html-doctype "html5" + :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/>" + :html-preamble me/html-preamble + :author ("Yuchen Pei") + :html-postamble me/html-postamble + :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) + :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" + :htmlized-source t + ) + ("pages" :base-directory "pages" :base-extension "org" :publishing-directory "site" :recursive t :publishing-function org-html-publish-to-html - :html-doctype "html5" - :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/> + :html-doctype "html5" + :html-head "<link rel='stylesheet' href='../css/default.css' type='text/css'/> <link rel='stylesheet' href='../css/page.css' type='text/css'/> <link rel='alternate' title=\"Yuchen's blog\" href='/blog-feed.xml' type='application/rss+xml'> <link rel='alternate' title=\"Yuchen's microblog\" href='/microblog-feed.xml' type='application/rss+xml'>" - :html-preamble me/html-preamble - :author ("Yuchen Pei") - :section-numbers nil - :with-toc nil - :html-postamble me/html-postamble - :html-prefer-user-labels t - :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) - :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" - :htmlized-source t - ) - ("css" + :html-preamble me/html-preamble + :author ("Yuchen Pei") + :section-numbers nil + :with-toc nil + :html-postamble me/html-postamble + :html-prefer-user-labels t + :html-mathjax-options ((path "/js/mathjax/MathJax.js?config=TeX-AMS_CHTML")) + :html-mathjax-template "<script type=\"text/javascript\" src=\"%PATH\"></script>" + :htmlized-source t + ) + ("html-pages" + :base-directory "pages" + :base-extension "html" + :publishing-directory "site" + :recursive t + :publishing-function org-publish-attachment + ) + ("css" :base-directory "css" :base-extension "css" :publishing-directory "site/css" :publishing-function org-publish-attachment :recursive t - ) - ("js" + ) + ("js" :base-directory "js" :base-extension "js" :publishing-directory "site/js" :publishing-function org-publish-attachment :recursive t - ) - ("assets" - :base-directory "assets" - :base-extension any - :publishing-directory "site/assets" - :publishing-function org-publish-attachment - :recursive t - ) - ("all" :components ("posts" "microposts" "pages" "css" "js" "assets")))) + ) + ("assets" + :base-directory "assets" + :base-extension any + :publishing-directory "site/assets" + :publishing-function org-publish-attachment + :recursive t + ) + ("all" :components ("posts" "microposts" "pages" "html-pages" "css" "js" "assets")))) |