Skip to content

Commit

Permalink
release: v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Nov 11, 2017
1 parent d22e586 commit bb071b5
Show file tree
Hide file tree
Showing 27 changed files with 62 additions and 27 deletions.
24 changes: 17 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
# Change Log

## Unreleased
## [1.3.0](https://github.com/kitian616/jekyll-TeXt-theme/releases/tag/v1.3.0)

### Enhancements

- Article tag supports special characters

- Excerpts type (HTML | TEXT)

- Titles on the phone become smaller

- Styles change (table, code, blockquote)

## [1.2.2](https://github.com/kitian616/jekyll-TeXt-theme/releases/tag/v1.2.2)

Expand All @@ -14,9 +24,9 @@

### Bug Fixes

- Fix Email link url error
- Fix Email link URL error

- Fix Site Title link url error
- Fix Site Title link URL error

- Fix table responsive style error

Expand All @@ -28,23 +38,23 @@

### Bug Fixes

- Issues 4: View count display error when the post key include =. @yuxianda
- Issues 4: View count display error when the post key include `-`. @yuxianda

- Email url error

## [1.2.0](https://github.com/kitian616/jekyll-TeXt-theme/releases/tag/v1.2.0)

### Enhancements

- Article Excerpt No More Than 200 Words
- Article excerpt no more than 200 words

- If `leancloud` is not set, 0 view won't display

### Bug Fixes

- Fix Article TOC 's display error at proper situation.
- Fix article TOC 's display error at proper situation

- Fix footer social buttons not in the center bug.
- Fix footer social buttons not in the center bug

## [1.1.0](https://github.com/kitian616/jekyll-TeXt-theme/releases/tag/v1.1.0)

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ bundle exec jekyll serve -H 0.0.0.0

### 网站图标

该主题自带了一个“银杏叶”图标,你可以把它替换为自己的图标。网站的图标位于根目录的 favicon.ico 和 ./statics/images/logo 目录下。你会看到 logo 目录中有很多的 png 文件和一个 svg 矢量图文件。那些 png 图片实际上就是根据 svg 矢量图生成的不同大小的图片,这些图片是一些场景可能会用到的大图标,像 iOS 和 Android 的固定到屏幕和 Windows 10 的磁贴。
该主题自带了一个“银杏叶”图标,你可以把它替换为自己的图标。网站的图标位于根目录的 favicon.ico 和 ./assets/images/logo 目录下。你会看到 logo 目录中有很多的 png 文件和一个 svg 矢量图文件。那些 png 图片实际上就是根据 svg 矢量图生成的不同大小的图片,这些图片是一些场景可能会用到的大图标,像 iOS 和 Android 的固定到屏幕和 Windows 10 的磁贴。

该主题提供了一个自动化脚本能将 svg 矢量图自动生成 favicon 和 png 文件。你所要做的是:

1. 安装 Node.js 环境

2. 在项目根目录执行 `npm i` 命令

3. 替换 ./statics/images/logo 目录下的 logo.svg 文件
3. 替换 ./assets/images/logo 目录下的 logo.svg 文件

4. 执行 `npm run artwork` 命令,此时 favicon 和 png 便会替换为新 logo.svg 生成的文件

