Skip to content

Commit

Permalink
#5 添加description, 但post无效; seo-tag插件尚无效
Browse files Browse the repository at this point in the history
  • Loading branch information
testacount1 committed Oct 25, 2017
1 parent 0619863 commit 89ce2d0
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docs/Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ gem "jekyll", "~> 3.6.2"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"

gem 'jekyll-seo-tag'

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins
Expand Down
3 changes: 3 additions & 0 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ GEM
jekyll (~> 3.3)
jekyll-sass-converter (1.5.0)
sass (~> 3.4)
jekyll-seo-tag (2.3.0)
jekyll (~> 3.3)
jekyll-watch (1.5.0)
listen (~> 3.0, < 3.1)
kramdown (1.15.0)
Expand Down Expand Up @@ -51,6 +53,7 @@ PLATFORMS
DEPENDENCIES
jekyll (~> 3.6.2)
jekyll-feed (~> 0.6)
jekyll-seo-tag
minima (~> 2.0)
tzinfo-data

Expand Down
4 changes: 4 additions & 0 deletions docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@
title: 用中文编程
description: >- # this means to ignore newlines until "baseurl:"
尽量用中文编写代码. 包括中文命名, 汉化库, 汉化关键词, 新创中文语法的编程语言等等.
Program in Chinese wherever possible. Including using Chinese naming in code,
making API in Chinese, supporting Chinese keywords in existing programming languages,
and creating new programming languages with Chinese grammar.
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http:https://example.com
github_username: program-in-chinese
Expand All @@ -25,6 +28,7 @@ markdown: kramdown
theme: minima
plugins:
- jekyll-feed
- jekyll-seo-tag

# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
---
layout: post
title: "在不同编程语言中使用中文命名"
title: 在不同编程语言中使用中文命名
description: 罗列支持中文命名变量,方法,类的编程语言. List out programming languages that support naming variables, functions and classes in Chinese.
date: 2017-10-23 00:00:00 -0700
categories: 命名
---

许可协议: [署名-非商用-相同方式共享 4.0](https://creativecommons.org/licenses/by-nc/4.0/) 转载请保留原文链接及作者

多数现代编程语言都支持Unicode命名的事实,说明了这一需求的切实存在,和编程语言开发者的前瞻性。
Expand Down

0 comments on commit 89ce2d0

Please sign in to comment.