Skip to content

Commit

Permalink
Merge pull request #4 from Findy/Taka-bow-patch-4
Browse files Browse the repository at this point in the history
Update article_list.html
  • Loading branch information
Taka-bow authored Sep 24, 2024
2 parents 5be6c41 + a0b3c74 commit b757064
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions _includes/article_list.html
Original file line number Diff line number Diff line change
@@ -1,11 +1,21 @@
<div class="article-item">
<p class="published-date">公開日: {{ article.published }}</p>

<a href="{{ article.url }}" target="_blank" rel="noopener noreferrer">
<img src="{{ article.image }}" alt="{{ article.title }}" class="thumbnail">
</a>

<a href="{{ article.url }}" target="_blank" rel="noopener noreferrer">
<h3>{{ article.title }}</h3>
</a>
<div class="topics-list">
{% for topic in site.data.articles_data.topics %}
<div class="topic" id="{{ topic.title | slugify }}">
<h2>{{ topic.title }}</h2>
</div>
<div class="article-list">
{% for article in topic.articles %}
<div class="article-item">
<p class="published-date">公開日: {{ article.published }}</p>
<a href="{{ article.url }}" target="_blank" rel="noopener noreferrer">
<img src="{{ article.image }}" alt="{{ article.title }}" class="thumbnail">
</a>
<a href="{{ article.url }}" target="_blank" rel="noopener noreferrer">
<h3>{{ article.title }}</h3>
</a>
</div>
{% endfor %}
</div>
<hr>
{% endfor %}
</div>

0 comments on commit b757064

Please sign in to comment.