mirror of
https://github.com/github/choosealicense.com
synced 2024-12-22 12:50:24 +01:00
Improve fix from 098369b33f694becf53fcdd9535c631e3f18a062.
Remove extra newlines which aren't needed.
This commit is contained in:
parent
d799d37492
commit
07491fb984
@ -3,8 +3,8 @@
|
|||||||
<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 | markdownify | strip_html }} - {% endif %}{{ site.title}}</title>
|
<title>{% if page.title %}{{ page.title | markdownify | strip_html | strip_newlines }} - {% 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 | strip_newlines }}">{% 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">
|
||||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||||
@ -19,5 +19,5 @@
|
|||||||
{% include breadcrumbs.html %}
|
{% include breadcrumbs.html %}
|
||||||
|
|
||||||
{% if page.title %}
|
{% if page.title %}
|
||||||
<h1>{{ page.title | markdownify | strip_html }}</h1>
|
<h1>{{ page.title | markdownify | strip_html | strip_newlines }}</h1>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user