From 62a1e619dfab2a4d5c8ae1b8cd3d9dbd01654348 Mon Sep 17 00:00:00 2001 From: Jeff Parsons Date: Mon, 14 Dec 2015 10:35:33 -0800 Subject: [PATCH] Differentiate between page titles and menu titles --- README.md | 1 - _includes/head.html | 2 +- _includes/header.html | 4 ++-- apps/pc/README.md | 5 +++-- blog/README.md | 1 + devices/pc/machine/README.md | 3 ++- docs/README.md | 3 ++- docs/about/README.md | 3 ++- pubs/README.md | 5 +++-- 9 files changed, 16 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index d9e41fe61..cd183aee9 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,5 @@ --- layout: page -title: PCjs permalink: / developer: false machines: diff --git a/_includes/head.html b/_includes/head.html index 354b496c3..85288e0a5 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -2,7 +2,7 @@ - {% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %} + {% if page.title %}PCjs: {{ page.title }}{% else %}{{ site.title }}{% endif %} diff --git a/_includes/header.html b/_includes/header.html index 2c7a880f5..7658aa0e8 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -16,8 +16,8 @@
{% assign sorted_pages = site.pages | sort:"menu_order" %} {% for page in sorted_pages %} - {% if page.title and page.menu_order %} - {{ page.title }} + {% if page.menu_title %} + {{ page.menu_title }} {% endif %} {% endfor %}
diff --git a/apps/pc/README.md b/apps/pc/README.md index b121fffef..3fefc0f65 100644 --- a/apps/pc/README.md +++ b/apps/pc/README.md @@ -1,11 +1,12 @@ --- layout: page -title: Apps +title: Application Archive +menu_title: Apps menu_order: 4 permalink: /apps/pc/ --- -IBM PC Application Demos +IBM PC Application Archive --- Below are selected demos of classic IBM PC applications running on [PCjs](/docs/about/pcjs/). diff --git a/blog/README.md b/blog/README.md index dee5eb936..ce71e7051 100644 --- a/blog/README.md +++ b/blog/README.md @@ -1,6 +1,7 @@ --- layout: blog title: Blog +menu_title: Blog menu_order: 2 permalink: /blog/ --- diff --git a/devices/pc/machine/README.md b/devices/pc/machine/README.md index c24000e8f..dad7965b1 100644 --- a/devices/pc/machine/README.md +++ b/devices/pc/machine/README.md @@ -1,6 +1,7 @@ --- layout: page -title: Machines +title: Machine Configurations +menu_title: Machines menu_order: 5 permalink: /devices/pc/machine/ --- diff --git a/docs/README.md b/docs/README.md index c2b4e357c..06e057cd8 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1,6 +1,7 @@ --- layout: page -title: Docs +title: Documentation +menu_title: Docs menu_order: 6 permalink: /docs/ --- diff --git a/docs/about/README.md b/docs/about/README.md index 2ce83e2bc..5c39e34a6 100644 --- a/docs/about/README.md +++ b/docs/about/README.md @@ -1,6 +1,7 @@ --- layout: page -title: About +title: JavaScript Machines +menu_title: About menu_order: 10 permalink: /docs/about/ --- diff --git a/pubs/README.md b/pubs/README.md index d01e03950..8f93620a6 100644 --- a/pubs/README.md +++ b/pubs/README.md @@ -1,11 +1,12 @@ --- layout: page -title: Pubs +title: Publication Archive +menu_title: Pubs menu_order: 7 permalink: /pubs/ --- -Publications +Publication Archive --- An assortment of PC-related publications, including: