mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Merge pull request #176 from penibelst/markdownify-titles
Make sure titles are in smarty pants
This commit is contained in:
commit
89f2242a08
@ -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 %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user