Skip to content

Commit 219fa6f

Browse files
committed
블로그 글 작성자 표시 변경
1 parent 16fd804 commit 219fa6f

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

_layouts/blog_detail.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ <h4 class="blog-subtitle">{{ page.org_title }}</h4>
3535
작성: PyTorch Team, 번역: {{ site.default_author }}
3636
{% endif %}
3737
{% else %}
38-
작성: {{ site.default_author }}
38+
{% if page.author %}
39+
작성: {{ page.author }}
40+
{% else %}
41+
작성: {{ site.default_author }}
42+
{% endif %}
3943
{% endif %}
4044
</p>
4145
{% if page.category contains 'translation' or page.category contains 'pytorch.org' %}

_sass/blog.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -330,6 +330,7 @@
330330
}
331331

332332
.pytorch-article {
333+
width: 100%;
333334
padding-bottom: 0;
334335
.enterprise-azure-logo-container {
335336
padding-left: 0;

0 commit comments

Comments
 (0)