Skip to content

OMlalala/ZoomQuiet.io

 
 

Repository files navigation

for ZoomQuiet.github.io

in fact my logging is long time:

but...

Markdown is realy easy than t2t/rST, and more and more site support .md not .t2t/.rst

esp. github is love .md

re-start 2014

continue WyTiWyG blogging...

usage

How to update the site contents

main loop:

  1. git clone for start
  2. edit some .md in content/
  3. fab build for test local
  4. fab pub4github git add->ci->push in output/

loop 2~4

repo. relation

https://github.com/ZoomQuiet/ZoomQuiet.io clone in local need embded another rep.

+- LICENSE
+- README.md
+- _plugins
+- _themes
+- content
+- output     as https://github.com/ZoomQuiet/ZoomQuiet.github.io
+- fabfile.py
`- pelicanconf.py
  • because github only support Jekell srv.
  • but github-pages can direct publish pure html static site
  • so

writing

  • fork https://github.com/ZoomQuiet/ZoomQuiet.io into local

  • cd into content/

  • the sub-dir means:

      content/
          +- _extra       扩展功能文件 e.g robots.txt
          +- _files       站内文件
          +- _images      站内图片
          +- IMHO       首字母大写的是分类目录 收集对应文章
          +- ...
          `- pages        类似 about 的导航栏文档
    

文章格式

  • 标准 Markdown 格式

  • 以 .md 为后缀

  • 文件名不得使用中文/空格/符号

  • 内容模板:

    Title: 中E可以混杂的标题 Date: 2013-12-09 Tags: people, shanghai Slug: sting-chen Author: Zoom.Quiet

  • 其中:

deploy

支持本地调试! 使用 fabric 进行管理, 支持的命令:

fab 
Available commands:

    build       编译所有页面
    pub4github  向github 真实发布文章
    reserve     重编译所有页面再启动本地服务
    serve       启动本地服务 localhost:8000

design

基于 pelican-bootstrap3 深度定制

  • 配置: pelicanconf.py
  • 样式: _themes/pelican-bootstrap3/
  • 插件: _plugins/

Changelog

About

Pelican items for ZoomQuiet.github.io

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 41.3%
  • JavaScript 29.2%
  • HTML 16.2%
  • Python 12.2%
  • Shell 1.1%