Skip to content

Commit

Permalink
Fix broken GitHub ribbon image on capistranorb.com
Browse files Browse the repository at this point in the history
The S3 bucket that hosted the official GitHub images is now locked down,
throwing "AccessDenied" errors.

Fix by checking in an image into our repo and using that instead.

SVG courtesy of https://github.com/usecue/fork-me-on-github-svg-ribbons

Fixes #2138
  • Loading branch information
mattbrictson committed Aug 16, 2023
1 parent 31e142d commit 8bc2e82
Show file tree
Hide file tree
Showing 2 changed files with 103 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/_layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ <h2>{{ page.title }}</h2>
<script src="/assets/js/jquery-1.7.min.js"></script>
<script src="/assets/js/jquery.githubRepoWidget.min.js"></script>

<a href="https://github.com/capistrano/capistrano"><img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_white_ffffff.png" alt="Fork me on GitHub"></a>
<a href="https://github.com/capistrano/capistrano"><img style="position: absolute; top: 0; right: 0; border: 0;" src="assets/forkme_right_white_ffffff.svg" alt="Fork me on GitHub"></a>

{% include google_tag_manager.html %}
</body>
Expand Down
102 changes: 102 additions & 0 deletions docs/assets/forkme_right_white_ffffff.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8bc2e82

Please sign in to comment.