Skip to content

Commit a126ef4

Browse files
committed
moved edit button to bottom
1 parent 8e79482 commit a126ef4

File tree

3 files changed

+9
-10
lines changed

3 files changed

+9
-10
lines changed

_includes/footer.html

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
<footer>
22
<div class="row">
3-
<div class="col-lg-12 footer">
4-
<img src="{{site.url}}{{site.footer_image_location}}"/> {% if page.last_updated %} Page last updated: {{page.last_updated}}{% endif %} Site last
5-
generated: {{ site.time | date: "%b %-d, %Y %X" }}
3+
<div class="col-lg-1">
4+
<a target="_blank" href="https://github.com/HaxeCheckstyle/docs/edit/gh-pages{{page.url | replace: '.html', '.md'}}" class="btn btn-primary btn-xs" role="button"><i class="fa fa-book"></i> Edit Page</a>
5+
</div>
6+
<div class="col-lg-11 footer">
7+
<img src="{{site.url}}{{site.footer_image_location}}"/> {% if page.last_updated %} Page last updated: {{page.last_updated}}{% endif %} Site last generated: {{ site.time | date: "%b %-d, %Y %X" }}
68
</div>
79
</div>
810
</footer>

_layouts/page.html

+3-7
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22
layout: default
33
---
44

5-
<div class="row">
6-
<div class="col-lg-11 post-header">
7-
<h1 class="post-title-main">{% if page.homepage == true %} <img src="https://raw.githubusercontent.com/HaxeCheckstyle/haxe-checkstyle/dev/resources/logo.png" alt="logo" />{% else %}{{ page.title }}{% endif %}</h1>
8-
</div>
9-
<div class="col-lg-1">
10-
<h1 class="post-title-main"><a target="_blank" href="https://github.com/HaxeCheckstyle/docs/edit/gh-pages{{page.url | replace: '.html', '.md'}}" class="btn btn-primary btn-xs" role="button"><i class="fa fa-book"></i> Edit Page</a></h1>
11-
</div>
5+
<div class="post-header">
6+
<h1 class="post-title-main">{% if page.homepage == true %} <img
7+
src="https://raw.githubusercontent.com/HaxeCheckstyle/haxe-checkstyle/dev/resources/logo.png" alt="logo"/>{% else %}{{ page.title }}{% endif %}</h1>
128
</div>
139

1410
<div class="post-content">

css/customstyles.css

+1
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ dt[id]{
8585

8686
body h1 {
8787
margin-top:40px;
88+
margin-bottom:20px;
8889
}
8990

9091
.post-content img {

0 commit comments

Comments
 (0)