Skip to content

Commit

Permalink
Made the footer stick to the bottom; fixes daattali#576 (daattali#1226)
Browse files Browse the repository at this point in the history
  • Loading branch information
ch0c0l8ra1n authored Oct 27, 2023
1 parent 6c5187d commit ba46ef8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## Unreleased version
- BREAKING CHANGE: Allow changing the order of the social network links that appear in the footer (#1152)
- 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)
- The footer of a page always sticks to the bottom, even on short pages (#576)
- Added `author` YAML parameter to allow specifying the author(s) of a post (#1220)
- Fixed bug where hovering over search results showed the text "{desc}" (#1156)
- Added social network links for GitLab, Bluesky (#1168, #1218)
Expand Down
9 changes: 5 additions & 4 deletions _layouts/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,13 @@
{% include head.html %}

<body>
<div>
{% include gtm_body.html %}

{% include gtm_body.html %}
{% include nav.html %}

{% include nav.html %}

{{ content }}
{{ content }}
</div>

{% include footer.html %}

Expand Down
3 changes: 3 additions & 0 deletions assets/css/beautifuljekyll.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ body {
background-attachment: fixed;
{% endif %}
overflow-wrap: break-word;
min-height: 100vh;
display: grid;
grid-template-rows: 1fr auto;
}
p {
line-height: 1.5;
Expand Down

0 comments on commit ba46ef8

Please sign in to comment.