Skip to content

Commit

Permalink
Update search.md, footer/main.html, navigation.yml, light_bg.html, it…
Browse files Browse the repository at this point in the history
…em/list/block/colored/item.html, item/list/gallery/main.html, title_cover/main.html, and history.md
  • Loading branch information
cedricdcc committed Oct 15, 2024
1 parent 09018ae commit 0e4b4a9
Show file tree
Hide file tree
Showing 15 changed files with 193 additions and 122 deletions.
13 changes: 2 additions & 11 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
- title: IMIS
url: /submit#imis
- title: Marine Info
url: https://marineinfo.org/imis-search
url: https://marineinfo.org/imis-search
- title: Resources
items:
- title: Services
Expand Down Expand Up @@ -44,13 +44,4 @@
- title: Suggest a training
url: /
- title: About
url: /
items:
- title: Mission
url: /about#mission
- title: Open Science
url: https://open-science.vliz.be/
- title: Teams
url: /about#teams
- title: Contact
url: /about#contact
url: /about
1 change: 1 addition & 0 deletions _includes/footer/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ <h2 class="text-align-center">Receive our newsletter</h2>

<div
class="clearfix text-formatted field field--name-field-body field--type-text-long field--label-hidden field__items">
<p class="paragraph-small"><a href="mailto:[email protected]">Contact Us</a></p>
<p class="paragraph-small">© 2023 VLIZ. All rights reserved</p>
</div>
</div>
Expand Down
33 changes: 17 additions & 16 deletions _includes/item/list/block/colored/item.html
Original file line number Diff line number Diff line change
@@ -1,21 +1,22 @@
<div class="views-row">
<!-- todo remove article?
<article role="article" about="{{ include.item.clickthrough_url }}"
-->
<div class="node node--type-faq-question node--promoted node--view-mode-teaser">
<div class="included-item">
<h2>
<a href="{{ include.item.clickthrough_url }}" rel="bookmark">
<span class="field field--name-title field--type-string field--label-hidden">{{ include.item.title }}</span>
</a>
</h2>
<!-- todo remove as there is no content?
<div class="node__content">
{% if include.item.clickthrough_url %}
<article role="article" about="{{ include.item.clickthrough_url }}">
{% endif %}
<div class="node node--type-faq-question node--promoted node--view-mode-teaser">
<div class="included-item">
<h2>
<a href="{{ include.item.clickthrough_url }}" rel="bookmark">
<span class="field field--name-title field--type-string field--label-hidden">{{ include.item.title }}</span>
</a>
</h2>
{% if include.item.description %}
<div class="node__content">
{{ include.item.description }}
</div>
{% endif %}
</div>
-->
</div>
</div>
<!-- todo remove article
{% if include.item.clickthrough_url %}
</article>
-->
{% endif %}
</div>
22 changes: 15 additions & 7 deletions _includes/item/list/gallery/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,24 @@
<div class="views-element-container block block-views block-views-blocknews-news-promoted"
id="block-views-block-news-news-promoted">
<div>
<div class="view-news-promoted view view-news view-id-news view-display-id-news_promoted included-item-list">
<div
class="view-news-promoted view view-news view-id-news view-display-id-news_promoted included-item-list">
{% if include.first == true %}
{% for item in include.items %}
{% if forloop.first %}
{% include item/list/gallery/first_item.html item=item %}
{% if forloop.first %}
{% include item/list/gallery/first_item.html item=item %}
<div class="view-content">
{% else %}
{% include item/list/gallery/item.html item=item %}
{% include item/list/gallery/item.html item=item %}
{% endif %}
{% endfor %}
{% endfor %}
{% else %}
<div class="view-content">
{% for item in include.items %}
{% include item/list/gallery/item.html item=item %}
{% endfor %}
{% endif %}
</div>
</div>
</div>
</div>
Expand All @@ -27,5 +36,4 @@
</div>
</div>
</div>
</div>
</div>
</div>
16 changes: 9 additions & 7 deletions _includes/light_bg.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
<div class="col-12 field__item">
<div class="background-light-2 container-full-width pb-6 pt-6 paragraph paragraph--type--container paragraph--view-mode--default">
<div class="field field--name-field-paragraph-container-items field--type-entity-reference-revisions field--label-hidden">
<div class="row field__items">
<div class="col-12 field__item">
{{include.content}}
</div>
<div
class="background-light-2 container-full-width pb-6 pt-6 paragraph paragraph--type--container paragraph--view-mode--default">
<div
class="field field--name-field-paragraph-container-items field--type-entity-reference-revisions field--label-hidden">
<div class="row field__items">
<div class="col-12 field__item">
{{include.content}}
</div>
</div>
</div>
</div>
</div>
</div>
26 changes: 15 additions & 11 deletions _includes/title_cover/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,24 @@
<div class="region region-content-above">
{%- if include.cover -%}
<div id="block-vlizdynamicherotitle" class="block block-vliz-helpers block-vliz-dynamic-hero-title-block">
{% if include.url %}
<a href="{{ include.url }}">
{% endif %}
<div class="page-title-hero-container">
<div class="field field--name-field-hero-title field--type-string field--label-hidden field__items">
{{ include.title }}
</div>