Expand Down
4 changes: 2 additions & 2 deletions _includes/blog/license.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<div class="clearfix">
{% if site.repository and site.repository_tree %}
<a class="octocat" href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">
<img alt="View on Github" src="{{ "/statics/images/octocat.jpg" | prepend: site.baseurl | replace: '//', '/'}}" />
<img alt="View on Github" src="{{ "/assets/images/octocat.jpg" | prepend: site.baseurl | replace: '//', '/'}}" />
</a>
<p><a href="https://github.com/{{ site.repository }}/tree/{{ site.repository_tree }}/{{ page.path }}">View this POST on Github</a>.</P>
{% endif %}
<p>This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">CC-BY-NC-4.0</a> license.</p>
<a class="license" rel="license" href="http://creativecommons.org/licenses/by-nc/4.0/">
<img alt="Creative Commons License" src="{{ '/statics/images/license-cc4.png' | prepend: site.baseurl | replace: '//', '/'}}" />
<img alt="Creative Commons License" src="{{ '/assets/images/license-cc4.png' | prepend: site.baseurl | replace: '//', '/'}}" />
</a>
<p>欢迎转载,转载需注明出处:<a class="url" href="{% include snippets/page-url.html %}">
{% include snippets/page-url.html %}
Expand Down
22 changes: 11 additions & 11 deletions _includes/head-icons-rel.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@
for Safari on iOS
https://developer.apple.com/ios/human-interface-guidelines/icons-and-images/app-icon/
-->
<link rel="apple-touch-icon" sizes="180x180" href="/statics/images/logo/icon-180x180.png">
<link rel="apple-touch-icon" sizes="167x167" href="/statics/images/logo/icon-167x167.png">
<link rel="apple-touch-icon" sizes="152x152" href="/statics/images/logo/icon-152x152.png">
<link rel="apple-touch-icon" sizes="120x120" href="/statics/images/logo/icon-120x120.png">
<link rel="shortcut icon" href="/statics/images/logo/icon-120x120.png">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/logo/icon-180x180.png">
<link rel="apple-touch-icon" sizes="167x167" href="/assets/images/logo/icon-167x167.png">
<link rel="apple-touch-icon" sizes="152x152" href="/assets/images/logo/icon-152x152.png">
<link rel="apple-touch-icon" sizes="120x120" href="/assets/images/logo/icon-120x120.png">
<link rel="shortcut icon" href="/assets/images/logo/icon-120x120.png">
<!--
for Chrome on Android
https://developer.chrome.com/multidevice/android/installtohomescreen
-->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="/statics/images/logo/icon-192x192.png">
<link rel="icon" sizes="192x192" href="/assets/images/logo/icon-192x192.png">
<!--
for Edge on Windows 10
https://msdn.microsoft.com/en-us/library/dn255024(v=vs.85).aspx
-->
<meta name="msapplication-TileImage" content="/statics/images/logo/icon-144x144.png">
<meta name="msapplication-square310x310logo" content="/statics/images/icon-310x310.png">
<meta name="msapplication-wide310x150logo" content="/statics/images/icon-310x150.png">
<meta name="msapplication-square150x150logo" content="/statics/images/icon-150x150.png">
<meta name="msapplication-square70x70logo" content="/statics/images/icon-70x70.png">
<meta name="msapplication-TileImage" content="/assets/images/logo/icon-144x144.png">
<meta name="msapplication-square310x310logo" content="/assets/images/icon-310x310.png">
<meta name="msapplication-wide310x150logo" content="/assets/images/icon-310x150.png">
<meta name="msapplication-square150x150logo" content="/assets/images/icon-150x150.png">
<meta name="msapplication-square70x70logo" content="/assets/images/icon-70x70.png">
<meta name="msapplication-TileColor" content="#eeeeee">
2 changes: 1 addition & 1 deletion _layouts/blog-base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
{% include common-head.html %}
{% include head-icons-rel.html %}
<link rel="stylesheet" href="{{ "/statics/css/blog.css" | prepend: site.baseurl | replace:'//','/' }}">
<link rel="stylesheet" href="{{ "/assets/css/blog.css" | prepend: site.baseurl | replace:'//','/' }}">
<style>
{% if page.picture_frame == 'shadow' %}
.m-article-content img:not(.emoji) {
Expand Down
2 changes: 1 addition & 1 deletion _layouts/home-base.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<head>
{% include common-head.html %}
{% include head-icons-rel.html %}
<link rel="stylesheet" href="{{ "/statics/css/home.css" | prepend: site.baseurl | replace:'//','/' }}">
<link rel="stylesheet" href="{{ "/assets/css/home.css" | prepend: site.baseurl | replace:'//','/' }}">
<script src="//cdn.bootcss.com/jquery/3.1.1/jquery.min.js"></script>
</head>
<body>
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ const svg2png = require('gulp-svg2png');
const ico = require('gulp-to-ico');

const iconBasename = 'icon';
const iconDestPath = './statics/images/logo';
const iconDestPath = './assets/images/logo';
const faviconDestPath = './';

function coverSvg(width, height) {
height || (height = width);
return gulp.src('./statics/images/logo/logo.svg')
return gulp.src('./assets/images/logo/logo.svg')
.pipe(svg2png({ width: width, height: height }))
.pipe(rename({
basename: iconBasename,
Expand Down
Binary file added jekyll-text-theme-1.3.0.gem
Binary file not shown.
25 changes: 25 additions & 0 deletions jekyll-text-theme.gemspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# coding: utf-8

Gem::Specification.new do |spec|
spec.name = "jekyll-text-theme"
spec.version = "1.3.0"
spec.authors = ["kitian616"]
spec.email = ["kitian616@outlook.com"]

spec.summary = %q{A text first theme for Jekyll.}
spec.homepage = "https://github.com/kitian616/jekyll-TeXt-theme"
spec.license = "MIT"

spec.files = `git ls-files -z`.split("\x0").select do |f|
f.match(%r{^((_includes|_layouts|_sass|assets)/|(LICENSE|README)((\.(txt|md|markdown)|$)))}i)
end

spec.add_runtime_dependency "jekyll", "~> 3.5"
spec.add_runtime_dependency "jekyll-paginate", "~> 1.1"
spec.add_runtime_dependency "jekyll-sitemap", "~> 1.0"
spec.add_runtime_dependency "jekyll-feed", "~> 0.9.2"
spec.add_runtime_dependency "jemoji", "~> 0.8"

spec.add_development_dependency "bundler", "~> 1.12"
spec.add_development_dependency "rake", "~> 10.0"
end
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "jekyll-text-theme",
"version": "1.2.2",
"version": "1.3.0",
"description": "A theme for Jekyll",
"scripts": {
"build": "bundle exec jekyll build --watch",
Expand Down
Binary file added screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bb071b5

Please sign in to comment.