{# templates/page/index.html.twig #}
{% extends "base.html.twig" %}
{% block title %}
{{article.title}}
{% endblock %}
{% block metas %}
<meta name="description" content="{{article.description}}">
<meta name="keywords" content="{{article.keywords}}">
<meta property="og:title" content="{{article.title}}" />
<meta property="og:url" content="{{ absolute_url('/articles/') }}{{article.number}}" />
<meta property="og:description" content="{{article.description}}" />
<meta property="og:site_name" content="{% if journal is defined and journal is not null and journal.title is defined %}{{ journal.title }}{% else %}Medivance Science Press{% endif %}" />
{% endblock %}
{% block topJavascripts %}
<script type='text/javascript'
src='https://platform-api.sharethis.com/js/sharethis.js#property=5f5aab1dd99dc5001286f9c8&product=inline-share-buttons'
async='async'></script>
{% endblock %}
{% block body %}
{{ include('inc/header.html.twig') }}
{{ include('inc/journal-header.html.twig') }}
<section class="journal">
{{ include('inc/journal-menu.html.twig') }}
<section class="block">
<div class="container">
<div class="row">
<div class="col-lg-12">
{{article.abstract|replace({'<p> </p>': ""})|raw}}
</div>
</div>
{% if article.fullText|default(null) %}
<div class="row">
<div class="col-lg-12">
<a class="full-text" href="{{ absolute_url('/articles/') }}{{article.number}}?view=fulltext">View Full Text</a>
</div>
</div>
{% endif %}
<div class="row">
<div class="col-lg-12">
<div class="btn share">
<div class="sharethis-inline-share-buttons"></div>
</div>
</div>
</div>
<br />
<div class="row">
<div class="col-lg-12">
<div class="authors">
{% for author in article.authorNames %}
<a target="_blank"
href="http://scholar.google.com/scholar?q=author:"{{author|url_encode}}"">{{author}}
on Google Scholar</a>
<a target="_blank"
href="http://www.ncbi.nlm.nih.gov/pubmed?term={{author|url_encode}}[Author]">{{author}}
on Pubmed</a>
{% endfor %}
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
{% if article.pdf|default(null) %}
<a class="full-text" href="{{ absolute_url('/articles/pdf/') }}{{article.number}}">Download Full
Text - PDF</a>
{% else %}
<p><strong>Subscribe to read the full article:</strong> <a href="{{ absolute_url('/subscribe-to-read') }}">{{ absolute_url('/subscribe-to-read') }}</a></p>
{% endif %}
</div>
</div>
</div>
</section>
</section>
{{ include('inc/footer.html.twig') }}
{% endblock %}