Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
public/
.DS_Store
.hugo_build.lock

11 changes: 9 additions & 2 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ pagerSize = 50

# Google Maps widget: If `googleMapsApiKey` is not set, no key will be passed to Google (which likely results in a broken map widget).
enableGoogleMaps = false
googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
googleMapsApiKey = ""

latitude = "-12.043333"
longitude = "-77.028333"
Expand Down Expand Up @@ -199,7 +199,7 @@ pagerSize = 50
"""

[Permalinks]
blog = "/blog/:year/:month/:day/:contentbasename/"
blog = "/blog/:year/:month/:day/:filename/"

# Enable or disable top bar with social icons
[params.topbar]
Expand Down Expand Up @@ -244,6 +244,13 @@ pagerSize = 50
title = "Speakers"
# subtitle = "Confirmed speakers"

[params.scholarship]
enable = true
title = "BioC Scholarship Fund"
text = "Support the Bioconductor Scholarship Fund to help sustain critical infrastructure, improve documentation, and expand access to our community. Your contribution directly enables conference travel support and training opportunities for researchers who might not otherwise be able to participate."
link_url = "https://numfocus.org/donate-for-bioconductor"
link_text = "Donate Now"

[params.see_more]
enable = false
icon = "far fa-file-alt"
Expand Down
40 changes: 40 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">

{{ partial "head.html" . }}

<body>

<div id="all">

{{ partial "top.html" . }}

{{ partial "nav.html" . }}

{{ partial "carousel.html" . }}

{{ partial "news.html" . }}

{{ partial "features.html" . }}

{{ partial "testimonials.html" . }}

{{ partial "speakers.html" . }}

{{ partial "scholarship.html" . }}

{{ partial "see_more.html" . }}

{{ partial "recent_posts.html" . }}

<!-- {{ partial "clients.html" . }} -->

{{ partial "footer.html" . }}

</div>
<!-- /#all -->

{{ partial "scripts.html" . }}

</body>
</html>
25 changes: 25 additions & 0 deletions layouts/partials/scholarship.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{{ if isset .Site.Params "scholarship" }}
{{ if .Site.Params.scholarship.enable }}
<section class="bar background-white no-mb">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="heading text-center">
<h2>{{ .Site.Params.scholarship.title }}</h2>
</div>
<p class="lead text-center">
{{ .Site.Params.scholarship.text | markdownify }}
</p>
<p class="text-center">
{{ if and .Site.Params.scholarship.link_url .Site.Params.scholarship.link_text }}
<a href="{{ .Site.Params.scholarship.link_url }}" class="btn btn-template-main btn-lg" target="_blank" rel="noopener noreferrer">
{{ .Site.Params.scholarship.link_text }}
</a>
{{ end }}
</p>
</div>
</div>
</div>
</section>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion themes/hugo-universal-theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ Example configuration:
[params]
...
enableGoogleMaps = true
googleMapsApiKey = "AIzaSyCFhtWLJcE30xOAjcbSFi-0fnoVmQZPb1Y"
googleMapsApiKey = "YOUR_GOOGLE_MAPS_API_KEY"

latitude = "-12.043333"
longitude = "-77.028333"
Expand Down