Skip to content

Commit

Permalink
Update projects
Browse files Browse the repository at this point in the history
  • Loading branch information
ljcc0930 committed Feb 12, 2024
1 parent 88e9cbd commit 0f92676
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions _pages/posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,37 @@ permalink: /posts
Authors marked in <span style="color:blue">blue</span> indicate our group members, and "\*" indicates equal contribution.<br />

{% assign number_printed = 0 %}
{% for publi in site.data.preprints %}

{% assign even_odd = number_printed | modulo: 2 %}
{% if publi.highlight == 1 %}

{% if even_odd == 0 %}
<div class="row">
{% endif %}

<div class="col-sm-6 clearfix">
<div class="well">
<pubtit>{{ publi.title }}</pubtit>
<img src="{{ site.url }}{{ site.baseurl }}/images/pubpic/{{ publi.image }}" class="img-responsive" width="100%" style="float: left" />
<p>{{ publi.description }}</p>
<p><em>{{ publi.authors }}</em></p>
<p><strong><a href="{{ publi.link.url }}">{{ publi.link.display }}</a></strong></p>
<p class="text-danger"><strong> {{ publi.news1 }}</strong></p>
<p> {{ publi.news2 }}</p>
<p><a href="{{ site.url }}{{ site.baseurl }}/posts/{{ publi.post }}">Click here to read the full article.</a></p>
</div>
</div>

{% assign number_printed = number_printed | plus: 1 %}

{% if even_odd == 1 %}
</div>
{% endif %}

{% endif %}
{% endfor %}

{% for publi in site.data.publist %}

{% assign even_odd = number_printed | modulo: 2 %}
Expand Down

0 comments on commit 0f92676

Please sign in to comment.