Skip to content

Commit 00d2e54

Browse files
committed
Add duoshuo comment to post layout.
1 parent 17a9794 commit 00d2e54

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

_layouts/post.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,7 @@ <h1>{{ page.title }}</h1>
77
<p class="meta">By {{ page.author }} at {{ page.date | date: "%Y-%m-%d" }}</p>
88
{{ content }}
99
</article>
10+
11+
<aside class="container">
12+
{% include duoshuo-comment.html %}
13+
</aside>

assets/css/common.css

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,8 +126,7 @@ article blockquote{line-height:1.6em; margin:1em 0 1em 1.5em; border-left:2px so
126126

127127

128128

129-
article.container,
130-
article.container{
129+
.page-log .container:not(nav){
131130
max-width: 640px;
132131
font-size: 1.2em;
133132
line-height: 1.8em;

0 commit comments

Comments
 (0)