Skip to content

Commit

Permalink
fix: Supporting the config item for 'end_text: horizon_line'
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyib committed Sep 15, 2019
1 parent 705acc6 commit eea96d7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion source/css/_common/components/post/post.styl
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,13 @@
if (hexo-config('post_widget.end_text.enable')) {
&-end {
margin: 0 0 1rem;
border-top: 1px dashed $post-end-line-color;
padding: 1rem 0 0;
text-align: center;
color: $post-end-color;

if (hexo-config('post_widget.end_text.horizon_line')) {
border-top: 1px dashed $post-end-line-color;
}
}
}

Expand Down

0 comments on commit eea96d7

Please sign in to comment.