1
0
mirror of https://github.com/github/choosealicense.com synced 2024-11-05 11:18:50 +01:00

Merge pull request #176 from penibelst/markdownify-titles

Make sure titles are in smarty pants
This commit is contained in:
Ben Balter 2014-01-06 10:55:32 -08:00
commit 89f2242a08

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title}}</title> <title>{% if page.title %}{{ page.title | markdownify | strip_html }} - {% endif %}{{ site.title}}</title>
{% if page.description %}<meta name="description" content="{{ page.description | strip_html }}">{% endif %} {% if page.description %}<meta name="description" content="{{ page.description | strip_html }}">{% endif %}
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900"> <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Chivo:900">
<link rel="stylesheet" href="/css/application.css"> <link rel="stylesheet" href="/css/application.css">
@ -18,5 +18,5 @@
{% include breadcrumbs.html %} {% include breadcrumbs.html %}
{% if page.title %} {% if page.title %}
<h1>{{ page.title }}</h1> <h1>{{ page.title | markdownify | strip_html }}</h1>
{% endif %} {% endif %}