Skip to content

Commit 64d1be6

Browse files
committed
Update figure shortcodes to new syntax
1 parent dd5dccb commit 64d1be6

File tree

3 files changed

+127
-115
lines changed

3 files changed

+127
-115
lines changed

content/about/index.md

Lines changed: 81 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -28,48 +28,48 @@ Ionworks provides support and custom feature development for PyBaMM, as well as
2828
For companies who want to leverage the power, flexibility, and openness of the Python ecosystem for their battery simulation needs, Ionworks is the go-to partner.
2929
[Contact Ionworks](https://ionworks.com/) to find out more.
3030

31-
{{< figure >}}
32-
src = '/images/logos/ionworks-logo.png'
33-
alt = 'Logo for Ionworks'
34-
width = 500
35-
attributionlink = ''
36-
{{< /figure >}}
31+
{{< figure
32+
src="/images/logos/ionworks-logo.png"
33+
alt="Logo for Ionworks"
34+
width=500
35+
attributionlink=""
36+
>}}
3737
3838
### The Oxford Research Software Engineering Group
3939

4040
[OxRSE](https://www.rse.ox.ac.uk/) is the central RSE team at the University of Oxford. They have been part of the PyBaMM core development team since its inception and provide on-going software development support,
4141
funded by the [Faraday Institution](https://faraday.ac.uk/). If you want to know more about OxRSE can support your research, please [get in touch](https://www.rse.ox.ac.uk/contact).
4242

43-
{{< figure >}}
44-
src = '/images/logos/2024_oxrse_rectangle.svg'
45-
alt = 'Logo for OxRSE'
46-
width = 500
47-
attributionlink = ''
48-
{{< /figure >}}
43+
{{< figure
44+
src="/images/logos/2024_oxrse_rectangle.svg"
45+
alt="Logo for OxRSE"
46+
width=500
47+
attributionlink=""
48+
>}}
4949
5050
### The Faraday Institution
5151

5252
The Faraday Institution supports many PyBaMM contributors, who contribute to the project as part of their official duties at universities across the UK.
5353

54-
{{< figure >}}
55-
src = '/images/logos/faraday-logo.png'
56-
alt = 'Logo for The Faraday Institution'
57-
width = 500
58-
attributionlink = ''
59-
caption = "Logo for The Faraday Institution"
60-
{{< /figure >}}
54+
{{< figure
55+
src="/images/logos/faraday-logo.png"
56+
alt="Logo for The Faraday Institution"
57+
width=500
58+
attributionlink=""
59+
caption="Logo for The Faraday Institution"
60+
>}}
6161
6262
### NumFOCUS
6363

6464
PyBaMM is a Sponsored Project of NumFOCUS, a 501(c)(3) nonprofit charity in the United States. The mission of NumFOCUS is to promote open practices in research, data, and scientific computing by serving as a fiscal sponsor for open source projects and organizing community-driven educational programs.
6565

66-
{{< figure >}}
67-
src = '/images/logos/NumFOCUS_sponsored_project_logo.svg'
68-
alt = 'NumFOCUS Logo'
69-
width = 500
70-
attributionlink = ''
71-
caption = "NumFOCUS Logo"
72-
{{< /figure >}}
66+
{{< figure
67+
src="/images/logos/NumFOCUS_sponsored_project_logo.svg"
68+
alt="NumFOCUS Logo"
69+
width=500
70+
attributionlink=""
71+
caption="NumFOCUS Logo"
72+
>}}
7373
7474
### Google Summer of Code
7575

@@ -81,61 +81,61 @@ We are grateful to the following organizations for supporting PyBaMM's developme
8181

8282
<div style="display:flex; justify-content:space-around; align-items:center; flex-wrap:wrap">
8383

84-
{{< figure >}}
85-
src = '/images/logos/university_of_oxford.svg'
86-
alt = 'Logo for the University of Oxford'
87-
width = 500
88-
attributionlink = ''
89-
{{< /figure >}}
90-
91-
{{< figure >}}
92-
src = '/images/logos/university_of_michigan.svg'
93-
alt = 'Logo for the University of Michigan'
94-
width = 500
95-
attributionlink = ''
96-
{{< /figure >}}
97-
98-
{{< figure >}}
99-
src = '/images/logos/carnegie_mellon_university.svg'
100-
alt = 'Logo for Carnegie Mellon University'
101-
width = 500
102-
attributionlink = ''
103-
{{< /figure >}}
104-
105-
{{< figure >}}
106-
src = '/images/logos/imperial_college_london.png'
107-
alt = 'Logo for Imperial College London'
108-
width = 500
109-
attributionlink = ''
110-
{{< /figure >}}
111-
112-
{{< figure >}}
113-
src = '/images/logos/university_of_warwick.png'
114-
alt = 'Logo for the University of Warwick'
115-
width = 500
116-
attributionlink = ''
117-
{{< /figure >}}
118-
119-
{{< figure >}}
120-
src = '/images/logos/university_college_london.svg'
121-
alt = 'Logo for University College London'
122-
width = 500
123-
attributionlink = ''
124-
{{< /figure >}}
125-
126-
{{< figure >}}
127-
src = '/images/logos/lilium.png'
128-
alt = 'Logo for Lilium GmbH'
129-
width = 500
130-
attributionlink = ''
131-
{{< /figure >}}
132-
133-
{{< figure >}}
134-
src = '/images/logos/sila.png'
135-
alt = 'Logo for Sila Nanotechnologies'
136-
width = 500
137-
attributionlink = ''
138-
{{< /figure >}}
84+
{{< figure
85+
src="/images/logos/university_of_oxford.svg"
86+
alt="Logo for the University of Oxford"
87+
width=500
88+
attributionlink=""
89+
>}}
90+
91+
{{< figure
92+
src="/images/logos/university_of_michigan.svg"
93+
alt="Logo for the University of Michigan"
94+
width=500
95+
attributionlink=""
96+
>}}
97+
98+
{{< figure
99+
src="/images/logos/carnegie_mellon_university.svg"
100+
alt="Logo for Carnegie Mellon University"
101+
width=500
102+
attributionlink=""
103+
>}}
104+
105+
{{< figure
106+
src="/images/logos/imperial_college_london.png"
107+
alt="Logo for Imperial College London"
108+
width=500
109+
attributionlink=""
110+
>}}
111+
112+
{{< figure
113+
src="/images/logos/university_of_warwick.png"
114+
alt="Logo for the University of Warwick"
115+
width=500
116+
attributionlink=""
117+
>}}
118+
119+
{{< figure
120+
src="/images/logos/university_college_london.svg"
121+
alt="Logo for University College London"
122+
width=500
123+
attributionlink=""
124+
>}}
125+
126+
{{< figure
127+
src="/images/logos/lilium.png"
128+
alt="Logo for Lilium GmbH"
129+
width=500
130+
attributionlink=""
131+
>}}
132+
133+
{{< figure
134+
src="/images/logos/sila.png"
135+
alt="Logo for Sila Nanotechnologies"
136+
width=500
137+
attributionlink=""
138+
>}}
139139
140140
</div>
141141

content/publications.md

Lines changed: 45 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ The following papers have contributed directly to the development of PyBaMM.
1818

1919

2020
{{< grid columns="1 2 2 3" >}}
21+
2122
[[item]]
2223
type = 'card'
2324
title = 'Marquis, S. G., Sulzer, V., Timms, R., Please, C. P., & Chapman, S. J. (2019).'
@@ -27,14 +28,16 @@ body = '''
2728
'''
2829
footer = '''
2930
<div class="custom-flex-btns">
30-
{{< button dark >}}
31-
label: Preprint
32-
link: https://arxiv.org/abs/1905.12553
33-
{{< /button >}}
34-
{{< button light >}}
35-
label: DOI
36-
link: https://doi.org/10.1149/2.0341915jes
37-
{{< /button >}}
31+
{{< button
32+
style="dark"
33+
label="Preprint"
34+
link="https://arxiv.org/abs/1905.12553"
35+
>}}
36+
{{< button
37+
style="light"
38+
label="DOI"
39+
link="https://doi.org/10.1149/2.0341915jes"
40+
>}}
3841
</div>
3942
'''
4043

@@ -49,10 +52,11 @@ Development of Experimental Techniques for Parameterization of Multi-scale Lithi
4952
footer = '''
5053
<div class="custom-flex-btns">
5154

52-
{{< button light >}}
53-
label: DOI
54-
link: https://doi.org/10.1149/1945-7111/ab9050
55-
{{< /button >}}
55+
{{< button
56+
style="light"
57+
label="DOI"
58+
link="https://doi.org/10.1149/1945-7111/ab9050"
59+
>}}
5660
</div>
5761
'''
5862

@@ -68,10 +72,11 @@ body = '''
6872
footer = '''
6973
<div class="custom-flex-btns">
7074

71-
{{< button light >}}
72-
label: DOI
73-
link: https://doi.org/10.1149/1945-7111/aba44b
74-
{{< /button >}}
75+
{{< button
76+
style="light"
77+
label="DOI"
78+
link="https://doi.org/10.1149/1945-7111/aba44b"
79+
>}}
7580
</div>
7681
'''
7782

@@ -84,14 +89,18 @@ body = '''
8489
'''
8590
footer = '''
8691
<div class="custom-flex-btns">
87-
{{< button dark >}}
88-
label: Preprint
89-
link: https://arxiv.org/abs/2005.05127
90-
{{< /button >}}
91-
{{< button light >}}
92-
label: Code
93-
link: https://github.com/rtimms/asymptotic-pouch-cell
94-
{{< /button >}}
92+
{{< button
93+
style="dark"
94+
label="Preprint"
95+
link="https://arxiv.org/abs/2005.05127"
96+
>}}
97+
98+
{{< button
99+
style="light"
100+
label="Code"
101+
link="https://github.com/rtimms/asymptotic-pouch-cell"
102+
>}}
103+
95104
</div>
96105
'''
97106

@@ -105,18 +114,21 @@ body = '''
105114
'''
106115
footer = '''
107116
<div class="custom-flex-btns">
108-
{{< button dark >}}
109-
label: Preprint
110-
link: https://arxiv.org/abs/2008.03691
111-
{{< /button >}}
112-
{{< button light >}}
113-
label: DOI
114-
link: https://doi.org/10.1149/1945-7111/abbce4
115-
{{< /button >}}
117+
{{< button
118+
style="dark"
119+
label="Preprint"
120+
link="https://arxiv.org/abs/2008.03691"
121+
>}}
122+
123+
{{< button
124+
style="light"
125+
label="DOI"
126+
link="https://doi.org/10.1149/1945-7111/abbce4"
127+
>}}
116128
</div>
117129
'''
118-
{{< /grid >}}
119130

131+
{{< /grid >}}
120132

121133

122134
## Citations

0 commit comments

Comments
 (0)