Skip to content

my blog system using org export/publish system

Notifications You must be signed in to change notification settings

reverland/ox-blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 

Repository files navigation

ox-blog

It’s just a simple blog system utilize org awesome export and publish system.

it just works

Basic Configuration

I use use-package

(use-package ox-blog
  :after (org ox-rss ox-html)
  :bind (("C-c b" . publish-blog))
  :config
  (setq ox-blog-base-content-path "~/org/posts")
  (setq ox-blog-ga "UA-38681562-1")
  (setq ox-blog-disqus "reverlandhome")

Capture Template

Moreover, you can use a capture template to help you start a blog easily

(push
	  ("b" "New Post" plain (file ox-blog-get-post-file)
	   (file "templates/blog-post.tpl"))
  org-capture-templates)
)
#+TITLE: %^{标题}
#+DATE: %^t
#+SUBTITLE: %^{副标题}
#+CATEGORY: %^{分类}
#+FILETAGS: %^G

%?

About

my blog system using org export/publish system

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published