mirror of
https://github.com/rvtr/wiki.git
synced 2025-06-19 03:25:40 -04:00
Add long_title for page title and SEO
The normal title is still used for the sidebar
This commit is contained in:
parent
70c690ad29
commit
422b4f9172
@ -2,8 +2,9 @@
|
|||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
<title>
|
<title>
|
||||||
{% if site.data[page.collection].strings.title != page.title %}
|
{% assign title = page.long_title | default: page.title %}
|
||||||
{{ page.title }} |
|
{% if site.data[page.collection].strings.title != title %}
|
||||||
|
{{ title }} |
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{{ site.data[page.collection].strings.title }}
|
{{ site.data[page.collection].strings.title }}
|
||||||
</title>
|
</title>
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
<link rel="canonical" href="{{ page.url | absolute_url | remove: ".html" }}" />
|
<link rel="canonical" href="{{ page.url | absolute_url | remove: "index.html" | remove: ".html" }}" />
|
||||||
<meta name="description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}" />
|
<meta name="description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}" />
|
||||||
<meta property="og:title" content="{{ page.title | default: site.data[page.collection].strings.title | escape }}" />
|
<meta property="og:title" content="{{ page.long_title | default: page.title | default: site.data[page.collection].strings.title | escape }}" />
|
||||||
<meta property="og:locale" content="{{ page.collection | default: "en_US"}}" />
|
<meta property="og:locale" content="{{ page.collection | default: "en_US"}}" />
|
||||||
<meta property="og:url" content="{{ page.url | absolute_url | remove: ".html" }}" />
|
<meta property="og:url" content="{{ page.url | absolute_url | remove: "index.html" | remove: ".html" }}" />
|
||||||
<meta property="og:site_name" content="{{ site.data[page.collection].strings.title | escape }}" />
|
<meta property="og:site_name" content="{{ site.data[page.collection].strings.title | escape }}" />
|
||||||
<meta property="og:image" content="{{ page.image | default: site.image }}">
|
<meta property="og:image" content="{{ page.image | default: site.image }}">
|
||||||
<meta property="og:description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}" />
|
<meta property="og:description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}" />
|
||||||
<meta name="twitter:card" content="summary">
|
<meta name="twitter:card" content="summary">
|
||||||
<meta name="twitter:title" content="{{ page.title | default: site.data[page.collection].strings.title | escape }}">
|
<meta name="twitter:title" content="{{ page.long_title | default: page.title | default: site.data[page.collection].strings.title | escape }}">
|
||||||
<meta name="twitter:description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}">
|
<meta name="twitter:description" content="{{ page.description | default: site.data[page.collection].strings.description | escape }}">
|
||||||
<meta name="twitter:image" content="{{ page.image | default: site.image }}">
|
<meta name="twitter:image" content="{{ page.image | default: site.image }}">
|
||||||
<meta name="theme-color" content="{{ page.color | default: site.color }}"/>
|
<meta name="theme-color" content="{{ page.color | default: site.color }}"/>
|
||||||
|
@ -52,7 +52,7 @@ layout: compress
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
<h1>{{ page.title }}</h1>
|
<h1>{{ page.long_title | default: page.title }}</h1>
|
||||||
<hr>
|
<hr>
|
||||||
{% include anchor-headings.html html=content anchorBody="<small>#</small>" anchorClass="header-anchor" %}
|
{% include anchor-headings.html html=content anchorBody="<small>#</small>" anchorClass="header-anchor" %}
|
||||||
<div class="alert alert-secondary small-alert" role="alert">
|
<div class="alert alert-secondary small-alert" role="alert">
|
||||||
|
@ -3,6 +3,7 @@ lang: en-US
|
|||||||
layout: wiki
|
layout: wiki
|
||||||
section: gbarunner2
|
section: gbarunner2
|
||||||
title: FAQ & Troubleshooting
|
title: FAQ & Troubleshooting
|
||||||
|
long_title: GBARunner2 FAQ & Troubleshooting
|
||||||
description: FAQs and troubleshooting for GBARunner2
|
description: FAQs and troubleshooting for GBARunner2
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: nds-bootstrap
|
section: nds-bootstrap
|
||||||
category: other
|
category: other
|
||||||
title: FAQ & Troubleshooting
|
title: FAQ & Troubleshooting
|
||||||
|
long_title: nds-bootstrap FAQ & Troubleshooting
|
||||||
description: FAQ & Troubleshooting for nds-bootstrap
|
description: FAQ & Troubleshooting for nds-bootstrap
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: other
|
category: other
|
||||||
title: Controls
|
title: Controls
|
||||||
|
long_title: TWiLight Menu++ Controls
|
||||||
description: Controls for using TWiLight Menu++
|
description: Controls for using TWiLight Menu++
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ lang: en-US
|
|||||||
layout: wiki
|
layout: wiki
|
||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: customization
|
category: customization
|
||||||
title: DSi / 3DS skins - Custom SFX
|
title: DSi / 3DS Skins - Custom SFX
|
||||||
description: How to use custom background music and sound effects in DSi and 3DS skins for TWiLight Menu++
|
description: How to use custom background music and sound effects in DSi and 3DS skins for TWiLight Menu++
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: other
|
category: other
|
||||||
title: FAQ & Troubleshooting
|
title: FAQ & Troubleshooting
|
||||||
|
long_title: TWiLight Menu++ FAQ & Troubleshooting
|
||||||
description: FAQs and troubleshooting for TWiLight Menu++
|
description: FAQs and troubleshooting for TWiLight Menu++
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: installing
|
category: installing
|
||||||
title: Installing (3DS)
|
title: Installing (3DS)
|
||||||
|
long_title: Installing TWiLight Menu++ (3DS)
|
||||||
description: How to install TWiLight Menu++ on the Nintendo 3DS
|
description: How to install TWiLight Menu++ on the Nintendo 3DS
|
||||||
tabs:
|
tabs:
|
||||||
- working-camera: Working camera
|
- working-camera: Working camera
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: installing
|
category: installing
|
||||||
title: Installing (DSi)
|
title: Installing (DSi)
|
||||||
|
long_title: Installing TWiLight Menu++ (DSi)
|
||||||
description: How to install TWiLight Menu++ on the Nintendo DSi
|
description: How to install TWiLight Menu++ on the Nintendo DSi
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: installing
|
category: installing
|
||||||
title: Installing (Flashcard)
|
title: Installing (Flashcard)
|
||||||
|
long_title: Installing TWiLight Menu++ (Flashcard)
|
||||||
description: How to install TWiLight Menu++ on a Nintendo DS flashcard
|
description: How to install TWiLight Menu++ on a Nintendo DS flashcard
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: uninstalling
|
category: uninstalling
|
||||||
title: Uninstalling (3DS)
|
title: Uninstalling (3DS)
|
||||||
|
long_title: Uninstalling TWiLight Menu++ (3DS)
|
||||||
description: How to uninstall TWiLight Menu++ from a Nintendo 3DS
|
description: How to uninstall TWiLight Menu++ from a Nintendo 3DS
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: uninstalling
|
category: uninstalling
|
||||||
title: Uninstalling (DS & DSi)
|
title: Uninstalling (DS & DSi)
|
||||||
|
long_title: Uninstalling TWiLight Menu++ (DS & DSi)
|
||||||
description: How to uninstall TWiLight Menu++ from Nintendo DSi or DS flashcard
|
description: How to uninstall TWiLight Menu++ from Nintendo DSi or DS flashcard
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: updating
|
category: updating
|
||||||
title: Updating (3DS)
|
title: Updating (3DS)
|
||||||
|
long_title: Updating TWiLight Menu++ (3DS)
|
||||||
description: How to update TWiLight Menu++ on the Nintendo 3DS
|
description: How to update TWiLight Menu++ on the Nintendo 3DS
|
||||||
tabs:
|
tabs:
|
||||||
- universal-updater: Universal-Updater
|
- universal-updater: Universal-Updater
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: updating
|
category: updating
|
||||||
title: Updating (DSi)
|
title: Updating (DSi)
|
||||||
|
long_title: Updating TWiLight Menu++ (DSi)
|
||||||
description: How to update TWiLight Menu++ on the Nintendo DSi
|
description: How to update TWiLight Menu++ on the Nintendo DSi
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ layout: wiki
|
|||||||
section: twilightmenu
|
section: twilightmenu
|
||||||
category: updating
|
category: updating
|
||||||
title: Updating (Flashcard)
|
title: Updating (Flashcard)
|
||||||
|
long_title: Updating TWiLight Menu++ (Flashcard)
|
||||||
description: How to update TWiLight Menu++ on a Nintendo DS flashcard
|
description: How to update TWiLight Menu++ on a Nintendo DS flashcard
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user