Differentiate between page titles and menu titles
This commit is contained in:
parent
55b319b7dd
commit
62a1e619df
9 changed files with 16 additions and 11 deletions
|
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: PCjs
|
|
||||||
permalink: /
|
permalink: /
|
||||||
developer: false
|
developer: false
|
||||||
machines:
|
machines:
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<meta name="viewport" content="width=device-width initial-scale=1" />
|
<meta name="viewport" content="width=device-width initial-scale=1" />
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
<title>{% if page.title %}PCjs: {{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||||
<meta name="description" content="{{ site.description }}">
|
<meta name="description" content="{{ site.description }}">
|
||||||
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
|
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet" type="text/css">
|
||||||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
|
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
|
||||||
|
|
|
||||||
|
|
@ -16,8 +16,8 @@
|
||||||
<div class="trigger">
|
<div class="trigger">
|
||||||
{% assign sorted_pages = site.pages | sort:"menu_order" %}
|
{% assign sorted_pages = site.pages | sort:"menu_order" %}
|
||||||
{% for page in sorted_pages %}
|
{% for page in sorted_pages %}
|
||||||
{% if page.title and page.menu_order %}
|
{% if page.menu_title %}
|
||||||
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.menu_title }}</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Apps
|
title: Application Archive
|
||||||
|
menu_title: Apps
|
||||||
menu_order: 4
|
menu_order: 4
|
||||||
permalink: /apps/pc/
|
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/).
|
Below are selected demos of classic IBM PC applications running on [PCjs](/docs/about/pcjs/).
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: blog
|
layout: blog
|
||||||
title: Blog
|
title: Blog
|
||||||
|
menu_title: Blog
|
||||||
menu_order: 2
|
menu_order: 2
|
||||||
permalink: /blog/
|
permalink: /blog/
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Machines
|
title: Machine Configurations
|
||||||
|
menu_title: Machines
|
||||||
menu_order: 5
|
menu_order: 5
|
||||||
permalink: /devices/pc/machine/
|
permalink: /devices/pc/machine/
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Docs
|
title: Documentation
|
||||||
|
menu_title: Docs
|
||||||
menu_order: 6
|
menu_order: 6
|
||||||
permalink: /docs/
|
permalink: /docs/
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: About
|
title: JavaScript Machines
|
||||||
|
menu_title: About
|
||||||
menu_order: 10
|
menu_order: 10
|
||||||
permalink: /docs/about/
|
permalink: /docs/about/
|
||||||
---
|
---
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,12 @@
|
||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: Pubs
|
title: Publication Archive
|
||||||
|
menu_title: Pubs
|
||||||
menu_order: 7
|
menu_order: 7
|
||||||
permalink: /pubs/
|
permalink: /pubs/
|
||||||
---
|
---
|
||||||
|
|
||||||
Publications
|
Publication Archive
|
||||||
---
|
---
|
||||||
An assortment of PC-related publications, including:
|
An assortment of PC-related publications, including:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue