Skip to content

Commit

Permalink
Update posts.md
Browse files Browse the repository at this point in the history
  • Loading branch information
maotianchan authored Dec 12, 2023
1 parent 1978a81 commit 6883760
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,4 @@ permalink: /Research Work/
main_nav: true
---

{% for category in site.categories %}
{% capture platform studies %}{{ category | first }}{% endcapture %}
<h2 id="{{paltform}}">{{platform }}</h2>
{% for desc in site.descriptions %}
{% if desc.paltform == cat %}
<p class="desc"><em>{{ desc.desc }}</em></p>
{% endif %}
{% endfor %}
<ul class="posts-list">
{% for post in site.categories[cat] %}
<li>
<strong>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</strong>
<span class="post-date">- {{ post.date | date_to_long_string }}</span>
</li>
{% endfor %}
</ul>
{% if forloop.last == false %}<hr>{% endif %}
{% endfor %}
<br>

0 comments on commit 6883760

Please sign in to comment.