Skip to content

windring/shimeru

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

shimeru

Light blog
这是一个利用ajax进行静态加载的轻博客.示例页面(=>)

安装:上传shimeru到服务器

│  index.html  #主页
├─md
│      hello-world.md #你的博客文章
└─su
        sdfsa.cd  #存放文章信息
        su.css  #主要样式表
        su.js  #主要功能

新文章:

  • 在md目录下创建并编辑新的文章filename.md.
  • 更新文章列表.编辑su/*.cd文件,创建新行,格式:
    文章标题| |日期信息| |分类| |null| |filename
    
    注:使用| |进行分隔.文章分类尚未实现.

使用多说评论:

  • 前往多说,创建新的评论管理站点(=>),得到多说短域名.
  • 编辑su/su.js文件, 更改行var myshort="shimeru";//在多说设置的短域名

使用文章路径加密:

  • 关闭服务器的目录索引.
  • 创建文章,随机命名filename.md,前往斯坦福加密库实例页面(=>)或shimeru运行页面,进入F12控制台,运行 sjcl.encrypt("yourKey",filename),获取加密字串.
    注:**"yourKey"**为下一步加密问题的答案.
  • 编辑su/*.cd,创建新行,格式:
    文章标题| |日期信息| |分类| |提问问题| |加密字串(不包含{}外的"")
    

可选:

  • 加密*.cd文件名

额外使用的技术:

  • jqurey
  • 斯坦福加密库
  • markdownJS

License:
the Apache 2.0

About

Light blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published