You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by db...@apache.org on 2015/11/18 22:58:05 UTC
docs commit: Refactored the title prefix into a global title suffix
in _config.yml. This closes #423.
Repository: cordova-docs
Updated Branches:
refs/heads/master 1d69fcab9 -> a8fa0b616
Refactored the title prefix into a global title suffix in _config.yml. This closes #423.
Project: http://git-wip-us.apache.org/repos/asf/cordova-docs/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-docs/commit/a8fa0b61
Tree: http://git-wip-us.apache.org/repos/asf/cordova-docs/tree/a8fa0b61
Diff: http://git-wip-us.apache.org/repos/asf/cordova-docs/diff/a8fa0b61
Branch: refs/heads/master
Commit: a8fa0b61693f8d02d9078e23f03729f0485ec5f9
Parents: 1d69fca
Author: riknoll <ri...@gmail.com>
Authored: Mon Nov 16 17:08:01 2015 -0800
Committer: Dmitry Blotsky <dm...@gmail.com>
Committed: Wed Nov 18 13:57:43 2015 -0800
----------------------------------------------------------------------
_config.yml | 9 +++++----
www/_includes/head.html | 6 +++---
www/_layouts/docs-de.html | 1 -
www/_layouts/docs-en.html | 1 -
www/_layouts/docs-es.html | 1 -
www/_layouts/docs-fr.html | 1 -
www/_layouts/docs-it.html | 1 -
www/_layouts/docs-ja.html | 1 -
www/_layouts/docs-ko.html | 1 -
www/_layouts/docs-pl.html | 1 -
www/_layouts/docs-ru.html | 1 -
www/_layouts/docs-sl.html | 1 -
www/_layouts/docs-zh.html | 1 -
www/artwork.html | 2 +-
www/blog/index.html | 2 +-
www/contact/index.html | 2 +-
www/contribute/index.html | 2 +-
www/index.html | 1 -
www/plugins/authors.md | 2 +-
www/plugins/faq.md | 2 +-
www/plugins/index.html | 2 +-
21 files changed, 15 insertions(+), 26 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/_config.yml
----------------------------------------------------------------------
diff --git a/_config.yml b/_config.yml
index 601a859..d35871a 100644
--- a/_config.yml
+++ b/_config.yml
@@ -5,10 +5,11 @@
# =======
# Site settings
# =======
-title: Apache Cordova
-url: "https://cordova.apache.org" # the base hostname & protocol
-baseurl: "" # the subpath of the site, e.g. /blog; NOTE: no trailing slash
-rss_path: /feed.xml
+title: Apache Cordova
+url: "https://cordova.apache.org" # the base hostname & protocol
+baseurl: "" # the subpath of the site, e.g. /blog; NOTE: no trailing slash
+title_suffix: "Apache Cordova"
+rss_path: /feed.xml
description: >
Apache Cordova is a set of device APIs that allow a web mobile app
developer to access native device function from JavaScript.
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_includes/head.html
----------------------------------------------------------------------
diff --git a/www/_includes/head.html b/www/_includes/head.html
index 85c8816..5fe1974 100644
--- a/www/_includes/head.html
+++ b/www/_includes/head.html
@@ -8,10 +8,10 @@
<title>
{% if page.title %}
- {% if page.title_prefix %}
- {{ page.title_prefix }} - {{ page.title }}
+ {% if page.title_suffix %}
+ {{ page.title }} - {{ page.title_suffix }}
{% else %}
- {{ page.title }}
+ {{ page.title }} - {{ site.title_suffix }}
{% endif %}
{% else %}
{{ site.title }}
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-de.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-de.html b/www/_layouts/docs-de.html
index 2eea405..0e14f62 100644
--- a/www/_layouts/docs-de.html
+++ b/www/_layouts/docs-de.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "Dies ist nicht die neueste Version der Dokumentation!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-en.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-en.html b/www/_layouts/docs-en.html
index fc1624d..395c46f 100644
--- a/www/_layouts/docs-en.html
+++ b/www/_layouts/docs-en.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "This version of the documentation is outdated!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-es.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-es.html b/www/_layouts/docs-es.html
index d8fb721..b1d082e 100644
--- a/www/_layouts/docs-es.html
+++ b/www/_layouts/docs-es.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "Esta no es la versión más reciente de la documentación!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-fr.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-fr.html b/www/_layouts/docs-fr.html
index 7c09a0c..2190268 100644
--- a/www/_layouts/docs-fr.html
+++ b/www/_layouts/docs-fr.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "Ca n'est past la dernière version de la documentation."
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-it.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-it.html b/www/_layouts/docs-it.html
index 727cf39..fab1f83 100644
--- a/www/_layouts/docs-it.html
+++ b/www/_layouts/docs-it.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "Questa non è la versione più recente della documentazione!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-ja.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-ja.html b/www/_layouts/docs-ja.html
index 50cb9f7..0578bea 100644
--- a/www/_layouts/docs-ja.html
+++ b/www/_layouts/docs-ja.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "これがないドキュメントの最新バージョンです!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-ko.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-ko.html b/www/_layouts/docs-ko.html
index edc14e4..bd3c8b8 100644
--- a/www/_layouts/docs-ko.html
+++ b/www/_layouts/docs-ko.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "이 아닌 문서의 최신 버전입니다!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-pl.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-pl.html b/www/_layouts/docs-pl.html
index 3290b2a..ef2839c 100644
--- a/www/_layouts/docs-pl.html
+++ b/www/_layouts/docs-pl.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "Nie jest to najnowsza wersja dokumentacji!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-ru.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-ru.html b/www/_layouts/docs-ru.html
index 5957512..89d29ec 100644
--- a/www/_layouts/docs-ru.html
+++ b/www/_layouts/docs-ru.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "Эта версия документации устарела!"
in_development_text: "Эта версия документации находится в стадии разработки!"
click_here_text: "Нажмите здесь для последней выпущенной версии"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-sl.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-sl.html b/www/_layouts/docs-sl.html
index 2405e0d..d82f05a 100644
--- a/www/_layouts/docs-sl.html
+++ b/www/_layouts/docs-sl.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "To ni najnovejša različica dokumentacije!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/_layouts/docs-zh.html
----------------------------------------------------------------------
diff --git a/www/_layouts/docs-zh.html b/www/_layouts/docs-zh.html
index e842fe7..99cafe0 100644
--- a/www/_layouts/docs-zh.html
+++ b/www/_layouts/docs-zh.html
@@ -1,6 +1,5 @@
---
layout: docs
-title_prefix: "Apache Cordova"
outdated_text: "这不是文档的最新版本!"
in_development_text: "This version of the documentation is under development!"
click_here_text: "Click here for the latest released version"
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/artwork.html
----------------------------------------------------------------------
diff --git a/www/artwork.html b/www/artwork.html
index 7bc6304..8f2065f 100644
--- a/www/artwork.html
+++ b/www/artwork.html
@@ -1,6 +1,6 @@
---
layout: cordova
-title: Apache Cordova Artwork
+title: Artwork
permalink: /artwork/
---
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/blog/index.html
----------------------------------------------------------------------
diff --git a/www/blog/index.html b/www/blog/index.html
index baaa7dc..263f188 100644
--- a/www/blog/index.html
+++ b/www/blog/index.html
@@ -1,6 +1,6 @@
---
layout: blog
-title: Apache Cordova Blog
+title: Blog
---
<div class="row">
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/contact/index.html
----------------------------------------------------------------------
diff --git a/www/contact/index.html b/www/contact/index.html
index 13fd0d3..bd2ad9d 100644
--- a/www/contact/index.html
+++ b/www/contact/index.html
@@ -1,6 +1,6 @@
---
layout: cordova
-title: Apache Cordova
+title: Contact
---
<div class="container">
<div class="row">
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/contribute/index.html
----------------------------------------------------------------------
diff --git a/www/contribute/index.html b/www/contribute/index.html
index 2846584..37fdc0d 100644
--- a/www/contribute/index.html
+++ b/www/contribute/index.html
@@ -1,6 +1,6 @@
---
layout: cordova
-title: Apache Cordova Plugins
+title: Contribute
---
<!-- REMOVE THIS LINK BEFORE PUBLISHING. This is just for IntelliSense while coding -->
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/index.html
----------------------------------------------------------------------
diff --git a/www/index.html b/www/index.html
index f7b6cc2..1a8cc50 100644
--- a/www/index.html
+++ b/www/index.html
@@ -1,6 +1,5 @@
---
layout: cordova
-title: Apache Cordova
permalink: /
---
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/plugins/authors.md
----------------------------------------------------------------------
diff --git a/www/plugins/authors.md b/www/plugins/authors.md
index c6164cb..b88f517 100644
--- a/www/plugins/authors.md
+++ b/www/plugins/authors.md
@@ -1,6 +1,6 @@
---
layout: plugins-help
-title: Apache Cordova Plugin Contributors
+title: Plugin Contributors
---
# Plugin Search for Plugin Authors
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/plugins/faq.md
----------------------------------------------------------------------
diff --git a/www/plugins/faq.md b/www/plugins/faq.md
index f7feacd..e36b838 100644
--- a/www/plugins/faq.md
+++ b/www/plugins/faq.md
@@ -1,6 +1,6 @@
---
layout: plugins-help
-title: Apache Cordova Plugins FAQ
+title: Plugins FAQ
---
# Plugin Search FAQ
http://git-wip-us.apache.org/repos/asf/cordova-docs/blob/a8fa0b61/www/plugins/index.html
----------------------------------------------------------------------
diff --git a/www/plugins/index.html b/www/plugins/index.html
index 12b49c2..bdb9a1f 100644
--- a/www/plugins/index.html
+++ b/www/plugins/index.html
@@ -1,6 +1,6 @@
---
layout: cordova
-title: Apache Cordova Plugin Search
+title: Plugin Search
plugins_tab: true
description: Search here for Apache Cordova plugins published on NPM.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org