Skip to content

Commit

Permalink
Fix bold bug
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlandry93 committed Jul 16, 2024
1 parent 9c7e3a6 commit 1718a73
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,12 @@ module.exports = function (eleventyConfig) {
});


eleventyConfig.addPassthroughCopy({ "_static/": "/" });
eleventyConfig.addPassthroughCopy({
"_static/": "/",
"node_modules/photoswipe/dist/photoswipe-lightbox.esm.min.js": "assets/photoswipe-lightbox.esm.min.js",
"node_modules/photoswipe/dist/photoswipe.esm.min.js": "assets/photoswipe.esm.min.js",
"node_modules/photoswipe/dist/photoswipe.css": "assets/photoswipe.css"
});

return {
dir: {
Expand Down
1 change: 1 addition & 0 deletions _includes/base.njk
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ footer: true
<link rel="stylesheet" href="/bulma.min.css">
<link rel="stylesheet" href="/fonts.css">
<link rel="stylesheet" href="/style.css">
<link rel="stylesheet" src="/assets/photoswipe.css" >

<title>
{% if post_title %}
Expand Down
2 changes: 1 addition & 1 deletion _static/fonts.css
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@font-face {
font-family: 'Courier Prime';
src: url('fonts/CourierPrime-Bold.ttf');
font-style: normal;
font-style: bold;
font-weight: 700;
}

Expand Down
9 changes: 9 additions & 0 deletions _static/photography.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@

#photoswipe-container {
position: relative;
}


.pswp {
position: absolute!important;
}
1 change: 1 addition & 0 deletions _static/post.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,7 @@ a.to-filter {
font-size: 1.3em;
font-weight: bold;
margin-top: 3em;
color: black;
}

.post-content h2:not(:first-child) {
Expand Down

0 comments on commit 1718a73

Please sign in to comment.