Skip to content

Commit c813860

Browse files
committed
Replace the status bar with text mode #6
1. Split the copyleft part from footer.html 2. Use the dirty status bar to replace the image.
1 parent 2eb92e8 commit c813860

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

_includes/copyleft.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<p>Copyleft (ɔ) from 2015-2018 Vim Taiwan CC BY-NC 2.5 TW.</p>
2+
</div>

_includes/footer.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
<p>Copyleft (ɔ) from 2015-2018 Vim Taiwan CC BY-NC 2.5 TW.</p>
2-
<img src="images/status_bar.png" class="status_bar">
3-
</div>
1+
<footer>
2+
<div>"vim.html"</div>
3+
</footer>
44
</body>
55
</html>

_layouts/default.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,6 @@
22

33
{{ content }}
44

5+
{% include copyleft.html %}
6+
57
{% include footer.html %}

style.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,3 +149,9 @@ body {
149149
width: 100%;
150150
}
151151
}
152+
153+
footer {
154+
position: fixed;
155+
bottom: 0;
156+
width: 100%;
157+
}

0 commit comments

Comments
 (0)