Compare commits

..

3 Commits
2.0.0 ... 2.0.1

Author SHA1 Message Date
2b2d6e6d14 Upgrading Casper to 2.0.1 2017-07-27 11:48:43 +04:00
cd4e0e03f5 Better support for the video element 2017-07-27 11:15:19 +04:00
3993cbdcfa Update disqus embed to use {{comment_id}}
refs TryGhost/Ghost#8760

- disqus code must use `{{comment_id}}` instead of `{{id}}` from 1.0.0 onwards.
2017-07-26 23:01:14 +04:00
5 changed files with 8 additions and 6 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -696,13 +696,15 @@ The first (most recent) post in the list is styled to be bigger than the others
margin-top: 0; margin-top: 0;
} }
.post-full-content img { .post-full-content img,
.post-full-content video {
display: block; display: block;
margin: 1.5em auto; margin: 1.5em auto;
max-width: 1040px; max-width: 1040px;
} }
@media (max-width: 1040px) { @media (max-width: 1040px) {
.post-full-content img { .post-full-content img,
.post-full-content video {
width: 100%; width: 100%;
} }
} }

View File

@ -2,7 +2,7 @@
"name": "casper", "name": "casper",
"description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.", "description": "The default personal blogging theme for Ghost. Beautiful, minimal and responsive.",
"demo": "https://demo.ghost.io", "demo": "https://demo.ghost.io",
"version": "2.0.0", "version": "2.0.1",
"engines": { "engines": {
"ghost": ">=1.0.0" "ghost": ">=1.0.0"
}, },

View File

@ -80,7 +80,7 @@ into the {body} of the default.hbs template --}}
<script> <script>
var disqus_config = function () { var disqus_config = function () {
this.page.url = '{{url absolute="true"}}'; this.page.url = '{{url absolute="true"}}';
this.page.identifier = 'ghost-{{id}}'; this.page.identifier = 'ghost-{{comment_id}}';
}; };
(function() { (function() {
var d = document, s = d.createElement('script'); var d = document, s = d.createElement('script');