;ELC ;;; Compiled ;;; in Emacs version 28.0.50 ;;; with all optimizations. (byte-code "\300\301!\210\300\302!\210\303\304\305\306\307\310\311\312&\207" [require ox ht custom-declare-group org-page nil "Options for generating static pages using org-page." :tag "Org static page generator" :group org] 8) #@48 Name of the temporary buffer used by org-page. (defconst op/temp-buffer-name "*Org Page Output*" (#$ . 316)) #@46 The directory where org-page is loaded from. (defconst op/load-directory (byte-code "\203\302!\207\303\304!\203\302\303\304!!\207\305 !\306\230\203 \302 !\207\307\207" [load-file-name buffer-file-name file-name-directory symbol-file op/temp-buffer-name file-name-nondirectory "op-vars.el" nil] 3) (#$ . 431)) (byte-code "\300\301\302\303\304\305\306\307&\210\300\310\302\311\304\305\306\307&\210\300\312\313\314\304\305\306\307&\210\300\315\316\317\304\305\306\307&\210\300\320\321\322\304\305\306\307&\210\300\323\324\325\304\305\306\307&\210\300\326\327\330\304\305\306\331&\210\300\332\333\334\304\305\306\307&\210\300\335\302\336\304\305\306\307&\210\300\337\302\340\304\305\306\307&\210\300\341\342\343\304\305\306\307&\210\300\344\345\346\304\305\306\307&\210\300\347\350\351\304\305\306\352&\207" [custom-declare-variable op/repository-directory nil "The git repository directory, where org files stored on branch\n`op/repository-org-branch', and generated html files stored on branch\n`op/repository-html-branch'." :group org-page :type string op/site-domain "The domain name of entire site, it is recommended to assign with prefix\nhttp:// or https://, http will be considered if not assigned." op/site-main-title "org-page" "The main title of entire site." op/site-sub-title "static site generator" "The subtitle of entire site." op/repository-org-branch "source" "The branch where org files stored on, it is within repository presented by\n`op/repository-directory'." op/repository-html-branch "master" "The branch where generated html files stored on, it is within repository\npresented by `op/repository-directory'." op/theme 'mdo "The theme used for page generation." symbol op/personal-github-link "https://github.com/kelvinh/org-page" "The personal github link." op/personal-disqus-shortname "The personal disqus shortname." op/personal-google-analytics-id "Personal google analytics id." op/template-directory (concat op/load-directory (format "themes/%s/templates/" (symbol-name (or op/theme 'mdo)))) "The directory stores templates for page rendering." op/page-template (file-to-string (concat op/template-directory "container.mustache")) "The template used to render pages, see the template itself for detail." op/retrieve-category-function 'op/get-file-category "The function used to retrieve an org file's category, its parameter is the\norg file's path, if parameter is nil, it should return all categories, the\ndefault value is `op/get-file-category'." function] 8) #@72 Configurations for different categories, can and should be customized. (defvar op/category-config-alist '(("blog" :show-meta t :show-comment t :uri-generator op/generate-uri :uri-template "/blog/%y/%m/%d/%t/" :sort-by :date :category-index t) ("index" :show-meta nil :show-comment nil :uri-generator op/generate-uri :uri-template "/" :sort-by :date :category-index nil) ("about" :show-meta nil :show-comment nil :uri-generator op/generate-uri :uri-template "/about/" :sort-by :date :category-index nil)) (#$ . 2948)) #@40 Default template rendering parameters. (defvar op/default-template-parameters (byte-code "\306\307\310\"\311\312\313#\210\311\314\315#\210\311\316\317#\210\311\320\321#\210\311\322 #\210\311\323\n#\210\311\324 #\210\311\325\f\203C\326\327\f\"\203C\330\331\f\"\202D\f#\210\311\332 #\210\311\333#\210\311\334\205\\\335#\210\311\336 #\210)\207" [#1=#:ht-temp op/site-main-title op/site-sub-title op/personal-github-link op/site-domain op/personal-disqus-shortname make-hash-table :test equal puthash "blog-uri" "/blog/" "wiki-uri" "/wiki/" "tags-uri" "/tags/" "about-uri" "/about/" "site-main-title" "site-sub-title" "github" "site-domain" string-match "\\`https?://\\(.*[a-zA-Z]\\)/?\\'" match-string 1 "disqus-shortname" "google-analytics-id" "google-analytics" t "creator-info" op/personal-google-analytics-id org-html-creator-string] 5) (#$ . 3471)) #@32 The cache for general purpose. (defvar op/item-cache nil (#$ . 4351)) (provide 'op-vars)