Skip to content

Commit f49e2b6

Browse files
committed
메인 페이지 및 블로그 메뉴 개선
- 메인 페이지 내 최근 블로그 게시물 표시 기능 구현 - 메인 페이지 내 커뮤니티 참여 유도 섹션 추가 - 블로그 레이아웃 및 스타일 개선 - Bootstrap 및 jQuery 버전 업데이트
1 parent 31a6f22 commit f49e2b6

18 files changed

+473
-208
lines changed
456 KB
Loading
1.74 MB
Loading

.playwright-mcp/final-result.png

1.7 MB
Loading
1.71 MB
Loading
1.28 MB
Loading
1.18 MB
Loading

_includes/footer.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ <h2>한국어 튜토리얼</h2>
1414
</div>
1515

1616
<div class="col-md-4 text-center">
17-
<h2>커뮤니티</h2>
17+
<h2>한국어 커뮤니티</h2>
1818
<p>다른 사용자들과 의견을 나누고, 도와주세요!</p>
1919
<a class="with-right-arrow" href="{{ site.external_urls.site_community }}">커뮤니티로 이동</a>
2020
</div>

_includes/main_menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<a href="{{ site.baseurl }}/get-started">시작하기</a>
55
</li>
66

7-
<li class="main-menu-item">
7+
<li class="main-menu-item {% if current[1] == 'blog' %}active{% endif %}">
88
<a href="{{ site.baseurl }}/blog">블로그</a>
99
</li>
1010

_includes/mobile_menu.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<a href="{{ site.baseurl }}/get-started">시작하기</a>
1818
</li>
1919

20-
<li class="main-menu-item">
20+
<li class="main-menu-item {% if current[1] == 'blog' %}active{% endif %}">
2121
<a href="{{ site.baseurl }}/blog">블로그</a>
2222
</li>
2323

_layouts/blog.html

Lines changed: 5 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,9 @@
1515

1616
<div class="jumbotron jumbotron-fluid">
1717
<div class="container">
18-
{% for post in posts limit:1 %}
19-
<p class="featured-post">추천 게시물</p>
20-
<h1 class="blog-index-title">
21-
<a href="{{ site.baseurl }}{{ post.url }}">{{ post.title }}</a>
22-
</h1>
23-
<p class="featured-blog-preview">{{ post.excerpt | strip_html | escape | truncate: 150 }}</p>
24-
25-
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-lg with-right-arrow">
26-
더 읽기
27-
</a>
28-
{% endfor %}
18+
<h1>블로그</h1>
19+
<p class="lead">파이토치 한국 사용자 모임에서 공유하는 최신 기술 동향, 튜토리얼, 연구 성과 및 커뮤니티 소식을 만나보세요.
20+
</p>
2921
</div>
3022
</div>
3123

@@ -35,9 +27,6 @@ <h1 class="blog-index-title">
3527
<div class="row blog-vertical">
3628

3729
{% for post in posts %}
38-
{% if forloop.first %}
39-
{% continue %}
40-
{% endif %}
4130
<div class="vertical-blog-container">
4231
<div class="col-md-4">
4332
<p class="blog-date">{{ post.date | date: '%B %d, %Y' }}</p>
@@ -48,8 +37,8 @@ <h4>
4837
<p>{{ post.excerpt | strip_html | strip | truncate: 250 | escape }}</p>
4938
<!-- <img src="{{ post.image }}" class="img-fluid"> -->
5039
</div>
51-
<a href="{{ site.baseurl }}{{ post.url }}" class="btn btn-lg with-right-arrow">
52-
읽기
40+
<a href="{{ site.baseurl }}{{ post.url }}" class="btn">
41+
읽어보기 →
5342
</a>
5443
</div>
5544
{% endfor %}

0 commit comments

Comments
 (0)