Permalink
Browse files

Title now updates per page.

  • Loading branch information...
1 parent 99cbae2 commit a99f3b045fc04c5a60333865a2ad4a125747c62f @samhashemi samhashemi committed Feb 21, 2014
Showing with 5 additions and 7 deletions.
  1. +1 −4 _layouts/default.html
  2. +1 −1 _layouts/page.html
  3. +1 −1 _posts/static/0100-01-01-faq.md
  4. +2 −1 news/index.html
View
5 _layouts/default.html
@@ -1,10 +1,7 @@
----
-title: "This is my Site Title"
----
<!DOCTYPE html>
<html>
<head>
- <title>Atlanta Municipal Court {% if page.url != "/index.html" %}| {{page.title}}{% endif %}</title>
+ <title>Atlanta Municipal Court {% if page.url != "/" %}| {{page.title}}{% endif %}</title>
<meta charset="UTF-8"/>
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<!-- <link rel="shortcut icon" href="{{site.baseurl}}/img/favicon.ico" type="image/x-icon" /> -->
View
2 _layouts/page.html
@@ -1,5 +1,5 @@
---
layout: default
---
-
+{% assign page.title = content.title %}
{{ content }}
View
2 _posts/static/0100-01-01-faq.md
@@ -2,7 +2,7 @@
layout: page
published: true
permalink: /faq
-title: Untitled
+title: Frequently Asked Questions
category: home
---
View
3 news/index.html
@@ -1,6 +1,7 @@
---
-layout: default
+layout: page
section: blog
+title: News
---
{% for item in site.categories.blog limit:5 %}

0 comments on commit a99f3b0

Please sign in to comment.