Commit 02412745 authored by Ken Hawkins's avatar Ken Hawkins
Browse files

Improve twitter teaser

parent 24297878
Pipeline #142021 passed with stages
in 5 minutes and 22 seconds
......@@ -40,7 +40,7 @@
<meta property="twitter:card" content="summary_large_image">
<meta property="og:url" content="https://embl.org/jobs{{ page.url }}">
<meta property="twitter:title" content="{{ pagination.items[0].title | safe | jobTitleClean | safe }} | {{ title or (renderData and renderData.title) or siteConfig.siteInformation.title}}">
<meta property="twitter:description" content="{{ pagination.items[0].field_jobs_description | striptags | truncate(150) }}">
<meta property="twitter:description" content="{{ pagination.items[0].field_jobs_type | striptags }}; {{ pagination.items[0].field_jobs_duty_station | striptags | replace("EMBL-EBI Hinxton","Hinxton, UK") }}; Grade: {{ pagination.items[0].field_jobs_advertise_grade | striptags | truncate(150) }}">
{% if meta.image -%}
<meta property="twitter:image" content="{{ meta.image }}">
{% else %}
......
......@@ -4,7 +4,7 @@ date: 2018-08-22 12:24:50
layout: layouts/base.njk
templateEngineOverride: njk
meta:
image: https://www.embl.org/assets/vf-hero/assets/vf-hero--intense.png
image: https://acxngcvroo.cloudimg.io/v7/https://www.embl.org/files/wp-content/uploads/20210309_EMBLorg_Jobs.png
description: "We offer a wide range of challenging scientific and non-scientific positions at all of our European locations and encourage applications from international candidates at all career levels."
keywords: "EMBL, jobs, careers, openings, positions, Heidelberg, Germany, EBI, Barcelona, Grenoble, Hamburg"
pagetype: landing;dimension1
......
......@@ -9,7 +9,7 @@ pagination:
permalink: "position/{{ pagination.items[0].field_jobs_reference_number | makeUppercase | spaceToDashes }}{{ pagination.items[0].urlSuffix }}/index.html"
templateEngineOverride: njk
meta:
image: https://www.embl.org/assets/vf-hero/assets/vf-hero--intense.png
image: https://acxngcvroo.cloudimg.io/v7/https://www.embl.org/files/wp-content/uploads/20210309_EMBLorg_Jobs.png
description: ""
keywords: "EMBL, jobs, careers, openings, positions"
pagetype: "notspecified"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment