Skip to content

Commit eb91a7f

Browse files
committed
Update template
1 parent cdbe402 commit eb91a7f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "ITensorPkgSkeleton"
22
uuid = "3d388ab1-018a-49f4-ae50-18094d5f71ea"
33
authors = ["ITensor developers <support@itensor.org> and contributors"]
4-
version = "0.3.10"
4+
version = "0.3.11"
55

66
[deps]
77
DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"

templates/docs/docs/make_index.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ using {PKGNAME}: {PKGNAME}
44
function ccq_logo(content)
55
include_ccq_logo = """
66
```@raw html
7-
<img src="assets/CCQ.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo.">
7+
<img class="display-light-only" src="assets/CCQ.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo."/>
8+
<img class="display-dark-only" src="assets/CCQ-dark.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo."/>
89
```
910
"""
1011
content = replace(content, "{CCQ_LOGO}" => include_ccq_logo)

templates/docs/docs/make_readme.jl

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@ using {PKGNAME}: {PKGNAME}
33

44
function ccq_logo(content)
55
include_ccq_logo = """
6-
<img src="docs/src/assets/CCQ.png" width="20%" alt="Flatiron Center for Computational Quantum Physics logo.">
6+
<picture>
7+
<source media="(prefers-color-scheme: dark)" width="20%" srcset="docs/src/assets/CCQ-dark.png">
8+
<img alt="Flatiron Center for Computational Quantum Physics logo." width="20%" src="docs/src/assets/CCQ.png">
9+
</picture>
710
"""
811
content = replace(content, "{CCQ_LOGO}" => include_ccq_logo)
912
return content

0 commit comments

Comments
 (0)