Skip to content

Commit c1d3b3e

Browse files
fix figure code, start board
1 parent 053052d commit c1d3b3e

File tree

7 files changed

+129
-0
lines changed

7 files changed

+129
-0
lines changed

content/page/board.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,56 @@ title: Board
66
url: /board/
77

88
---
9+
# Board of Directors
10+
11+
The Board can be contacted via email at board@open-bio.org (or, in case of mailing list problems, try obf-board@googlegroups.com as a fallback) You can also find us on [LinkedIn](https://www.linkedin.com/groups/9539620/). The minutes of the previous public Board meetings can be found on our [GitHub repository](https://github.com/OBF/obf-docs/tree/master/minutes) ([pre-2019 meeting minutes are linked here](https://www.open-bio.org/board/meeting-minutes/)).
12+
13+
{{< gallery class="content-gallery" cols='2' >}}
14+
15+
{{< figure
16+
src="/wp-content/uploads/2022/10/Friedberg_Iddo_0817_square.jpg"
17+
alt="Image of Iddo Friedberg"
18+
title= "Iddo Friedberg"
19+
caption=`
20+
_At-large Member_
21+
Associate Professor at Iowa State University. Chair, Function COSI. Early contributor to the Biopython project.
22+
`
23+
>}}
24+
25+
{{< figure
26+
src="/wp-content/uploads/2021/11/Hilya.jpg"
27+
alt="Image of Hilyatuz Zahroh"
28+
title= "[Hilyatuz Zahroh](https://www.linkedin.com/in/hilyatuz-zahroh-6671ab100/)"
29+
caption=`
30+
_At-large Member_
31+
[APBioNET](https://www.apbionet.org/current-exco-officers-2020-2022/) ExCo
32+
`
33+
>}}
34+
35+
{{< figure
36+
src="/wp-content/uploads/2021/11/Caleb_Kibet_pic.jpg"
37+
alt="Image of Caleb Kibet"
38+
title= "[Caleb Kibet](https://kipkurui.github.io/)"
39+
caption=`
40+
_At-large Member_
41+
Bioinformatician at the [International Center of Insect Physiology and Ecology, Kenya](http://www.icipe.org/research/research-support-units/molecular-biology-bioinformatics-and-biostatistics); Founder [OpenScienceKE](https://medium.com/openscienceke).
42+
`
43+
>}}
44+
45+
{{< figure
46+
src="/wp-content/uploads/2019/01/Hilmar-Lapp-1.jpg"
47+
alt="Image of Hilmar Lapp"
48+
title= "[Hilmar Lapp](https://lappland.io/)"
49+
caption=`
50+
_At-large Member_
51+
Representing [BioPerl](http://www.bioperl.org/), Director of Informatics at the [Center for Genomic and Computational Biology](http://genome.duke.edu/) (GCB) at Duke University. Former OBF President.
52+
`
53+
>}}
54+
55+
56+
57+
{{< /gallery >}}
58+
959
# Joining the Board
1060

1161
Nominations for the Board of Directors may be made by the general membership at any time throughout the year by contacting any Board Member.

layouts/shortcodes/figure.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
<div class="box">
2+
<figure{{ with .Get "class" }} class="{{ . }}"{{ end }}>
3+
{{- if .Get "link" -}}
4+
<a href="{{ .Get "link" }}"{{ with .Get "target" }} target="{{ . }}"{{ end }}{{ with .Get "rel" }} rel="{{ . }}"{{ end }}>
5+
{{- end -}}
6+
7+
{{- $u := urls.Parse (.Get "src") -}}
8+
{{- $src := $u.String -}}
9+
{{- if not $u.IsAbs -}}
10+
{{- with or (.Page.Resources.Get $u.Path) (resources.Get $u.Path) -}}
11+
{{- $src = .RelPermalink -}}
12+
{{- end -}}
13+
{{- end -}}
14+
15+
<img src="{{ $src }}"
16+
{{- if or (.Get "alt") (.Get "caption") }}
17+
alt="{{ with .Get "alt" }}{{ . }}{{ else }}{{ .Get "caption" | markdownify| plainify }}{{ end }}"
18+
{{- end -}}
19+
{{- with .Get "width" }} width="{{ . }}"{{ end -}}
20+
{{- with .Get "height" }} height="{{ . }}"{{ end -}}
21+
{{- with .Get "loading" }} loading="{{ . }}"{{ end -}}
22+
><!-- Closing img tag -->
23+
{{- if .Get "link" }}</a>{{ end -}}
24+
{{- if or (or (.Get "title") (.Get "caption")) (.Get "attr") -}}
25+
<figcaption>
26+
{{ with (.Get "title") -}}
27+
<h4>{{ . |markdownify}}</h4>
28+
{{- end -}}
29+
{{- if or (.Get "caption") (.Get "attr") -}}<p>
30+
{{- .Get "caption" | markdownify -}}
31+
{{- with .Get "attrlink" }}
32+
<a href="{{ . }}">
33+
{{- end -}}
34+
{{- .Get "attr" | markdownify -}}
35+
{{- if .Get "attrlink" }}</a>{{ end }}</p>
36+
{{- end }}
37+
</figcaption>
38+
{{- end }}
39+
</figure>
40+
</div>

static/css/custom.css

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,42 @@ imagerow::after {
1717
width: 100%;
1818
}
1919
}
20+
21+
/* Gallery code */
22+
23+
.gallery {
24+
overflow: hidden;
25+
margin: 10px;
26+
max-width: 768px;
27+
}
28+
.gallery .box {
29+
float: left;
30+
position: relative;
31+
/* Default: 1 tile wide */
32+
width: 100%;
33+
}
34+
@media only screen and (min-width : 365px) {
35+
/* Tablet view: 2 tiles */
36+
.gallery .box {
37+
width: 50%;
38+
}
39+
}
40+
@media only screen and (min-width : 480px) {
41+
/* Small desktop / ipad view: 3 tiles */
42+
.gallery .box {
43+
width: 33.3%;
44+
}
45+
}
46+
@media only screen and (min-width : 9999px) {
47+
/* Medium desktop: 4 tiles */
48+
.box {
49+
width: 25%;
50+
}
51+
}
52+
53+
.gallery figure {
54+
padding-left: 5%;
55+
padding-right: 5%;
56+
padding-top: 5%;
57+
padding-bottom: 5%;
58+
}
1.33 MB
Loading
28.3 KB
Loading
585 KB
Loading
314 KB
Loading

0 commit comments

Comments
 (0)