-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
major update together with version 1.5.0
- Loading branch information
Showing
69 changed files
with
611 additions
and
336 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
{% assign numPages = 0 %} | ||
{% assign latest_release = 0 %} | ||
{% for post in site.posts %} | ||
{% if post.categories contains "news" or post.categories contains "release" %} | ||
<! -- Blog Post --> | ||
{% if numPages >= page.entry_start %} | ||
{% if numPages > page.entry_start %} | ||
<br><div class="hline"></div> | ||
{% endif %} | ||
<h3>{{ post.title }}</h3> | ||
<p> | ||
<em>{{ post.date | date: "%b %-d, %Y" }}</em> | ||
{% if post.categories contains "release" %} | ||
<span class="label label-default">Release</span> | ||
{% endif %} | ||
{% for tag in post.tags %} | ||
<span class="label label-default">{{ tag | capitalize }}</span> | ||
{% endfor %} | ||
</p> | ||
{{ post.content }} | ||
{% if post.categories contains "release" %} | ||
{% if latest_release == 0 %} | ||
<a href="{{site.baseurl}}/#download" class="btn btn-primary" role="button">Download latest version {{ post.version }}</a> | ||
{% else %} | ||
<a href="https://github.com/Cibiv/IQ-TREE/releases/tag/v{{ post.version }}" class="btn btn-primary" role="button">Download version {{ post.version }}</a> | ||
{% endif %} | ||
<br> | ||
{% assign latest_release = latest_release | plus: 1 %} | ||
{% endif %} | ||
{% endif %} | ||
{% assign numPages = numPages | plus: 1 %} | ||
{% if numPages == page.entry_end %} | ||
{% break %} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<nav aria-label="..."> | ||
<ul class="pager"> | ||
{% if page.pageid != 1 %} | ||
{% if page.pageid == 2 %} | ||
{% assign previd = '' %} | ||
{% else %} | ||
{% assign previd = page.pageid | minus: 1 %} | ||
{% endif %} | ||
<li><a href="../news{{previd}}"><span aria-hidden="true">←</span> Newer posts</a></li> | ||
{% endif %} | ||
{% if page.pageid != site.num_pages %} | ||
{% assign nextid = page.pageid | plus: 1 %} | ||
<li><a href="../news{{nextid}}">Older posts <span aria-hidden="true">→</span></a></li> | ||
{% endif %} | ||
</ul> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,26 @@ | ||
<div class="well"> | ||
<h4>Recent news</h4> | ||
<div class="row"> | ||
<div class="popular-posts"> | ||
{% for post in site.categories['news'] limit:10 %} | ||
<div class="col-md-12 col-sm-6 col-xs-6"> | ||
<p><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><br><csmall>{{ post.date | date: "%b %-d, %Y" }}</csmall></p> | ||
</div> | ||
{% endfor %} | ||
{% for alltag in site.tags %} | ||
{% assign tag = alltag | first %} | ||
{% if tag != 'tutorial' and tag != 'manual' %} | ||
<div class="well"> | ||
<h4>Recent {{tag}}</h4> | ||
<div class="row"> | ||
<div class="popular-posts"> | ||
{% assign numPages = 0 %} | ||
{% for post in site.posts %} | ||
{% if post.tags contains tag %} | ||
<div class="col-md-12 col-sm-6 col-xs-6"> | ||
<p><a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a><br> | ||
<csmall>{{ post.date | date: "%b %-d, %Y" }}</csmall> | ||
</p> | ||
</div> | ||
{% assign numPages = numPages | plus: 1 %} | ||
{% if numPages == 15 %} | ||
{% break %} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</div> | ||
</div> | ||
</div> | ||
<p><strong><a href="{{site.url}}/news">→ See all news</a></strong></p> | ||
</div> | ||
{% endif %} | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
{% if num_releases %} | ||
{% else %} | ||
{% assign num_releases = 5 %} | ||
{% endif %} | ||
<div class="well"> | ||
<h4>Recent IQ-TREE releases</h4> | ||
<h4>{% if num_releases == 5 %}Recent{% endif %} IQ-TREE releases</h4> | ||
<div class="row"> | ||
<div class="popular-posts"> | ||
{% for post in site.categories['release'] limit:5 %} | ||
{% for post in site.categories['release'] limit:num_releases %} | ||
<div class="col-md-12 col-sm-6 col-xs-6"> | ||
<p><a href="{{ post.url | prepend: site.baseurl }}">Version {{ post.version }}</a><br><csmall>{{ post.date | date: "%b %-d, %Y" }}</csmall></p> | ||
</div> | ||
{% endfor %} | ||
</div> | ||
</div> | ||
<p><strong><a href="{{site.url}}/release">→ All release history</a></strong></p> | ||
{% if num_releases == 5 %} | ||
<p><strong><a href="{{site.baseurl}}/release">→ All release history</a></strong></p> | ||
{% endif %} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.