Skip to content

Commit

Permalink
Add news page (alshedivat#1085)
Browse files Browse the repository at this point in the history
  • Loading branch information
Demi-wlw authored Mar 11, 2023
1 parent 07731f3 commit a2d7a58
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions _layouts/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,20 @@ <h1 class="post-title">
{{ content }}
</div>

{% if page.news -%}
<!-- News -->
{%- include news.html %}
{% if page.news -%}
<h2><a href="{{ '/news/' | relative_url }}" style="color: inherit;">News:bangbang:</a></h2>
{%- include news.html %}
{%- endif %}

<!-- Selected papers -->
{% if page.selected_papers -%}
<!-- Selected papers -->
<h2><a href="{{ '/publications/' | relative_url }}" style="color: inherit;">selected publications</a></h2>
{%- include selected_papers.html %}
{%- endif %}
{%- if page.social %}

<!-- Social -->
{%- if page.social %}
<div class="social">
<div class="contact-icons">
{% include social.html %}
Expand Down

0 comments on commit a2d7a58

Please sign in to comment.