Skip to content

Commit 62d07ab

Browse files
gedankenstueckepeterjc
authored andcommitted
fix board page and menu
1 parent 3671094 commit 62d07ab

File tree

7 files changed

+225
-12
lines changed

7 files changed

+225
-12
lines changed

content/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ OBF runs the annual [Bioinformatics Open Source Conference (BOSC)](events/bosc/a
1919

2020
[BOSC 2025](events/bosc-2025/) will be July 21-22, 2025, in Liverpool, UK (as part of [ISMB/ECCB 2025](https://www.iscb.org/ismbeccb2025/home)). [BOSC 2024](events/bosc-2024/) took place July 15-16, 2024, as part of ISMB 2024 in Montréal, Canada.
2121

22-
[Learn More](events/bosc/about/)
22+
[Learn More](/about/)
2323

2424
{{< column >}}
2525

content/page/about-obf.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,31 @@ cover:
66
date: "2019-02-22T08:44:22+00:00"
77
guid: https://www.open-bio.org/wp/?page_id=2950
88
title: About OBF
9-
url: /events/bosc-2021/about-2/
9+
url: /about/
10+
aliaes:
11+
- /events/bosc-2021/about-2/
1012

1113
---
1214
# History
1315

14-
## 2000
16+
{{< columns >}}
1517

1618
![](/wp-content/uploads/2019/02/pear-transparent.png)
1719

20+
{{< columns >}}
21+
![](/wp-content/uploads/2019/02/bioperl.jpg)
22+
![](/wp-content/uploads/2019/02/biojava-1.jpg)
23+
{{< column >}}
24+
![](/wp-content/uploads/2019/02/biopython.png)
25+
{{< endcolumns >}}
26+
27+
{{< column >}}
28+
## 2000
29+
1830
First Bioinformatics Open Source Conference (BOSC).
1931

2032
## 2001
2133

22-
![](/wp-content/uploads/2019/02/bioperl.jpg)![](/wp-content/uploads/2019/02/biojava-1.jpg)![](/wp-content/uploads/2019/02/biopython.png)
23-
2434
OBF grows out of volunteer projects BioPerl, BioJava and BioPython and is formally incorporated.
2535

2636
## 2005
@@ -31,10 +41,12 @@ Bylaws enacted for the first time and formal membership created.
3141

3242
OBF becomes an associate project of Software in the Public Interest, Inc., a fiscal sponsorship organization.
3343

34-
![](/wp-content/uploads/2019/02/attendees_stairs-1024x683.jpg)
35-
44+
{{< endcolumns >}}
3645
# Who we are
3746

47+
48+
![](/wp-content/uploads/2019/02/attendees_stairs-1024x683.jpg)
49+
3850
The Open Bioinformatics Foundation (OBF) is a non-profit, volunteer-run group dedicated to promoting the practice and philosophy of Open Source software development and Open Science within the biological research community.
3951

4052
The OBF is governed by a Board of Directors. Our bylaws lay out how the Board is elected, holds public meetings, and conducts its business, as well as the scope and role of our membership. OBF is an associated project with Software In The Public Interest, Inc., a fiscal sponsorship organization, and through SPI we can accept tax-exempt charitable donations.

content/page/board.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ Associate Professor at Iowa State University. Chair, Function COSI. Early contri
2626
src="/img/Hilya.jpg"
2727
alt="Image of Hilyatuz Zahroh"
2828
title= "[Hilyatuz Zahroh](https://www.linkedin.com/in/hilyatuz-zahroh-6671ab100/)"
29+
link= "https://www.linkedin.com/in/hilyatuz-zahroh-6671ab100"
2930
caption=`
3031
_At-large Member_
3132
[APBioNET](https://www.apbionet.org/current-exco-officers-2020-2022/) ExCo
@@ -36,6 +37,7 @@ _At-large Member_
3637
src="/img/Caleb_Kibet_pic.jpg"
3738
alt="Image of Caleb Kibet"
3839
title= "[Caleb Kibet](https://kipkurui.github.io/)"
40+
link= "https://kipkurui.github.io"
3941
caption=`
4042
_At-large Member_
4143
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).
@@ -45,6 +47,7 @@ Bioinformatician at the [International Center of Insect Physiology and Ecology,
4547
{{< figure
4648
src="/img/Hilmar-Lapp-1.jpg"
4749
alt="Image of Hilmar Lapp"
50+
link= "https://lappland.io"
4851
title= "[Hilmar Lapp](https://lappland.io/)"
4952
caption=`
5053
_At-large Member_
@@ -76,6 +79,7 @@ _At-large Member_
7679
src="/img/NH-Sept2022-square-1.png"
7780
alt="Image of Nomi Harris"
7881
title= "[Nomi Harris](https://www.linkedin.com/in/nomiharris)"
82+
link= "https://www.linkedin.com/in/nomiharris"
7983
caption=`
8084
_Secretary_
8185
Program Manager at the Lawrence Berkeley National Laboratory; [BOSC chair](https://www.open-bio.org/events/bosc/).
@@ -86,6 +90,7 @@ Program Manager at the Lawrence Berkeley National Laboratory; [BOSC chair](https
8690
src="/img/Heather-Wiencko-1.jpg"
8791
alt="Image of Heather Wiencko"
8892
title= "[Heather Wiencko](https://twitter.com/hlwiencko)"
93+
link= "https://twitter.com/hlwiencko"
8994
caption=`
9095
_Treasurer_
9196
Software engineer at Hosted Graphite.
@@ -96,6 +101,7 @@ Software engineer at Hosted Graphite.
96101
src="/img/BastianGreshakeTzovaras.jpg"
97102
alt="Image of Bastian Greshake Tzovaras"
98103
title= "[Bastian Greshake Tzovaras](https://tzovar.as)"
104+
link= "https://tzovar.as"
99105
caption=`
100106
_At-large Member_
101107
Co-founder of [openSNP](https://opensnp.org) and Director of Research at [Open Humans](https://www.openhumans.org).

hugo.yaml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,12 @@ outputFormats:
5555
baseName: feed
5656
menu:
5757
main:
58-
- name: 'About OBF'
59-
url: 'events/bosc-2021/about-2'
58+
- name: 'OBF'
6059
identifier: 'about'
6160
weight: 1
61+
- name: 'About OBF'
62+
url: 'about'
63+
parent: 'about'
6264
- name: 'Membership'
6365
parent: 'about'
6466
url: 'membership'
@@ -106,7 +108,7 @@ menu:
106108
weight: 8
107109
parent: 'bosc'
108110
url: 'events/bosc/sponsors/'
109-
- name: 'OBF Event Fellowships'
111+
- name: 'Event Awards'
110112
weight: 3
111113
url: 'event-awards/'
112114
- name: 'News'

layouts/partials/footer.html

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,13 @@ <h1 class="text-center">Follow OBF</h1>
112112
<script src="{{ "js/photoswipe.min.js" | absURL }}"></script>
113113
<script src="{{ "js/photoswipe-ui-default.min.js" | absURL }}"></script>
114114
{{- else -}}
115+
<!--
115116
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe.min.js" integrity="sha384-QELNnmcmU8IR9ZAykt67vGr9/rZJdHbiWi64V88fCPaOohUlHCqUD/unNN0BXSqy" crossorigin="anonymous"></script>
116-
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe-ui-default.min.js" integrity="sha384-m67o7SkQ1ALzKZIFh4CiTA8tmadaujiTa9Vu+nqPSwDOqHrDmxLezTdFln8077+q" crossorigin="anonymous"></script>
117+
<script src="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe-ui-default.min.js" integrity="sha384-m67o7SkQ1ALzKZIFh4CiTA8tmadaujiTa9Vu+nqPSwDOqHrDmxLezTdFln8077+q" crossorigin="anonymous"></script>-->
117118
{{- end -}}
119+
<!--
118120
<script src="{{ "js/load-photoswipe.js" | absURL }}"></script>
119-
121+
-->
120122
<!-- Google Custom Search Engine -->
121123
{{ if .Site.Params.gcse }}
122124
<script>

layouts/partials/head.html

Lines changed: 102 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,102 @@
1+
{{- if eq .Kind "taxonomyTerm" }}
2+
{{- range $key, $value := .Data.Terms.ByCount }}
3+
{{- $.Scratch.Add "most_used" (slice $value.Name) }}
4+
{{- end }}
5+
{{- if not ($.Scratch.Get "most_used") }}
6+
{{- $description := printf "A full overview of all pages with %s, ordered by %s" .Data.Plural .Data.Singular | truncate 180 }}
7+
{{- $.Scratch.Set "Description" $description }}
8+
{{- else }}
9+
{{- $description := printf "A full overview of all pages with %s, ordered by %s, such as: %s" .Data.Plural .Data.Singular ( delimit ( $.Scratch.Get "most_used" ) ", " ", and " ) | truncate 180 }}
10+
{{- $.Scratch.Set "Description" $description }}
11+
{{- end }}
12+
13+
{{- $title := printf "Overview of all pages with %s, ordered by %s" .Data.Plural .Data.Singular }}
14+
{{- $.Scratch.Set "Title" $title }}
15+
{{- else if eq .Kind "taxonomy" }}
16+
{{- $description := printf "Overview of all pages with the %s #%s, such as: %s" .Data.Singular $.Title ( index .Pages 0).Title | truncate 160 }}
17+
{{- $.Scratch.Set "Description" $description }}
18+
19+
{{- $title := printf "Overview of all pages with the %s #%s" .Data.Singular $.Title }}
20+
{{- $.Scratch.Set "Title" $title }}
21+
{{- else }}
22+
{{- $.Scratch.Set "Description" ( .Description | default .Params.subtitle | default .Summary ) }}
23+
{{- $.Scratch.Set "Title" ( .Title | default .Site.Title ) }}
24+
{{- end }}
25+
26+
<meta charset="utf-8" />
27+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
28+
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
29+
30+
<!-- Site Title, Description, Author, and Favicon -->
31+
32+
{{ if .IsHome }}
33+
{{- with .Site.Params.homeTitle }}
34+
<title>{{ . }}</title>
35+
{{- end }}
36+
{{ else }}
37+
{{- with ($.Scratch.Get "Title") }}
38+
<title>{{ . }} - {{ $.Site.Params.homeTitle }}</title>
39+
{{- end }}
40+
{{ end }}
41+
42+
{{- with ($.Scratch.Get "Description") }}
43+
<meta name="description" content="{{ . }}">
44+
{{- end }}
45+
{{- with .Site.Params.author.name }}
46+
<meta name="author" content="{{ . }}"/>
47+
{{- end }}
48+
{{- partial "seo/main.html" . }}
49+
{{- with .Site.Params.favicon }}
50+
<link href='{{ . | absURL }}' rel='icon' type='image/x-icon'/>
51+
{{- end -}}
52+
<!-- Hugo Version number -->
53+
{{ hugo.Generator -}}
54+
<!-- Links and stylesheets -->
55+
<link rel="alternate" href="{{ "feed.xml" | absLangURL }}" type="application/rss+xml" title="{{ .Site.Title }}">
56+
57+
{{- if .Site.Params.selfHosted -}}
58+
<link rel="stylesheet" href="{{ "css/katex.min.css" | absURL }}" />
59+
<link rel="stylesheet" href="{{ "fontawesome/css/all.css" | absURL }}" />
60+
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}" />
61+
{{- else -}}
62+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.7/dist/katex.min.css" integrity="sha384-3UiQGuEI4TTMaFmGIZumfRPtfKQ3trwQE2JgosJxCnGmQpL/lJdjpcHkaaFwHlcI" crossorigin="anonymous">
63+
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v6.6.0/css/all.css" integrity="sha384-h/hnnw1Bi4nbpD6kE7nYfCXzovi622sY5WBxww8ARKwpdLj5kUWjRuyiXaD1U2JT" crossorigin="anonymous">
64+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@3.4.1/dist/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
65+
{{- end -}}
66+
67+
<link rel="stylesheet" href="{{ "css/main.css" | absURL }}" />
68+
69+
{{- if .Site.Params.staticman -}}
70+
<link rel="stylesheet" href="{{ "css/staticman.css" | absURL }}" />
71+
{{- end -}}
72+
73+
{{- if .Site.Params.selfHosted -}}
74+
<link rel="stylesheet" href="{{ "css/fonts.css" | absURL }}" />
75+
{{- else -}}
76+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic" />
77+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" />
78+
{{- end -}}
79+
80+
{{- if .Site.Params.useHLJS }}
81+
<link rel="stylesheet" href="{{ "css/highlight.min.css" | absURL }}" />
82+
{{- else -}}
83+
<link rel="stylesheet" href="{{ "css/syntax.css" | absURL }}" />
84+
{{- end -}}
85+
<link rel="stylesheet" href="{{ "css/codeblock.css" | absURL }}" />
86+
87+
{{- if .Site.Params.staticman.recaptcha -}}
88+
<script src='https://www.google.com/recaptcha/api.js'></script>
89+
{{- end -}}
90+
91+
{{- if .Site.Params.selfHosted -}}
92+
<link rel="stylesheet" href="{{ "css/photoswipe.min.css" | absURL }}" />
93+
<link rel="stylesheet" href="{{ "css/photoswipe.default-skin.min.css" | absURL }}" />
94+
{{- else -}}
95+
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/photoswipe.min.css" integrity="sha384-h/L2W9KefUClHWaty3SLE5F/qvc4djlyR4qY3NUV5HGQBBW7stbcfff1+I/vmsHh" crossorigin="anonymous">
96+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/photoswipe/4.1.2/default-skin/default-skin.min.css" integrity="sha384-iD0dNku6PYSIQLyfTOpB06F2KCZJAKLOThS5HRe8b3ibhdEQ6eKsFf/EeFxdOt5R" crossorigin="anonymous"> -->
97+
{{- end -}}
98+
99+
{{- partial "head_custom.html" . }}
100+
{{- if not hugo.IsServer -}}
101+
{{ template "_internal/google_analytics.html" . }}
102+
{{- end -}}

layouts/partials/header.html

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
2+
{{ if .IsHome }}
3+
{{ if .Site.Params.homeTitle }}{{ $.Scratch.Set "title" .Site.Params.homeTitle }}{{ else }}{{ $.Scratch.Set "title" .Site.Title }}{{ end }}
4+
{{ if .Site.Params.subtitle }}{{ $.Scratch.Set "subtitle" .Site.Params.subtitle }}{{ end }}
5+
{{ if .Site.Params.bigimg }}{{ $.Scratch.Set "bigimg" .Site.Params.bigimg }}{{ end }}
6+
{{ else }}
7+
{{ $.Scratch.Set "title" .Title }}
8+
{{ if .Params.subtitle }}{{ $.Scratch.Set "subtitle" .Params.subtitle }}{{ end }}
9+
{{ if .Params.bigimg }}{{ $.Scratch.Set "bigimg" .Params.bigimg }}{{ end }}
10+
{{ end }}
11+
{{ $bigimg := $.Scratch.Get "bigimg" }}
12+
{{ $title := $.Scratch.Get "title" }}
13+
{{ $subtitle := $.Scratch.Get "subtitle" }}
14+
15+
{{ if or $bigimg $title }}
16+
{{ if $bigimg }}
17+
<div id="header-big-imgs" data-num-img={{len $bigimg}}
18+
{{range $i, $img := $bigimg}}
19+
{{ if (fileExists $img.src)}}
20+
data-img-src-{{add $i 1}}="{{$img.src | absURL }}"
21+
{{else}}
22+
data-img-src-{{add $i 1}}="{{$img.src}}"
23+
{{end}}
24+
{{ if $img.desc}}data-img-desc-{{add $i 1}}="{{$img.desc}}"{{end}}
25+
{{end}}></div>
26+
{{ end }}
27+
28+
<header class="header-section {{ if $bigimg }}has-img{{ end }}">
29+
{{ if $bigimg }}
30+
{{ $firstimg := index $bigimg 0 }}
31+
<div class="intro-header big-img" style="background-image: url('{{$firstimg.src}}');">
32+
{{ $subtitle := $.Scratch.Get "subtitle" }}
33+
<div class="container">
34+
<div class="row">
35+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
36+
<div class="{{ .Type }}-heading">
37+
<h1>{{ with $.Scratch.Get "title" }}{{.}}{{ else }}<br/>{{ end }}</h1>
38+
{{ if $subtitle }}
39+
{{ if eq .Type "page" }}
40+
<hr class="small">
41+
<span class="{{ .Type }}-subheading">{{ $subtitle }}</span>
42+
{{ else }}
43+
<h2 class="{{ .Type }}-subheading">{{ $subtitle }}</h2>
44+
{{ end }}
45+
{{ end }}
46+
{{ if eq .Type "post" }}
47+
{{ partial "post_meta.html" . }}
48+
{{ end }}
49+
</div>
50+
</div>
51+
</div>
52+
</div>
53+
<span class="img-desc" style="display: {{ cond (isset $firstimg "desc") "inline" "none"}};">{{$firstimg.desc}}</span>
54+
</div>
55+
{{end}}
56+
{{ if $title }}
57+
<div class="intro-header no-img">
58+
<div class="container">
59+
<div class="row">
60+
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
61+
<div class="{{ .Type }}-heading">
62+
{{ if eq .Type "list" }}
63+
<h1>{{ if .Data.Singular }}#{{ end }}{{ .Title }}</h1>
64+
{{ else }}
65+
<h1>{{ with $title }}{{.}}{{ else }}<br/>{{ end }}</h1>
66+
{{ end }}
67+
{{ if ne .Type "post" }}
68+
<hr class="small">
69+
{{ end }}
70+
{{ if $subtitle }}
71+
{{ if eq .Type "page" }}
72+
<span class="{{ .Type }}-subheading">{{ $subtitle }}</span>
73+
{{ else }}
74+
<h2 class="{{ .Type }}-subheading">{{ $subtitle }}</h2>
75+
{{ end }}
76+
{{ end }}
77+
{{ if eq .Type "post" }}
78+
{{ partial "post_meta.html" . }}
79+
{{ end }}
80+
</div>
81+
</div>
82+
</div>
83+
</div>
84+
</div>
85+
{{ end }}
86+
</header>
87+
{{ else }}
88+
<div class="intro-header"></div>
89+
{{ end }}

0 commit comments

Comments
 (0)