Skip to content

Commit

Permalink
合并官方代码
Browse files Browse the repository at this point in the history
  • Loading branch information
ruibaby committed Oct 17, 2018
1 parent 825b15a commit ce27102
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 7 deletions.
1 change: 1 addition & 0 deletions assets/built/infinitescroll.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/built/infinitescroll.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/built/jquery.fitvids.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/built/jquery.fitvids.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/built/screen.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion assets/built/screen.css.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion assets/css/screen.css
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,10 @@ Usage (In Ghost editor):
border-radius: 3px;
}

.post-full-content p code {
word-break: break-all;
}

.post-full-content pre {
overflow-x: auto;
margin: 1.5em 0 3em;
Expand All @@ -935,7 +939,7 @@ Usage (In Ghost editor):
background: transparent;
}

.post-full-content pre code * {
.post-full-content pre code :not(span) {
color: inherit;
}

Expand Down
2 changes: 1 addition & 1 deletion category.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@
// we reached the last page already.
var maxPages = parseInt('${posts.totalPages}');
</script>
<script src="/${themeName}/assets/js/infinitescroll.js"></script>
<script src="/${themeName}/assets/built/infinitescroll.js"></script>
</#if>
</@scripts>
2 changes: 1 addition & 1 deletion default.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4="
crossorigin="anonymous">
</script>
<script type="text/javascript" src="/${themeName}/assets/js/jquery.fitvids.js"></script>
<script type="text/javascript" src="/${themeName}/assets/built/jquery.fitvids.js"></script>
</#macro>

<#macro scripts>
Expand Down
2 changes: 1 addition & 1 deletion index.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ into the {body} of the default.hbs template -->
// we reached the last page already.
var maxPages = parseInt('${posts.totalPages}');
</script>
<script src="/${themeName}/assets/js/infinitescroll.js"></script>
<script src="/${themeName}/assets/built/infinitescroll.js"></script>
</#if>
<#-- Ghost outputs important scripts and data with this tag - it should always be the very last thing before the closing body tag -->
<#-- {{ghost_foot}} -->
Expand Down
2 changes: 1 addition & 1 deletion tag.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@
// we reached the last page already.
var maxPages = parseInt('${posts.totalPages}');
</script>
<script src="/${themeName}/assets/js/infinitescroll.js"></script>
<script src="/${themeName}/assets/built/infinitescroll.js"></script>
</#if>
</@scripts>

0 comments on commit ce27102

Please sign in to comment.