Skip to content

Commit

Permalink
Merge pull request #31 from ASFHyP3/fix-links
Browse files Browse the repository at this point in the history
Fix footer map for project sites
  • Loading branch information
jhkennedy authored Mar 16, 2021
2 parents 34f848c + e7be898 commit 030f934
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [PEP 440](https://www.python.org/dev/peps/pep-0440/)
and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.2.3](https://github.com/ASFHyP3/mkdocs-asf-theme/compare/v0.2.2...v0.2.3)

### Fixed
- ASF logo and background map now appear correctly in "Project" or repo level sites.


## [0.2.2](https://github.com/ASFHyP3/mkdocs-asf-theme/compare/v0.2.1...v0.2.2)

### Changed
Expand Down
2 changes: 1 addition & 1 deletion asf_theme/assets/stylesheets/asf.css
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ a {
}

.md-footer-nav {
background-image: url("/assets/images/map.png");
background-image: url("../images/map.png");
background-repeat: no-repeat;
background-size: cover;
background-position: center center;
Expand Down
2 changes: 1 addition & 1 deletion asf_theme/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<div class="md-grid">
<div class="md-footer-container md-grid">
<div class="md-footer-container-item">
<img src="assets/images/asf-logo-blue-nav.png"
<img src="{{ 'assets/images/asf-logo-blue-nav.png' | url }}"
alt="ASF Logo"
class="md-footer-logo">
</div>
Expand Down

0 comments on commit 030f934

Please sign in to comment.