Coder Social home page Coder Social logo

casual's Introduction

如你所见,魔改版Typecho,加了一堆我喜欢的东西,取名为Casual-log。

以下是我做的魔改:

1.更换了后台主题

2.轻度魔改安装过程,应该是更方便、快速了(bushi)

3.默认不启用Antispam,毕竟众所周知,Typecho自带的往往没屌用

4.文章被设置为私密/密码访问的时候,将显示标题

5.加长description字段,将利于SEO

6.去掉没屌用的更新和后台欢迎

7.默认支持文章置顶功能

8.外链自动添加nofollow属性

9.外链自动在新标签打开

10.增加按评论数排序,随机排序,按字数排序文章的接口,调用示例:

按评论数排序

widget('Widget_Contents_Post_Comments','pageSize=10')->to($Comments);while($Comments->next()): ?>

随机排序

widget('Widget_Contents_Post_Rand','pageSize=10')->to($Rand);while($Rand->next()): ?>

按字数排序

widget('Widget_Contents_Post_Size','pageSize=10')->to($Size);while($Size->next()): ?>

casual's People

Contributors

akrongl avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

zengxiyao

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.