Skip to content

Commit

Permalink
Merge pull request #7 from hdballestan/5-manage-own-images-in-asset
Browse files Browse the repository at this point in the history
Adding new path from images and setting properly on _config.yml
  • Loading branch information
hdballestan authored May 10, 2024
2 parents 58557b3 + a4e7f3a commit 0f0eada
Show file tree
Hide file tree
Showing 4 changed files with 943 additions and 1 deletion.
3 changes: 3 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ github_username: hdballestan
# Build settings
theme: academic-jekyll-theme

include:
- "images"

plugins:
- jekyll-feed

Expand Down
2 changes: 1 addition & 1 deletion _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
}

.background-image {
background-image: url('{{ site.url }}/assets/img/home.jpg');
background-image: url('images/home.jpg');
background-size: cover;
background-position: center;
position: absolute;
Expand Down
Binary file added images/home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0f0eada

Please sign in to comment.