Commit Graph

491 Commits

Author SHA1 Message Date
David Wolfe
551aeb3ca5 Merge pull request #326 from AileenCGN/1.0.0-dev/delete-unused-share-partial
🔥  Delete unused partial `share.hbs`
2017-07-11 09:01:16 +01:00
Aileen Nowak
8690450eae 🎣 Infinite scroll: no API request on last page
no issue

Brings back a little safety guard: when the current page is also the last page, don't make an API request to the server.
2017-07-11 12:32:58 +07:00
Aileen Nowak
2fdfc5285d 🔥 Delete unused partial share.hbs
no issue

Partial is not used in Casper!
2017-07-11 09:49:53 +07:00
Kevin Ansfield
0f9410fb3d 💄 refactor infinite scroll (#325)
closes #321, closes #323
- use `requestAnimationFrame` and related techniques to minimise scroll processing
- add an `isLoading` guard to ensure we don't try to process anything until the next page has been loaded+inserted
- check for a 404 as an indication we've loaded as many pages as possible at which point the scroll behaviour is removed
- sanitize `window.location.pathname` to remove hash params and any double-slashes that may result
- add a 100px buffer from the bottom of the screen so that it's not necessary to exactly hit the bottom before infinite loading is triggered
2017-07-10 19:53:42 +07:00
汪磊
d3a9af0666 Remove infinitescroll in single page (#319)
* Remove infinitescroll in single page

* Update infinitescroll.js
2017-06-27 18:03:51 +07:00
John O'Nolan
96ffcdceed 😒😒😒😒😒😒😒😒 2017-06-27 11:30:11 +02:00
John O'Nolan
aa80667232 Fix small images in content + minor typography improvements
Closes #320
2017-06-27 11:28:36 +02:00
Aileen Nowak
0914d43a86 💄 Infinite scroll (#316)
* 💄  Infinite scroll

closes #314

Adds infinite scroll logic to Casper 2.0

* use jquery min and not slim
2017-06-21 13:10:09 +01:00
Aileen Nowak
d6d9711b9d ⛓ Fix broken tag link on post.hbs (#315)
no issue

Top link for tag was missing a `/`.
2017-06-20 08:55:16 +01:00
John O'Nolan
2ca409032a Full responsive table styles
- This took 5 hours
- FUUUUUU
2017-06-19 23:03:56 +01:00
John O'Nolan
902b6dcdbc Clean up trailing slashes
See https://github.com/TryGhost/Ghost/issues/8569
2017-06-19 14:54:03 +01:00
John O'Nolan
6f441794e4 Fix readme typo 2017-06-19 14:38:07 +01:00
Kevin Ansfield
c97defd40a Refactor post.hbs JS 2017-06-19 00:11:32 +01:00
John O'Nolan
397a096949 Rejig asset compilation destination
Avoid using "public" because it's a reserved word by the asset helper
2017-06-16 13:23:03 +01:00
John O'Nolan
4b6905f175 Mobile support 📱 2017-06-16 13:16:22 +01:00
John O'Nolan
535ead65e7 DOCS 2017-06-16 10:44:06 +01:00
John O'Nolan
b7a788f973 Clean up build tasks 2017-06-16 10:13:38 +01:00
John O'Nolan
1214676bd5 CSS Comb 💇🏻 2017-06-16 09:44:12 +01:00
John O'Nolan
0791b0fdb7 Organise CSS 2017-06-16 09:17:11 +01:00
John O'Nolan
67f27e2add New subscribe overlay 2017-06-15 15:03:19 +01:00
John O'Nolan
9f7c0e30e2 Scroll progress bar 2017-06-14 12:16:16 +01:00
John O'Nolan
eb84edae6d Fix all the fucking bugs that I created yesterday 2017-06-14 10:41:30 +01:00
John O'Nolan
834d14b204 Allow linebreaks in bio 2017-06-14 10:29:17 +01:00
John O'Nolan
19a8b85aac Minor cleanup 2017-06-13 19:07:26 +01:00
John O'Nolan
eeb8b248ca Refactor site navigation 2017-06-13 19:02:22 +01:00
John O'Nolan
7f4d581caf Restyle read-next card 2017-06-13 18:51:08 +01:00
John O'Nolan
655c35b53c New error template and author template 2017-06-13 13:48:06 +01:00
John O'Nolan
55f35da8e9 Whatever pass I lost count 2017-06-12 10:01:00 +01:00
John O'Nolan
d55446f2ca Next pass 2.0 2017-06-08 09:19:22 +02:00
John O'Nolan
938eaaf7a6 Third pass 2.0 2017-06-05 12:19:29 +01:00
John O'Nolan
bc9e5a0b2e Second pass 2.0 2017-05-31 19:09:50 +01:00
John O'Nolan
ad9cb81a06 Many tweaks 2017-05-16 10:26:08 +01:00
John O'Nolan
eda0ec4db2 First pass 2.0 design 2017-05-15 21:03:47 +01:00
kirrg001
26a25208e1 Upgrading Casper to 1.3.6 2017-03-01 13:47:57 +01:00
Humeira
805925528c move font above css include (#279) 2017-02-24 12:23:02 +07:00
John O'Nolan
68e48cfb04 Remove role attributes intended for tabbed navigation
Closes #285
2017-02-23 13:25:47 +07:00
kirrg001
c578765491 Upgrading Casper to 1.3.5 2017-01-12 12:41:55 +01:00
John O'Nolan
ba5d559d8c 2017 2017-01-04 10:53:34 +00:00
Hannah Wolfe
b06c57f1e1 Upgrading Casper to 1.3.4 2016-10-24 16:51:12 +01:00
Hannah Wolfe
99ff118174 Merge pull request #274 from eibt/patch-1
Use protocol-relative URL for jQuery script
2016-10-24 14:35:22 +01:00
Jeroen
054cd87653 No margin-bottom for last p inside li tags (#262)
Fixes #241.
2016-10-24 20:17:30 +07:00
Matthias
5060c945e6 Fixed page title and description being visible before fading in (#268) 2016-10-24 20:15:01 +07:00
Aileen Nowak
d07d6dee09 🐛 Fix .post-title (#273)
no issue

fixes the post-title font-size again, as it didn't work with two body:notstatements.
2016-10-24 20:11:49 +07:00
Mr. Ivan
0d8228ff05 Use protocol-relative URL for jQuery script
Use protocol-relative URL in the script element that includes jQuery to improve availability and consistency as it's being used for Google Fonts too.
2016-10-13 17:03:11 -06:00
Hannah Wolfe
27270d3de3 Upgrading Casper to 1.3.3 2016-10-07 16:08:38 +01:00
Hannah Wolfe
09476487f0 🐛 Fixing package.json engines & repo URL
no issue

- semver caret ranges don't apply pre-1.0.0, therefore we need to use a more explicit range
- repo URL should be a valid url
2016-10-07 16:05:10 +01:00
Hannah Wolfe
d2d796241b 🎨 Removing homepage from package.json
no issue

- this is not going to be a required field, and for Casper is the same as the repo
2016-10-07 15:56:54 +01:00
Aileen Nowak
c1b77b74cb Remove old body classes (#272)
refs TryGhost/Ghost#2597

Make Casper work without old body classes `.archive-template`, `.page` and use `.page-template` *only* for pages, as `.post-template` will not be available for pages anymore.
2016-10-07 14:02:00 +02:00
Hannah Wolfe
95cec988f5 Upgrading Casper to 1.3.2 2016-09-27 16:48:51 +01:00
Hannah Wolfe
12e897d374 📚 Expand package.json ready for gpm
no issue

- Our new marketplace (gpm) will make heavy use of package.json files
- Full details, spec, and validator are coming soon. In the meantime here's the basics:
   - `name` must be lowercase and hypenated
   - `version` must be semver compliant
   - `homepage` should be a valid URL (GitHub URL is ok)
   - `demo` should be a working Ghost install that uses your theme
   - `engines` should contain a Ghost key indicating which version of Ghost the theme is compatible with
   - `license` is required, we recommend `MIT`
   - `screenshots` should provide a relative path or absolute URL to both `desktop` & `mobile` screenshots
   - `author` should be an object. It must contain an email, and can also include a name and url.
   - the `gpm` object should:
	- indicate the package type (`theme` for now, later `app` or `adapter` etc)
   	- list out at most 2 marketplace categories for inclusion. Categories can be found in https://gist.github.com/ErisDS/d0674f57eaa087c9f92cbfc8e984d2d6 but are subject to change.
   - other fields can be included as per a normal npm package, we recommend including the repostory & keywords with `ghost` & `theme` listed.
2016-09-27 16:43:44 +01:00