Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Testing shortcode to add CSS styling to resize NumPy comic cover #2

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions content/en/contribute.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ Our community aspires to treat everyone equally and to value all
contributions. We have a [Code of Conduct](/code-of-conduct) to foster an open
and welcoming environment.

### 'How to Contribute to NumPy' comic
For a visual guide, check out this [comic](https://heyzine.com/flip-book/3e66a13901.html).

{{< comic >}}

### Writing code

Programmers, this
Expand Down
12 changes: 12 additions & 0 deletions layouts/shortcodes/comic.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="comic"></div>
<a href="https://heyzine.com/flip-book/3e66a13901.html">
<img src="static/images/content_images/numpy-comic.png" alt="NumPy Contributor comic book cover">
</a>
</div>

<style>
.comic {
width: 30%;
height: auto;
}
</style>
Binary file added static/images/content_images/numpy-comic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.