Skip to content

Commit

Permalink
Merge pull request #704 from pwalczysko/banner
Browse files Browse the repository at this point in the history
Banner for OME meeting
  • Loading branch information
jburel authored Mar 28, 2024
2 parents 0fb4e65 + 8c6e3e8 commit d9ab196
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ docker pull jekyll/builder:pages
docker run --rm -v $PWD:/srv/jekyll -eJEKYLL_UID=$UID jekyll/builder:pages jekyll build --config _config.yml,_prod.yml
# Report 4xx status codes except 429 errors (Too Many Requests)
# typically sent by GitHub while linkchecking the downloads
docker run --rm -v $(pwd)/_site:/site jekyll/builder:pages /usr/gem/bin/htmlproofer /site --only_4xx --ignore-status-codes "429" --ignore-files "/site/minutes/,/minutes/,/site/2014/,/site/2018/,/site/citing-ome/,/site/teams/,/site/about/" --ignore-urls "/medium.com/pangeo/,/twitter.com/,/upf.edu/,/uk1s3.embassy.ebi.ac.uk/,/biorxiv.org/,/meded.hms.harvard.edu/,/loc.gov/,/royalsocietypublishing.org/,/science.1082602/,/www.softwarecollections.org/" --no-enforce-https --allow-missing-href --typhoeus='{"headers" : {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Brave Chrome/91.0.4472.164 Safari/537.36"}}'
docker run --rm -v $(pwd)/_site:/site jekyll/builder:pages /usr/gem/bin/htmlproofer /site --only_4xx --ignore-status-codes "429" --ignore-files "/site/minutes/,/minutes/,/site/2014/,/site/2018/,/site/citing-ome/,/site/teams/,/site/about/" --ignore-urls "/medium.com/pangeo/,/twitter.com/,/monash.edu/,/micronoxford.com/,/upf.edu/,/uk1s3.embassy.ebi.ac.uk/,/biorxiv.org/,/meded.hms.harvard.edu/,/loc.gov/,/royalsocietypublishing.org/,/science.1082602/,/www.softwarecollections.org/" --no-enforce-https --allow-missing-href --typhoeus='{"headers" : {"User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Brave Chrome/91.0.4472.164 Safari/537.36"}}'

# Test file existence
echo "Checking Schemas existence"
Expand Down
21 changes: 16 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
<!-- end banner announcement -->

<!-- begin standard header to be hidden when event like community meeting is announced -->
<!--
<header class="marketing-hero" id="bg-image-main">
<div class="row homepage text-center">
<div class="small-12 columns bg-image-text-container">
Expand All @@ -67,20 +68,30 @@ <h1 class="show-for-small-only hero-main-header"><img src="{{ site.baseurl }}/im
<!--
<a href="{{ site.baseurl }}/events/ome-community-meeting-2022/" class="large button sites-button btn-blue">OME 2022 Community Meeting</a>
-->
-->
</div>
</div>
</header>

<!-- end standard header -->
<!-- begin marketing header -->
<!--
<header class="marketing-hero" id="bg-hero-ome-community-meeting-2022">
<--
<header class="marketing-hero" id="bg-image-main">
<div class="row homepage text-center">
<div class="small-12 columns bg-image-text-container">
<h1 class="small-12">OME 2022 Community Meeting</h1>
<h5 class="small-10 small-offset-1 medium-4 medium-offset-4 bold text-shadow-light">Join us from November 08th to 17th 2022 for our virtual community meeting.</h5>
<h1 class="small-12">OME 2024 Community Meeting</h1>
<br>
<p class="small-10 small-offset-1 medium-4 medium-offset-4 bold text">Save the date!</p>
<br>
<p class="small-10 small-offset-1 medium-4 medium-offset-4 bold text">Join us on 29-31st of May 2024 in-person in Dundee! </p>
<br>
<p class="small-10 small-offset-1 medium-4 medium-offset-4 bold text">Details and programme to follow.</p>
<br>
<hr class="whitespace">
<a href="{{ site.baseurl }}/events/" class="large button sites-button btn-red">Upcoming Workshops</a>
&nbsp;&nbsp;
<a href="{{ site.baseurl }}/2024/02/08/bio-formats-7-2-0.html" class="large button sites-button btn-red">Latest release</a>
<br>
<a href="{{ site.baseurl }}/events/ome-community-meeting-2022/" class="large button sites-button btn-red">View the programme</a>
</div>
</div>
</header>
Expand Down

0 comments on commit d9ab196

Please sign in to comment.