phyer219 / simple_blog

new version blog!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

phyblog

极简静态博客生成器。特点是代码少,依赖少,简单,支持 markdown 及 org-mode 两种格式。缺点是简陋。

A very simple static blog generator. Only about 100 lines using python. All details can be found in s.py .

基本框架 (Frame)

  • 使用 Python 语言作为主要语言

  • markdown 渲染使用 https://python-markdown.github.io/

  • org-mode 渲染使用 emacs 自带的 org-html-export-to-html: emacs 'to_be_render.org' --batch --eval '(org-html-export-to-html)'

Documention

  • 生成所有博客,并生成首页: python s.py -a

  • 生成单篇博客: python s.py -p post.org

  • 生成首页: python s.py -i

  • 生成本地预览: python s.py -s

  • 其他直接参考 s.py 源码

About

new version blog!


Languages

Language:HTML 39.4%Language:Python 28.8%Language:Fortran 6.8%Language:Jupyter Notebook 6.4%Language:TeX 5.9%Language:Mathematica 5.9%Language:JavaScript 5.7%Language:CSS 0.5%Language:C 0.4%Language:Emacs Lisp 0.1%Language:Makefile 0.1%