Skip to content

Commit

Permalink
cleanup + prelude argument addition for small banner
Browse files Browse the repository at this point in the history
- deleted non used layouts (page,post)
- added new argument used for the small banner that will reduce the opacity of the background image to allow for better control of the text visibility of the image is largely white.
  • Loading branch information
cedricdcc committed Aug 10, 2023
1 parent dbebe92 commit 53163d8
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
2 changes: 1 addition & 1 deletion _includes/small_title_banner/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
</div>
{%- if include.image -%}
<div
class="hero-media field field--name-field-hero-background field--type-entity-reference field--label-hidden field__items">
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.image }}" alt="{{ include.title }}" loading="lazy"
typeof="foaf:Image" width="2736" height="572">
</div>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<div class="layout-container">
{%- include navigation/main.html -%}
{% if page.title %}
{%- include small_title_banner/main.html title=page.title image=page.image -%}
{%- include small_title_banner/main.html title=page.title image=page.image opacity=page.opacity-%}
{% endif %}
<main role="main">
<div class="main-container">
Expand Down
5 changes: 0 additions & 5 deletions _layouts/page.html

This file was deleted.

5 changes: 0 additions & 5 deletions _layouts/post.html

This file was deleted.

1 change: 1 addition & 0 deletions linked-data.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ layout: default
permalink: /linked-data
title: Linked Open Data @VLIZ
image: /assets/media/img/covers/Wikidata_in_the_Linked_Open_Data_cloud_2020-08-20.svg
opacity: 0.5
---

Since 2020 the VLIZ Marine Data Centre, in its pursuit of FAIR and Open Data, has been gradually implementing Semantic Web Technology [techniques, libraries and frameworks](/technical-approach) to help grow the «Research Knowledge Graph».
Expand Down

0 comments on commit 53163d8

Please sign in to comment.