Skip to content

Commit

Permalink
Merge pull request #88 from KasukabeDefenceForce/main
Browse files Browse the repository at this point in the history
fix news template
  • Loading branch information
KasukabeDefenceForce authored Aug 5, 2024
2 parents a43f993 + 82bf3ee commit 5bf6be8
Showing 1 changed file with 15 additions and 13 deletions.
28 changes: 15 additions & 13 deletions templates/news_page_no_twitter.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -50,19 +50,21 @@
target="_blank">{{ author_name }}</a></li>
<li>{{ project_info["date"].strftime('%d') }}{% if project_info["date"].day % 10 == 1 and project_info["date"].day != 11 %}st{% elif project_info["date"].day % 10 == 2 and project_info["date"].day != 12 %}nd{% elif project_info["date"].day % 10 == 3 and project_info["date"].day != 13 %}rd{% else %}th{% endif %} {{ project_info["date"].strftime('%b, %Y') }}</li>
</ul>
<ul class="share-articles d-flex">
Share On:
<li class="me-2">
<a href="https://twitter.com/intent/tweet?url=https://kerzendorf-lab.github.io/news/{{ project_info.article_id }}&text={{project_info.title}}" class="twitter" title="Share on Twitter" target="_blank">
<i class="social-button bi bi-twitter-x"></i>
</a>
</li>
<li class="me-2">
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://kerzendorf-lab.github.io/news/{{ project_info.article_id }}&text={{project_info.title}}" target="_blank">
<i class="social-button bi bi-linkedin"></i>
</a>
</li>
</ul>
{#
<ul class="share-articles d-flex">
Share On:
<li class="me-2">
<a href="https://twitter.com/intent/tweet?url=https://kerzendorf-lab.github.io/news/{{ project_info.article_id }}&text={{project_info.title}}" class="twitter" title="Share on Twitter" target="_blank">
<i class="social-button bi bi-twitter-x"></i>
</a>
</li>
<li class="me-2">
<a href="https://www.linkedin.com/shareArticle?mini=true&url=https://kerzendorf-lab.github.io/news/{{ project_info.article_id }}&text={{project_info.title}}" target="_blank">
<i class="social-button bi bi-linkedin"></i>
</a>
</li>
</ul>
#}
<img src="../{{ project_info.cover_image }}" class="img-fluid img-responsive"
alt="blog-post-image">
</div>
Expand Down

0 comments on commit 5bf6be8

Please sign in to comment.