Skip to content
View lineaiher's full-sized avatar

Block or report lineaiher

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Typecho-Tips-Realize-the-link-in-the-article-to-open-in-a-new-tab Typecho-Tips-Realize-the-link-in-the-article-to-open-in-a-new-tab Public

    在拿到一个没有经过魔改,或者使用未考虑链接跳转这种情况的主题时,该文章就会对你很有用处。 默认情况Typecho文章中如果有添加链接,那么是从当前窗口跳转的,并且外链没有添加标签,不利于SEO,Typecho文章内链接新窗口并添加标签如下。

  2. Typecho-Tips-Support-Emoji-expressions Typecho-Tips-Support-Emoji-expressions Public

    安装完 typecho,发现并不能使用 Emoji 表情,评论里的 Emoji 表情,都会显示空白,看来不是 typecho 程序的问题,typecho 还是比较健壮的,于是苗头指向了数据库。建数据库的时候使用 utf-8,utf-8 是不支持 Emoji 表情的。 要想数据库支持 Emoji 表情,就得使用 utf8mb4 编码来支持,于是我们需要修改已有数据库的编码格式,好消息是 utf…

  3. Typecho-Tips-Customize-independent-page-templates-to-achieve-archiving-classification-and-labelin Typecho-Tips-Customize-independent-page-templates-to-achieve-archiving-classification-and-labelin Public

    typecho 主题开发过程中,某些独立页面承担着这个站点的美化或者是导航作用。 有些时候,用户自己增加的单独页面可以什么内容都没有,但是显示的时候,效果却能出来。 此时用户自己增加的单独页面就承担了导航的作用,但是里面自己写的代码又成了美化作用。 而独立页面中,文章分类、文章归档、标签、友链、关于这五个页面,前三个都是需要读取数据库,去显示内容的,这显然不能通过用户自己编辑内容去显示。 此…