index.html 2.52 KB
Newer Older
Jacek Lebioda's avatar
Develop  
Jacek Lebioda committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
---
layout: default
---

<article class="body-wrapper margin-wrapper">

    <div id="left-column"></div>

    <div class="narrower-article-div">
        <header>
            <h1>
                {{ page.title | escape }}
            </h1>
        </header>

        <div class="index-flex">
          {% if page.introduction %}
            <div class="index-gray-box">
              {{ page.introduction }}
            </div>
          {% endif %}

          <div class="index-photo">
            <img src="{{ '/assets/cover.jpg' | relative_url }}" alt="Elixir Luxembourg" />
          </div>
        </div>

        {{ content | markdownify }}

        <div class="index-flex">
          <div class="index-box">
            <img src="{{ '/assets/buttons/index_events.jpg' | relative_url }}" alt="Events image" />
            <div class="index-box-caption">
              <a href="{{ '/events/' | relative_url }}">Events</a>
            </div>
          </div>

          <div class="index-box">
            <img src="{{ '/assets/buttons/index_jobs.jpg' | relative_url }}" alt="Job vacancies image" />
            <div class="index-box-caption">
              <a href="{{ '/about-node/vacancies' | relative_url }}">Job vacancies</a>
            </div>
          </div>

          <div class="index-box">
            <img src="{{ '/assets/buttons/index_flyer.jpg' | relative_url }}" alt="Flyer image" />
            <div class="index-box-caption">
              <a href="https://webdav-r3lab.uni.lu/public/elixir/website/pdf/ELIXIR-LU_Flyer_VF.pdf">Download flyer</a>
            </div>
          </div>
        </div>
    </div>

    <div id="right-column">
      {% if paginator.posts %}
      <h2>Our news</h2>

      {% for post in paginator.posts %}
      <div class="post">
        <a class="post-title" href="{{ post.url | relative_url }}">{{ post.title }}</a>
        <br />
        <span class="post-date">Published on: {{ post.date | date: '%B %d, %Y' }}</span>

        <div class="content">
          {{ post.content | truncate: 220 }} <a href="{{ post.url | relative_url }}">(read more)</a>
        </div>
      </div>
      {% endfor %}

      <h3><a href="{{ '/news/' | relative_url }}">See more news...</a></h3>

      {% endif %}

      <a class="twitter-timeline" data-lang="en" data-width="380" data-height="800" data-dnt="true" data-theme="light" data-link-color="#B57B00" href="https://twitter.com/elixir_lu?ref_src=twsrc%5Etfw">Tweets by elixir_lu</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
    </div>
</article>