first commit
This commit is contained in:
@@ -0,0 +1,73 @@
|
||||
<script type='application/ld+json'>
|
||||
{
|
||||
"@type": "Event",
|
||||
"name": "agenda",
|
||||
"url": "{{uri.base}}",
|
||||
"description": "{{page.summary}}",
|
||||
"startDate": "{{page.header.date_begin}}",
|
||||
"endDate": "{{page.header.date_end}}",
|
||||
"location": {
|
||||
"@type": "Place",
|
||||
"name": "{{page.title}}",
|
||||
"address": {
|
||||
"@type": "PostalAddress",
|
||||
"streetAddress": "Place Michel Paulus,Ecosite du Val de Drôme",
|
||||
"addressLocality": "Eurre",
|
||||
"addressRegion": "Val de Drôme",
|
||||
"postalCode": "26400",
|
||||
"addressCountry": "France"
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
{% set image = page.media.images|first %}
|
||||
<div class="event">
|
||||
|
||||
{% macro pageLinkName(text) %}{{ text|lower|replace({' ':'_'}) }}{% endmacro %}
|
||||
{% import _self as macro %}
|
||||
|
||||
{% for tag in page.taxonomy.tag %}
|
||||
<div class="card-header {{ macro.pageLinkName(tag) }}">
|
||||
{% endfor %}
|
||||
|
||||
{% include 'partials/blog/public.html.twig' %}
|
||||
</div>
|
||||
|
||||
{% if image %}
|
||||
<div class="card-image">
|
||||
{{ image }}
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="card-body">
|
||||
<div class="card-title">
|
||||
{% include 'partials/blog/date.html.twig' %}
|
||||
{% include 'partials/blog/title.html.twig' with {title_level: 'h2'} %}
|
||||
</div>
|
||||
</div>
|
||||
<div class="card-content">
|
||||
<div class="reso">
|
||||
|
||||
<!-- Your share button code -->
|
||||
<div>
|
||||
<a href="//www.facebook.com/sharer/sharer.php?u={{uri.route(true, true)}}" class="sharebox" target="_blank" rel =" noopener " onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
|
||||
Partager
|
||||
<img src="/user/themes/lecampus/images/fb_black.svg" alt="facebook">
|
||||
</a>
|
||||
</div>
|
||||
<a target="_blank" rel =" noopener " title="Twitter" href="https://twitter.com/share?url={{uri.route(true, true)}}" rel="nofollow" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
|
||||
Partager
|
||||
<img src="/user/themes/lecampus/images/twitter.svg" alt="Twitter">
|
||||
</a>
|
||||
<a target="_blank" rel =" noopener " href=" http://www.linkedin.com/shareArticle?mini=true&url={{uri.route(true, true)}}" onclick="javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=400,width=700');return false;">
|
||||
Partager
|
||||
<img src="/user/themes/lecampus/images/in_black.svg" alt="linkedin" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="txt">
|
||||
{{page.content}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
Reference in New Issue
Block a user