<div class="page-title-hero-container">
<div class="field field--name-field-hero-title field--type-string field--label-hidden field__items">
{{ include.title }}
</div>
<div class="hero-media field field--name-field-hero-background field--type-entity-reference field--label-hidden field__items"
{%if include.opacity %}style="opacity: {{include.opacity}}; " {% endif %}>
<img src="{{ include.cover }}" alt="{{ include.title }}" loading="lazy" typeof="foaf:Image"
width="2736" height="572">
</div>

<div class="hero-media field field--name-field-hero-background field--type-entity-reference field--label-hidden field__items"
{%if include.opacity %}style="opacity: {{include.opacity}}; " {% endif %}>
<img src="{{ include.cover }}" alt="{{ include.title }}" loading="lazy" typeof="foaf:Image"
width="2736" height="572">
</div>

</div>

{% if include.url %}
</a>
{% endif %}
</div>
{%- else -%}
<h2 class="page-title">{{ include.title }}</h2>
Expand Down
78 changes: 39 additions & 39 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<!DOCTYPE html>
<html lang="nl" dir="ltr"
prefix="content: http://purl.org/rss/1.0/modules/content/ dc: http://purl.org/dc/terms/ foaf: http://xmlns.com/foaf/0.1/ og: http://ogp.me/ns# rdfs: http://www.w3.org/2000/01/rdf-schema# schema: http://schema.org/ sioc: http://rdfs.org/sioc/ns# sioct: http://rdfs.org/sioc/types# skos: http://www.w3.org/2004/02/skos/core# xsd: http://www.w3.org/2001/XMLSchema# ">

<head>
<meta charset="utf-8" />
<noscript>
Expand All @@ -13,7 +14,7 @@
<script>var _paq = _paq || []; (function () { var u = (("https:" == document.location.protocol) ? "https://piwik.vliz.be/" : "http://piwik.vliz.be/"); _paq.push(["setSiteId", "1"]); _paq.push(["setTrackerUrl", u + "matomo.php"]); _paq.push(["setDoNotTrack", 1]); if (!window.matomo_search_results_active) { _paq.push(["trackPageView"]); } _paq.push(["setIgnoreClasses", ["no-tracking", "colorbox"]]); _paq.push(["enableLinkTracking"]); var d = document, g = d.createElement("script"), s = d.getElementsByTagName("script")[0]; g.type = "text/javascript"; g.defer = true; g.async = true; g.src = u + "matomo.js"; s.parentNode.insertBefore(g, s); })();</script>
<link rel="canonical" href="{{ page.url | absolute_url }}" />
<script src="https://open-science.vliz.be/MIA/latest/mia.bundle.js" id="mia_script"
deref-config="https://open-science.vliz.be/MIA/deref_config.json"></script>
deref-config="https://open-science.vliz.be/MIA/deref_config.json"></script>
<link rel="shortlink" href="{{ page.url | absolute_url }}" />
<!-- <link rel="image_src" href="https://www.vliz.be/sites/vliz.be/files/VLIZ_LOGO_OG_TWITTER_1200x630.png" /> -->
<!-- HTML Meta Tags -->
Expand Down Expand Up @@ -91,7 +92,7 @@
<script src="{{ site.base_url }}/assets/js/brands.js" defer crossorigin="anonymous"></script>
<script src="{{ site.base_url }}/assets/js/fontawesome-icons.js" defer crossorigin="anonymous"></script>
<script>
mermaid.initialize({startOnLoad:true});
mermaid.initialize({ startOnLoad: true });
</script>
</head>

Expand All @@ -103,45 +104,44 @@
<div class="dialog-off-canvas-main-canvas" data-off-canvas-main-canvas>
<div class="layout-container">
<div class="vliz_parent_banner">
<a href="https://vliz.be" target="_blank" rel="noopener noreferrer">
<div>Affiliated site of </div>
<svg width="187.046" height="118.179" viewBox="0 0 52.916667 42.333335" version="1.1" id="svg5"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" sodipodi:docname="VLIZ_LOGO_OpSci.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview id="namedview7"
pagecolor="#ffffff"
bordercolor="#666666" borderopacity="1.0"
inkscape:pageshadow="2" inkscape:pageopacity="0.0" inkscape:pagecheckerboard="0"
inkscape:document-units="mm" showgrid="false" fit-margin-top="0" fit-margin-left="0"
fit-margin-right="0" fit-margin-bottom="0" units="px" width="200px" inkscape:zoom="0.75187991"
inkscape:cx="315.87491" inkscape:cy="448.87487" inkscape:window-width="1920"
inkscape:window-height="1016" inkscape:window-x="0" inkscape:window-y="27" inkscape:window-maximized="1"
inkscape:current-layer="g885" />
<defs id="defs2" />
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"
transform="translate(-21.506029,-29.851269)">
<g id="g885" transform="matrix(0.26458333,0,0,0.26458333,22.109203,29.851147)">
<g id="g20862" transform="translate(4.0000003,4)">
<path
d="m 159.1,105.113 h 24.877 v 13.066 H 133.2 l 28.105,-46.29 H 137.923 V 58.823 h 49.123 z m -48.735,-46.29 h 15.43 v 59.356 h -15.43 z m -26.45,0 v 46.29 h 18.5 v 13.066 H 68.485 V 58.823 Z m -67.147,0 14.326,36.135 14.4,-36.135 H 62.267 L 37.234,118.179 H 24.955 L 0,58.823 Z"
id="path2" style="fill:#354d9b;fill-opacity:1" />
<path
d="m 51.116,8 c 6.916,0.337 13.725,2.257 21.5,5.119 6.394,2.359 13.4,5.3 21.35,8.934 5.251,2.081 10.321,4.543 15.65,6.154 a 44.665,44.665 0 0 0 12.123,2.042 58.78,58.78 0 0 0 25.082,-6.027 98.345,98.345 0 0 0 13.667,-8.055 1.943,1.943 0 0 0 -1.944,-3.346 108.553,108.553 0 0 1 -14.067,5.261 c -7.385,2.159 -14.829,3.214 -22.058,2.208 a 37.771,37.771 0 0 1 -9.222,-2.53 c -4.953,-1.9 -9.7,-4.381 -14.595,-6.609 A 232.639,232.639 0 0 0 75.85,3.051 C 66.788,0.566 58.766,-0.489 50.946,0.214 a 56.424,56.424 0 0 0 -23.558,7.752 91.835,91.835 0 0 0 -6.218,3.922 2.072,2.072 0 0 0 1.92,3.644 C 32.609,11.7 44.356,7.678 51.116,8"
class="swoosh" id="path4" style="fill:#65c9cd;fill-opacity:1" />
<path
d="m 116.539,39.04 c -3.81,-0.518 -9.6,-1.475 -13.1,-2.843 A 113.882,113.882 0 0 1 89.444,29.174 c -3.136,-1.758 -6.252,-3.541 -9.456,-5.148 a 66.763,66.763 0 0 0 -6.755,-2.994 52.928,52.928 0 0 0 -11.1,-2.755 55.785,55.785 0 0 0 -16.632,0.8 96.753,96.753 0 0 0 -20.124,7.048 0.356,0.356 0 0 0 0.2,0.679 c 4.127,-0.694 12.035,-1.949 16.7,-2.208 a 78.475,78.475 0 0 1 9.467,0.056 53.908,53.908 0 0 1 9.085,1.319 62.082,62.082 0 0 1 9.447,2.984 c 2.125,0.8 4.259,1.612 6.394,2.462 3.287,1.309 6.579,2.638 9.9,3.9 a 90.849,90.849 0 0 0 15.767,4.757 c 4.3,0.791 10.961,0.254 14.859,-0.181 2.115,-0.44 -0.65,-0.86 -0.655,-0.86 z"
class="swoosh" id="path6" style="fill:#65c9cd;fill-opacity:1" />
</g>
</g>
</g>
</svg>
</a>
<a href="https://vliz.be" target="_blank" rel="noopener noreferrer">
<div>Affiliated site of </div>
<svg width="187.046" height="118.179" viewBox="0 0 52.916667 42.333335" version="1.1" id="svg5"
inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" sodipodi:docname="VLIZ_LOGO_OpSci.svg"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<sodipodi:namedview id="namedview7" pagecolor="#ffffff" bordercolor="#666666"
borderopacity="1.0" inkscape:pageshadow="2" inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0" inkscape:document-units="mm" showgrid="false"
fit-margin-top="0" fit-margin-left="0" fit-margin-right="0" fit-margin-bottom="0" units="px"
width="200px" inkscape:zoom="0.75187991" inkscape:cx="315.87491" inkscape:cy="448.87487"
inkscape:window-width="1920" inkscape:window-height="1016" inkscape:window-x="0"
inkscape:window-y="27" inkscape:window-maximized="1" inkscape:current-layer="g885" />
<defs id="defs2" />
<g inkscape:label="Layer 1" inkscape:groupmode="layer" id="layer1"
transform="translate(-21.506029,-29.851269)">
<g id="g885" transform="matrix(0.26458333,0,0,0.26458333,22.109203,29.851147)">
<g id="g20862" transform="translate(4.0000003,4)">
<path
d="m 159.1,105.113 h 24.877 v 13.066 H 133.2 l 28.105,-46.29 H 137.923 V 58.823 h 49.123 z m -48.735,-46.29 h 15.43 v 59.356 h -15.43 z m -26.45,0 v 46.29 h 18.5 v 13.066 H 68.485 V 58.823 Z m -67.147,0 14.326,36.135 14.4,-36.135 H 62.267 L 37.234,118.179 H 24.955 L 0,58.823 Z"
id="path2" style="fill:#354d9b;fill-opacity:1" />
<path
d="m 51.116,8 c 6.916,0.337 13.725,2.257 21.5,5.119 6.394,2.359 13.4,5.3 21.35,8.934 5.251,2.081 10.321,4.543 15.65,6.154 a 44.665,44.665 0 0 0 12.123,2.042 58.78,58.78 0 0 0 25.082,-6.027 98.345,98.345 0 0 0 13.667,-8.055 1.943,1.943 0 0 0 -1.944,-3.346 108.553,108.553 0 0 1 -14.067,5.261 c -7.385,2.159 -14.829,3.214 -22.058,2.208 a 37.771,37.771 0 0 1 -9.222,-2.53 c -4.953,-1.9 -9.7,-4.381 -14.595,-6.609 A 232.639,232.639 0 0 0 75.85,3.051 C 66.788,0.566 58.766,-0.489 50.946,0.214 a 56.424,56.424 0 0 0 -23.558,7.752 91.835,91.835 0 0 0 -6.218,3.922 2.072,2.072 0 0 0 1.92,3.644 C 32.609,11.7 44.356,7.678 51.116,8"
class="swoosh" id="path4" style="fill:#65c9cd;fill-opacity:1" />
<path
d="m 116.539,39.04 c -3.81,-0.518 -9.6,-1.475 -13.1,-2.843 A 113.882,113.882 0 0 1 89.444,29.174 c -3.136,-1.758 -6.252,-3.541 -9.456,-5.148 a 66.763,66.763 0 0 0 -6.755,-2.994 52.928,52.928 0 0 0 -11.1,-2.755 55.785,55.785 0 0 0 -16.632,0.8 96.753,96.753 0 0 0 -20.124,7.048 0.356,0.356 0 0 0 0.2,0.679 c 4.127,-0.694 12.035,-1.949 16.7,-2.208 a 78.475,78.475 0 0 1 9.467,0.056 53.908,53.908 0 0 1 9.085,1.319 62.082,62.082 0 0 1 9.447,2.984 c 2.125,0.8 4.259,1.612 6.394,2.462 3.287,1.309 6.579,2.638 9.9,3.9 a 90.849,90.849 0 0 0 15.767,4.757 c 4.3,0.791 10.961,0.254 14.859,-0.181 2.115,-0.44 -0.65,-0.86 -0.655,-0.86 z"
class="swoosh" id="path6" style="fill:#65c9cd;fill-opacity:1" />
</g>
</g>
</g>
</svg>
</a>
</div>
{%- include navigation/main.html -%}
{% if page.title %}
{%- include title_cover/main.html title=page.title cover=page.cover opacity=page.cover_opacity -%}
{%- include title_cover/main.html title=page.title cover=page.cover opacity=page.cover_opacity
url=page.cover_url-%}
{% endif %}
<main role="main">
<div class="main-container">
Expand Down Expand Up @@ -200,4 +200,4 @@ <h1 class="page-title"><span property="schema:name"
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
</body>

</html>
</html>
Loading

0 comments on commit 0e4b4a9

Please sign in to comment.