Skip to content

Commit c250813

Browse files
Adjust doc pages
1 parent 142f437 commit c250813

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

doc-tool/resources/_layouts/blog-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
---
44
<main class="container">
55
<header>
6-
<h1 class="post-title">{{ page.title }}</h1>
6+
<h1 class="above-byline">{{ page.title }}</h1>
77
<div class="byline">
88
<time class="date">
99
<i class="far fa-calendar-alt"></i>
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
---
22
layout: main
3-
extraCSS:
4-
- css/api-page.css
53
---
6-
<main>
7-
<h1 id="doc-page-title">{{ page.title }}</h1>
8-
<a id="edit-on-github" href="{{ site.projectUrl }}/edit/master/{{ site.root }}/{{ page.url }}">
9-
Edit this page on GitHub
10-
</a>
4+
<main class="container">
5+
<header>
6+
<h1 class="above-byline">{{ page.title }}</h1>
7+
<div class="byline">
8+
<a href="{{ site.projectUrl }}/edit/master/{{ site.root }}/{{ page.url }}">
9+
<i class="fab fa-github"></i>
10+
Edit this page on GitHub
11+
</a>
12+
</div>
13+
</header>
1114
<hr/>
12-
<div id="doc-page-container">
13-
{{ content }}
14-
</div>
15+
{{ content }}
1516
</main>

doc-tool/resources/css/dottydoc.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ main.container {
2121
.byline .author {
2222
display: block;
2323
}
24-
h1:not(.post-title) {
24+
h1:not(.above-byline) {
2525
margin-bottom: 20px;
2626
}
2727
h1 + .byline {

0 commit comments

Comments
 (0)