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

Switch header and overlay images to more efficient webp #373

Closed
wants to merge 5 commits into from
Closed
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
10 changes: 6 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
source "https://rubygems.org"

gem "github-pages", group: :jekyll_plugins
gem "jekyll-include-cache"
gem "webrick"
gem "html-proofer"
group :jekyll_plugins do
gem "github-pages"
gem "jekyll-include-cache"
gem "webrick"
gem "html-proofer"
end
3 changes: 3 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@

<!-- For all browsers -->
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
<link rel="canonical" href="{{ page.url | absolute_url }}">
<link rel="canonical" href="{{ page.url | prepend: site.baseurl | prepend: site.url }}">
<link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url }}">

{% if site.head_scripts %}
{% for script in site.head_scripts %}
Expand Down
2 changes: 1 addition & 1 deletion _pages/about-peer-review.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: splash
permalink: /about-peer-review/
title: "pyOpenSci Reviews Scientific Python Software"
header:
overlay_image: images/header.png
overlay_image: images/header.webp
overlay_filter: 0.8
intro:
- excerpt: "Our open peer review process facilitates scientists getting credit and recognition for the work they've invested in developing scientific Python tools. The peer review process also supports scientists in finding vetted and maintained software, which drives their open science workflows."
Expand Down
2 changes: 1 addition & 1 deletion _pages/contributors.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ title: "The pyOpenSci Team & Contributors"
excerpt: "pyOpenSci is a diverse community of people interested in building a community of practice around scientific software written in Python."
classes:
header:
overlay_image: images/header.png
overlay_image: images/header.webp
overlay_filter: 0.6
redirect_from:
- /contributors.html
Expand Down
8 changes: 4 additions & 4 deletions _pages/home.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ published: true
site-map: true
permalink: /
header:
overlay_image: /images/people/header-mentored-sprints-smaller.png
overlay_image: /images/people/header-mentored-sprints-smaller.webp
overlay_filter: 0.7
actions:
- label: "Submit a Package"
Expand All @@ -17,14 +17,14 @@ header:
mission:
- excerpt: "We build diverse community that supports free and open Python tools for processing scientific data. We also build technical skills needed to contribute to open source and that support open science. Join our global community."
peer-review:
- image_path: images/software-peer-review.png
- image_path: images/software-peer-review.webp
alt: "Light purple image that says software Peer Review. On the image is a woman at a laptop with a pyOpenSci logo on it and a cup of coffee next to her. There is a very light flower in the bottom right hand corner. "
title: "Python Package Peer Review"
excerpt: "We offer peer review of Python software to increase the quality, usability and long term maintenance of the open source tools that drive open science. [JOSS accepts our review as theirs](https://www.pyopensci.org/software-peer-review/partners/joss.html) so you can get the benefits of pyOpenSci and JOSS through one review."
url: https://www.pyopensci.org/software-peer-review/about/benefits.html
btn_label: "> Learn more about the benefits of peer review."
btn_class: btn--inverse
- image_path: images/community-partnerships.png
- image_path: images/community-partnerships.webp
alt: "Light purple image with a bunch from different backgrounds of stick figure people in a slightly darker color. The text on the image at the top says Community Partnerships"
title: "Community Partnerships"
excerpt: "We partner with domain-specific scientific Python communities such as [Pangeo](https://www.pyopensci.org/software-peer-review/partners/pangeo.html) who want to review affiliated packages. Through this collaboration, we develop community-specific standards that are used in our reviews to evaluate whether a package meets affiliation requirements. This removes the need for communities to develop their own peer review process."
Expand Down Expand Up @@ -52,7 +52,7 @@ peer-review:
<div class="feature__item--left">
<div class="archive__item">
<div class="archive__item-teaser">
<img src="/images/people/pyopensci-sprint-pycon-2023.png" alt="Image showing 3 people working at 2 computers during a spring at pyCon USA 2023.">
<img src="/images/people/pyopensci-sprint-pycon-2023.webp" alt="Image showing 3 people working at 2 computers during a spring at pyCon USA 2023.">
</div>
<div class="archive__item-body">
<h2 class="archive__item-title">Peer Review Mentorship Program</h2>
Expand Down
2 changes: 1 addition & 1 deletion _pages/learn.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permalink: /learn.html
title: "Python Tutorials & Learning Resources for Scientists"
classes: flowing
header:
overlay_image: images/headers/pyopensci-learn-header.png
overlay_image: images/headers/pyopensci-learn-header.webp
overlay_filter: 0.3
scientists:
- image_path: images/pyopensci-people-at-computer.jpg
Expand Down
2 changes: 1 addition & 1 deletion _pages/packaging-resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ permalink: /python-packaging-science.html
title: "Python packaging resources for scientists"
excerpt: "We make the scientific Python package ecosystem easier to navigate through peer review and packaging resources."
header:
overlay_image: images/header.png
overlay_image: images/header.webp
overlay_filter: 0.8
intro:
- excerpt: "There are many tools and approaches that can be used to create a Python package. We build resources that help you both understand the tool ecosystem and also learn how to create a Python package using modern best practices."
Expand Down
2 changes: 1 addition & 1 deletion _pages/partners.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permalink: /partners.html
title: "pyOpenSci Community Partners: affiliated package review"
classes: flowing
header:
overlay_image: images/header.png
overlay_image: images/header.webp
overlay_filter: 0.6
intro:
- excerpt: "More here on community partners."
Expand Down
2 changes: 1 addition & 1 deletion _pages/python-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ permalink: /python-packages.html
title: "pyOpenSci Open Peer Review & Accepted Packages"
classes:
header:
overlay_image: images/header.png
overlay_image: images/header.webp
overlay_filter: 0.6
intro:
- excerpt: "The scientific Python packages below have
Expand Down
Binary file added images/community-partnerships.webp
Binary file not shown.
Binary file added images/header.webp
Binary file not shown.
Binary file added images/headers/pyopensci-learn-header.webp
Binary file not shown.
Binary file not shown.
Binary file added images/people/pyopensci-sprint-pycon-2023.webp
Binary file not shown.
Binary file added images/python-packaging-guide.webp
Binary file not shown.
Binary file added images/software-peer-review.webp
Binary file not shown.
Loading