避免未加载完显示{{, 并处理其他居中问题
This commit is contained in:
parent
4db287aea6
commit
205cb641f8
|
@ -16,7 +16,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
h1, h2, h3, h4, h5, h6 {
|
h1, h2, h3, h4, h5, h6 {
|
||||||
border-bottom: 1px solid #EEEEEE;
|
border-bottom: 1px solid #DDDDDD;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- content_for(:title) do
|
- content_for(:title) do
|
||||||
| #{@type ? @type : '时间线'}
|
| #{@type ? @type : '时间线'}
|
||||||
.row ng-controller="ArchivesController"
|
.row ng-controller="ArchivesController" ng-cloak=""
|
||||||
.small-12.large-9.large-centered.columns
|
.small-12.large-9.large-centered.columns
|
||||||
ul.archives-field ng-model="type" ng-init=" type= '#{@type}' "
|
ul.archives-field ng-model="type" ng-init=" type= '#{@type}' "
|
||||||
li ng-repeat=" post in posts "
|
li ng-repeat=" post in posts "
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
button ng-click="submit()" ng-disabled="form.$invalid" 发表
|
button ng-click="submit()" ng-disabled="form.$invalid" 发表
|
||||||
p.comment-success ng-show="publish_success" 发布成功
|
p.comment-success ng-show="publish_success" 发布成功
|
||||||
p.comment-fail ng-show="publish_success == false" 发布失败
|
p.comment-fail ng-show="publish_success == false" 发布失败
|
||||||
.comment-diag
|
.comment-diag ng-cloak=""
|
||||||
.comment-wrapper ng-repeat=" comment in comments "
|
.comment-wrapper ng-repeat=" comment in comments "
|
||||||
p.name
|
p.name
|
||||||
|{{ comment.name + " • " }}
|
|{{ comment.name + " • " }}
|
||||||
|
|
|
@ -13,7 +13,7 @@ p.ptag
|
||||||
| 发表于:
|
| 发表于:
|
||||||
span #{format_date(post.created_at)}
|
span #{format_date(post.created_at)}
|
||||||
hr.blog-over
|
hr.blog-over
|
||||||
p ng-controller="LikesController"
|
p ng-controller="LikesController" ng-cloak=""
|
||||||
button.like-button ng-show="! is_liked " ng-click="submit()"
|
button.like-button ng-show="! is_liked " ng-click="submit()"
|
||||||
|{{ count }}
|
|{{ count }}
|
||||||
span Like
|
span Like
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
.comment-field
|
.comment-field
|
||||||
= render partial: 'comment', locals: { comments: @comments, post: @post }
|
= render partial: 'comment', locals: { comments: @comments, post: @post }
|
||||||
.row
|
.row
|
||||||
.small-12.large-8.columns
|
.small-12.large-9.large-centered.columns
|
||||||
- if @prev
|
- if @prev
|
||||||
= link_to blog_path(@prev), class: 'prev' do
|
= link_to blog_path(@prev), class: 'prev' do
|
||||||
i.fi-arrow-left
|
i.fi-arrow-left
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
- content_for(:title) do
|
- content_for(:title) do
|
||||||
| 关于我
|
| 关于我
|
||||||
.row
|
.row
|
||||||
.small-12.large-8.columns.self-introduce
|
.small-12.large-9.large-centered.columns.self-introduce
|
||||||
h2.blog-title ABOUT ME
|
h2.blog-title ABOUT ME
|
||||||
p 我的名字是李亚飞( YaFei Lee ), 网名为 WinDy, 由于是我第一个网名, 所以一直使用至今.
|
p 我的名字是李亚飞( YaFei Lee ), 网名为 WinDy, 由于是我第一个网名, 所以一直使用至今.
|
||||||
p 我是 85 后成员, 目前生活在深圳, 计划长期在这里发展.
|
p 我是 85 后成员, 目前生活在深圳, 计划长期在这里发展.
|
||||||
|
|
Loading…
Reference in New Issue