Skip to content

Commit

Permalink
Add d-print-none to navbar, footer and image caption
Browse files Browse the repository at this point in the history
Fix #91
  • Loading branch information
peterdesmet committed Sep 22, 2023
1 parent d656bf7 commit efb9a64
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<footer>
<footer class="d-print-none">
<div class="container">
<div class="row">
{% if site.social %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</div>
</div>
{% if page.background.img and page.background.by %}
<div class="caption">
<div class="caption d-print-none">
{% if page.background.href %}
Image by <a href="{{ page.background.href }}">{{ page.background.by }}</a>
{% else %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/navbar.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<nav class="navbar navbar-expand-lg navbar-light bg-light" id="main-nav">
<nav class="navbar navbar-expand-lg navbar-light bg-light d-print-none" id="main-nav">
<div class="container">
<a class="navbar-brand d-flex align-items-center" href="{{'/' | relative_url }}">
{% if site.logo %}
Expand Down

0 comments on commit efb9a64

Please sign in to comment.