0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-04 02:01:58 -05:00

🎨 New Google AMP template (#11986)

- Refreshed the design of the default Ghost AMP template
- Updated tests
This commit is contained in:
John O'Nolan 2020-07-06 23:09:24 +07:00 committed by GitHub
parent 8956a9df35
commit 70f16f3d97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 585 additions and 24 deletions

File diff suppressed because one or more lines are too long

View file

@ -220,10 +220,10 @@ describe('Default Frontend routing', function () {
should.not.exist(res.headers['set-cookie']);
should.exist(res.headers.date);
$('title').text().should.equal('Welcome to Ghost');
$('.post-title').text().should.equal('Welcome to Ghost');
$('.content .post').length.should.equal(1);
$('.poweredby').text().should.equal('Proudly published with Ghost');
$('.powered').text().should.equal(' Published with Ghost');
$('body.amp-template').length.should.equal(1);
$('article.post').length.should.equal(1);