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
|
||||
title: PCjs
|
||||
permalink: /
|
||||
developer: false
|
||||
machines:
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width initial-scale=1" />
|
||||
<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 }}">
|
||||
<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 }}">
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@
|
|||
<div class="trigger">
|
||||
{% assign sorted_pages = site.pages | sort:"menu_order" %}
|
||||
{% for page in sorted_pages %}
|
||||
{% if page.title and page.menu_order %}
|
||||
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.title }}</a>
|
||||
{% if page.menu_title %}
|
||||
<a class="page-link" href="{{ page.url | prepend: site.baseurl }}">{{ page.menu_title }}</a>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -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/).
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: blog
|
||||
title: Blog
|
||||
menu_title: Blog
|
||||
menu_order: 2
|
||||
permalink: /blog/
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Machines
|
||||
title: Machine Configurations
|
||||
menu_title: Machines
|
||||
menu_order: 5
|
||||
permalink: /devices/pc/machine/
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: Docs
|
||||
title: Documentation
|
||||
menu_title: Docs
|
||||
menu_order: 6
|
||||
permalink: /docs/
|
||||
---
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
layout: page
|
||||
title: About
|
||||
title: JavaScript Machines
|
||||
menu_title: About
|
||||
menu_order: 10
|
||||
permalink: /docs/about/
|
||||
---
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue