Skip to content

Commit e0418a1

Browse files
authored
Merge pull request #69 from github/titles
Add page titles and fonts
2 parents feed140 + c735cdd commit e0418a1

6 files changed

Lines changed: 5 additions & 4 deletions

File tree

docs/_layouts/default.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<!DOCTYPE html>
44
<html class="height-full">
55
<head>
6+
<title>{% if page.title %}{{ page.title }} - {% endif %}{{ site.title }}</title>
67
<meta charset="utf-8">
78
<link rel="stylesheet" href="{{ site.baseurl }}/primer.css">
89
<link rel="stylesheet" href="{{ site.baseurl }}/github-syntax.css">
@@ -41,6 +42,6 @@ <h1 class="m-0 mt-2">Catalyst</h1>
4142
</header>
4243

4344
{{ content }}
44-
45+
4546
</body>
4647
</html>

docs/fonts/Inter-Bold.woff

140 KB
Binary file not shown.

docs/fonts/Inter-Medium.woff

139 KB
Binary file not shown.

docs/fonts/Inter-Regular.woff

131 KB
Binary file not shown.

docs/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
layout: default
33
---
4-
54
<section class="d-flex flex-justify-center container-xl clearfix">
65
<div class="mt-6">
76
<h1 class="h000-mktg mt-6 mr-6">Web Components<br class="hide-sm"> made easy</h1>
@@ -37,7 +36,7 @@ <h1 class="h000-mktg mt-6 mr-6">Catalyse your Web Components</h1>
3736

3837
<span data-target="hello-world.output">
3938
</span>
40-
</hello-world>
39+
</hello-world>
4140
{% endhighlight %}
4241
</div>
4342
<div class="">

docs/reference.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
---
22
layout: reference
3+
title: Reference guide
34
---
45

56
<h1>Reference guide</h1>
@@ -13,7 +14,7 @@ <h1>Reference guide</h1>
1314
<h2 class="mb-0" id="{{ file.name | slugify }}">{{ export.name }}</h2>
1415
<div class="mb-3 f5">
1516
{% for source in export.sources %}
16-
Defined in:
17+
Defined in:
1718
<a href="{{ site.github.repository_url }}/blob/{{ revision }}/src/{{ source.fileName }}#L{{ source.line }}">
1819
{{ source.fileName }}:{{ source.line }}
1920
</a>

0 commit comments

Comments
 (0)