Git Product home page Git Product logo

ink_werttin's Introduction

ink_Werttin

An ink theme based on offical theme.

Warning

本主题暂时不会更新,如果遇到不兼容情况,请自己捣鼓捣鼓

使用说明

预览

最简单的方法是去参观我的博客~ 传送门

以下截图可能有点旧。

首页 \ 文章页 \ 归档页

下载

对于旧版 InkPaper(即主题目录下不包含 config.yml 的版本),见 Release 页面

目前的最新版本:Beta @ 1.0.3

对于新版 InkPaper,请点击 这里

功能

  • 默认字体为 Microsoft Yahei UI ,对 sans-serifserif 没啥好感
  • 支持 zh (Chinese) / en (English) / ru (Russian) / jp (Japanese) 四种语言(后两种感谢原作者 @imeoer),请修改根目录的 config.yml 中此处:
lang: **
  • 为了使加载速度更快,摒弃了大部分图片。其中包括首页作者Avatar、文章下小Avatar等
  • 文章内不支持头图功能(此功能被阉割)
  • 支持图片 Lazyload
  • 支持页面平滑滚动
  • more..

打开姿势

下载完整包,把其中唯一的文件夹扔到 ink 根目录。

修改 config.yml 中下列字段如下:

修改前:

site:
    ...
    theme: theme
    ...

修改后:

site:
    ...
    theme: ink_Werttin
    ...

在主题目录下的 config.yml 中,如果你的 favicon.ico 要替换或者修改为 PNG 格式的图片等,请自行修改。

如果没有图片或者懒得设置,请删除这一行,否则可能会报错。

从 Beta @ 1.0.3 起,本主题不再提供 favicon.png

另:虽然确实是去掉了首页的几个头像,但在文章页评论框上,作者简介中的头像并没有去掉。 所以…别忘了设置 config.yml 中的 avatar & logo

如有任何问题,欢迎即刻联系我或者提 issue,不过处理时间可能很长就是,因为很忙。

License

遵循 Apache License 2.0

ink_werttin's People

Contributors

skimige avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ink_werttin's Issues

index.js有点问题

这个模板里index.jsTimesince计算有点问题,如31天前写的文章就无法显示为一个月前,正确应把if (interval > 1)改为>=1。其他以此类推。

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.