Skip to content

Commit 1f6ffae

Browse files
committed
pages: fix formatting
1 parent 588ccc6 commit 1f6ffae

File tree

1 file changed

+27
-38
lines changed

1 file changed

+27
-38
lines changed

docs/_layouts/default.html

Lines changed: 27 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,37 @@
11
<!DOCTYPE html>
2-
<html lang="{{ site.lang | default: " en-US" }}">
3-
<head>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
44
<meta charset="UTF-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77

88
{% seo %}
99

1010
{%if site.color-scheme %}
11-
<link rel="stylesheet" href="{{ "
12-
/assets/css/colors-ColorScheme.css?v=" | replace: "ColorScheme", site.color-scheme | append:
13-
site.github.build_revision | relative_url }}">
11+
<link rel="stylesheet" href="{{ "/assets/css/colors-ColorScheme.css?v=" | replace: "ColorScheme", site.color-scheme | append: site.github.build_revision | relative_url }}">
1412
{% else %}
15-
<link rel="stylesheet" href="{{ "
16-
/assets/css/colors-auto.css?v=" | append: site.github.build_revision | relative_url }}">
13+
<link rel="stylesheet" href="{{ "/assets/css/colors-auto.css?v=" | append: site.github.build_revision | relative_url }}">
1714
{% endif %}
18-
19-
<link rel="stylesheet" href="{{ "
20-
/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
15+
16+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
2117
<!--[if lt IE 9]>
2218
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
2319
<![endif]-->
2420
{% include head-custom.html %}
25-
</head>
26-
<body>
27-
<div class="wrapper">
28-
<header>
29-
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name
30-
}}</a></h1>
21+
</head>
22+
<body>
23+
<div class="wrapper">
24+
<header>
25+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
3126

3227
{% if site.logo %}
33-
<img src="{{site.logo | relative_url}}" alt="Logo"/>
28+
<img src="{{site.logo | relative_url}}" alt="Logo" />
3429
{% endif %}
3530

3631
<p>{{ site.description | default: site.github.project_tagline }}</p>
3732

3833
{% if site.github.is_project_page %}
39-
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
40-
<small>{{ site.github.repository_nwo }}</small></a></p>
34+
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
4135
{% endif %}
4236

4337
{% if site.github.is_user_page %}
@@ -46,29 +40,24 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
4640

4741
{% if site.show_downloads %}
4842
<ul class="downloads">
49-
<li><a href="{{ site.google.playstore_url }}">Download On <strong>Play
50-
Store</strong></a></li>
51-
<li><a href="{{ site.github.repository_url }}/releases">View
52-
<strong>Releases</strong></a></li>
53-
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
43+
<li><a href="{{ site.google.playstore_url }}">Download On <strong>Play Store</strong></a></li>
44+
<li><a href="{{ site.github.repository_url }}/releases">View <strong>Releases</strong></a></li>
45+
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
5446
</ul>
5547
{% endif %}
56-
</header>
57-
<section>
48+
</header>
49+
<section>
5850

59-
{{ content }}
51+
{{ content }}
6052

61-
</section>
62-
<footer>
53+
</section>
54+
<footer>
6355
{% if site.github.is_project_page %}
64-
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{
65-
site.github.owner_name }}</a></p>
56+
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
6657
{% endif %}
67-
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small>
68-
</p>
69-
</footer>
70-
</div>
71-
<script src="{{ "
72-
/assets/js/scale.fix.js" | relative_url }}"></script>
73-
</body>
58+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
59+
</footer>
60+
</div>
61+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
62+
</body>
7463
</html>

0 commit comments

Comments
 (0)