Skip to content

Commit

Permalink
patch zh-TW links into header and footer
Browse files Browse the repository at this point in the history
  • Loading branch information
treffynnon committed Jun 27, 2017
1 parent 0aa107c commit 9e13910
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 8 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ if you need some help getting it setup.

* [Japanese/日本語](http://www.sqlstyle.guide/ja/) by [nkurigit](https://github.com/nkurigit)
* [Portuguese (Brazil)/Português (BR)](http://www.sqlstyle.guide/pt-br/) by [pmarcus93](https://github.com/pmarcus93)
* [Simplified Chinese/简体中文](http://www.sqlstyle.guide/zh/) by
[wontoncoder](https://github.com/wontoncoder)
* [Russian/Русский](http://www.sqlstyle.guide/ru/) by [denpatin](https://github.com/denpatin)
* [Simplified Chinese/简体中文](http://www.sqlstyle.guide/zh/) by [wontoncoder](https://github.com/wontoncoder)
* [Traditional Chinese/正體中文](http://www.sqlstyle.guide/zh-tw/) by [Leon0824](https://github.com/Leon0824)

## Projects known to be implementing the guide

Expand Down
4 changes: 4 additions & 0 deletions _includes/foot.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<a href="{{ site.url }}/zh" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="zh" title="简体中文 (Simplified Chinese)" lang="zh">简体中文</span>
</a>
·
<a href="{{ site.url }}/zh-tw" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="zh-TW" title="正體中文 (Traditional Chinese)" lang="zh-TW">正體中文</span>
</a>
</nav>
<p>
This guide is being discussed on Hacker News [
Expand Down
4 changes: 4 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
<a href="{{ site.url }}/zh/" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="zh" title="简体中文 (Simplified Chinese)" lang="zh">简体中文</span>
</a>
·
<a href="{{ site.url }}/zh-tw" itemprop="availableLanguage" itemscope itemtype="http://schema.org/Language">
<span itemprop="name" alternateName="zh-TW" title="正體中文 (Traditional Chinese)" lang="zh-TW">正體中文</span>
</a>
</nav>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions _includes/sqlstyle.guide.zh-tw.md
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ ZONE
"SQL style guide pull requests on GitHub"
[celko]: https://www.amazon.com/gp/product/0120887975/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=treffynnon-20&linkId=9c88eac8cd420e979675c815771313d5
"Joe Celko's SQL Programming Style (The Morgan Kaufmann Series in Data Management Systems)"
[dl-md]: https://raw.githubusercontent.com/treffynnon/sqlstyle.guide/gh-pages/_includes/sqlstyle.guide.md
[dl-md]: https://raw.githubusercontent.com/treffynnon/sqlstyle.guide/gh-pages/_includes/sqlstyle.guide.zh-TW.md
"Download the guide in Markdown format"
[iso-8601]: https://en.wikipedia.org/wiki/ISO_8601
"Wikipedia: ISO 8601"
Expand All @@ -1196,5 +1196,5 @@ ZONE
"Wikipedia: Entity–attribute–value model"
[sqlstyleguide]: http://www.sqlstyle.guide
"SQL style guide by Simon Holywell"
[licence-zh]: https://creativecommons.org/licenses/by-sa/4.0/deed.zh
"署名-相同方式共享 4.0 國際"
[licence-zh]: https://creativecommons.org/licenses/by-sa/4.0/deed.zh_TW
"姓名標示-相同方式分享 4.0 國際"
2 changes: 1 addition & 1 deletion _includes/sqlstyle.guide.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ ZONE
"SQL style guide pull requests on GitHub"
[celko]: https://www.amazon.com/gp/product/0120887975/ref=as_li_ss_tl?ie=UTF8&linkCode=ll1&tag=treffynnon-20&linkId=9c88eac8cd420e979675c815771313d5
"Joe Celko's SQL Programming Style (The Morgan Kaufmann Series in Data Management Systems)"
[dl-md]: https://raw.githubusercontent.com/treffynnon/sqlstyle.guide/gh-pages/_includes/sqlstyle.guide.md
[dl-md]: https://raw.githubusercontent.com/treffynnon/sqlstyle.guide/gh-pages/_includes/sqlstyle.guide.zh.md
"Download the guide in Markdown format"
[iso-8601]: https://en.wikipedia.org/wiki/ISO_8601
"Wikipedia: ISO 8601"
Expand Down
1 change: 1 addition & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
<link rel="alternate" hreflang="en" href="{{ site.url }}/">
<link rel="alternate" hreflang="ja" href="{{ site.url }}/ja/">
<link rel="alternate" hreflang="zh" href="{{ site.url }}/zh/">
<link rel="alternate" hreflang="zh-TW" href="{{ site.url }}/zh-tw/">
<link rel="alternate" hreflang="pt-BR" href="{{ site.url }}/pt-br/">
<link rel="alternate" hreflang="ru" href="{{ site.url }}/ru/">
</head>
Expand Down
4 changes: 2 additions & 2 deletions zh-tw/index.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
---
layout: default
lang: zh-tw
lang: zh-TW
lang_title: SQL樣式指南
---

* TOC
{:toc}

{% include sqlstyle.guide.zh-tw.md %}
{% include sqlstyle.guide.zh-TW.md %}

0 comments on commit 9e13910

Please sign in to comment.