Skip to content

Commit

Permalink
Merge pull request #2647 from mashehu/wrap-logo
Browse files Browse the repository at this point in the history
wrap picture element in h1 tag
  • Loading branch information
mashehu authored Jan 9, 2024
2 parents da485a8 + c9559e4 commit ba2bbf5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/nfcore-tools_logo_dark.png">
<img alt="nf-core/tools logo" src="docs/images/nfcore-tools_logo_light.png">
</picture><!-- omit in toc -->
<h1>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/nfcore-tools_logo_dark.png">
<img alt="nf-core/tools" src="docs/images/nfcore-tools_logo_light.png">
</picture>
</h1><!-- omit in toc -->

[![Python tests](https://github.com/nf-core/tools/workflows/Python%20tests/badge.svg?branch=master&event=push)](https://github.com/nf-core/tools/actions?query=workflow%3A%22Python+tests%22+branch%3Amaster)
[![codecov](https://codecov.io/gh/nf-core/tools/branch/master/graph/badge.svg)](https://codecov.io/gh/nf-core/tools)
Expand Down
10 changes: 6 additions & 4 deletions nf_core/pipeline-template/README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{% if branded -%}
<picture>

<source media="(prefers-color-scheme: dark)" srcset="docs/images/{{ logo_dark }}">
<img alt="{{ name }} logo" src="docs/images/{{ logo_light }}">
</picture>
<h1>
<picture>
<source media="(prefers-color-scheme: dark)" srcset="docs/images/{{ logo_dark }}">
<img alt="{{ name }}" src="docs/images/{{ logo_light }}">
</picture>
</h1>
{% endif -%}
{% if github_badges -%}
[![GitHub Actions CI Status](https://github.com/{{ name }}/workflows/nf-core%20CI/badge.svg)](https://github.com/{{ name }}/actions?query=workflow%3A%22nf-core+CI%22)
Expand Down

0 comments on commit ba2bbf5

Please sign in to comment.