Skip to content

Commit ba46ef8

Browse files
authored
Made the footer stick to the bottom; fixes #576 (#1226)
1 parent 6c5187d commit ba46ef8

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Unreleased version
22
- BREAKING CHANGE: Allow changing the order of the social network links that appear in the footer (#1152)
33
- BREAKING CHANGE: `google-scholar` social network link no longer requires the prefix `citations?user=`; if you previously set this parameter, it needs to be updated (#1189)
4+
- The footer of a page always sticks to the bottom, even on short pages (#576)
45
- Added `author` YAML parameter to allow specifying the author(s) of a post (#1220)
56
- Fixed bug where hovering over search results showed the text "{desc}" (#1156)
67
- Added social network links for GitLab, Bluesky (#1168, #1218)

_layouts/base.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,13 @@
2525
{% include head.html %}
2626

2727
<body>
28+
<div>
29+
{% include gtm_body.html %}
2830

29-
{% include gtm_body.html %}
31+
{% include nav.html %}
3032

31-
{% include nav.html %}
32-
33-
{{ content }}
33+
{{ content }}
34+
</div>
3435

3536
{% include footer.html %}
3637

assets/css/beautifuljekyll.css

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ body {
2121
background-attachment: fixed;
2222
{% endif %}
2323
overflow-wrap: break-word;
24+
min-height: 100vh;
25+
display: grid;
26+
grid-template-rows: 1fr auto;
2427
}
2528
p {
2629
line-height: 1.5;

0 commit comments

Comments
 (0)