Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Update title field to show site.title #2324

Closed
wants to merge 1 commit into from

2 participants

Alex Yang Parker Moore
Alex Yang

I found that site.title was not being used for the title node, which I think was not intended. A minor fix.

Parker Moore
Owner

Hm, this is a question for @benbalter and @jglovier – which item is meant to go here?

Relevant lines in _config.yml:

name: Dat site title tho
title: Your awesome title
Parker Moore parkr closed this in 77c0249
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on May 7, 2014
  1. Alex Yang
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/site_template/_includes/head.html
2  lib/site_template/_includes/head.html
View
@@ -1,7 +1,7 @@
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
- <title>{% if page.title %}{{ page.title }}{% else %}{{ site.name }}{% endif %}</title>
+ <title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
<meta name="viewport" content="width=device-width">
<meta name="description" content="{{ site.description }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
Something went wrong with that request. Please try again.