Commit Graph

138 Commits

Author SHA1 Message Date
John O'Nolan
b5d0589222 And so the lord said unto Moses, let us obliterate this CSS 2021-03-04 08:05:28 -05:00
Naz
e95293cc22 Updated deprecated @site.lang to @site.locale
refs https://github.com/TryGhost/Team/issues/509
refs b0f80be408

- @site.lang property is being deprecated with Ghsot 4.0 and @site.locale is advised to be used instead
2021-03-04 19:48:58 +13:00
John O'Nolan
6c7cf02111 Style refresh 2021-03-02 21:48:32 -05:00
John O'Nolan
c680f4efcd Style refresh 2021-03-01 20:34:12 -05:00
Naz
b59893091c Removed conditions which used @labs.members helper
refs https://github.com/TryGhost/Team/issues/332
refs 870a09b109

- The {{@labs.members}} always evaluates to "true" starting with Ghost 4.0 and will be "null" coercing to "false" starting Ghost 5.0
- Enabled all conditionals be default to pass the build in main Ghost repository. These changes should be reviewed - special attentio to the left out RSS feed which was surrounded with {{unless @labs.members}} condition
2021-03-01 19:44:07 +13:00
John O'Nolan
5fd447b815 Style refresh 2021-02-28 20:10:09 -05:00
Sodbileg Gansukh
306f7b2d9b Accent color usage and subscribe form design update 2021-02-18 11:32:40 +08:00
Aileen Nowak
adfb47009e Updated links to ghost.org sites
no issue

Follow-up task of the updated Ghost Docs structure. Updated links reflecting the new structure to prevent unnecessary 404s and redirects
2021-01-19 13:30:21 +13:00
cacbd0b01b feat: localization 2020-12-04 04:45:04 +03:00
Sodbileg Gansukh
493da38cff Update jQuery version to 3.5.1 2020-11-24 12:01:31 +08:00
Sodbileg Gansukh
0052c2ddc3 Added subscribe failure notification
Fixes #738
2020-10-08 10:22:49 +08:00
Sodbileg Gansukh
6350790798 Fix close button in the subscribe success message 2020-09-10 12:28:44 +08:00
Peter Zimon
9e29e145fc 🐛 Subscribe overlay fixes
refs. https://github.com/TryGhost/Casper/issues/630

- added a dedicated close button element for the subscribe overlay which sits on top of all elements to ensure the modal is always closable
- fixed alignment and spacing of "Subscribe" button for mobile sizes
2020-03-04 11:26:27 +01:00
Fabien O'Carroll
b51dd8ce22
V3 (#626)
* Changed {{code}} to {{statusCode}}

refs 2ebd9feeee

- {{code}} use has been deprecated in canary rule set of gscan

* V3 Update

* Update package and readme for 3.0

* Improve install instructions

* Update to support browserlist

* Upgrade dependencies

* Fix misnamed property

* V3 darkmode (#619)

Added dark mode styles

* Casper final  refinements batch 1

* Casper final  refinements batch 2

* Fixed bookmark card hover bug

* Fixed header social links

* Updated screenshots

* Updated readme

no issue

- refreshed screenshot

* Udpate screenshot in readme

no issue

* 3.0.0-beta.2

* Fixed cut header for post cards

no issue

* 3.0.0-beta.3

* 3.0.0-beta.4

* Updated current version and previous version logic (#554)

no issue

- Use current version from `package.json` instead of `npm_package_version` env variable
- Use `release.tag_name` instead of `release.name` for previous version

* Updated jQuery to 3.4.1 to avoid known vulnerabilities (#590)

no issue

https://snyk.io/vuln/npm:jquery?lh=3.2.1&utm_source=lighthouse&utm_medium=ref&utm_campaign=audit

* Fixed code cards with long lines from being too wide

no issue

Credits - https://github.com/TryGhost/Casper/pull/602

* Bumped gscan version to v3.0.0 (#621)

* Bumped gscan to v3.0.0

- This also fixes failing CI builds because the default rules that are being checked were for v2

* Added explicit version check for gscan command

* Added member subscription support (#623)

* Added member subscription support

no issue

* Added member subscription success message

no issue

* Added member subscription overlay

* Refined members subscription overlay

* Deleted unused website icon

* Ran CSSComb

* Updated built assets

* 3.0.0-beta.5

* Updated built assets for v3

no issue

* 3.0.0-beta.6

* Remove unused partial

* V3 cleanup (#625)

* Removed unused infinity icon

* Removed unused location icon

* Removed unused 'point' icon

* Removed unused Ghost logo icon

* Removed unused author partials

* Cleaned up index log

* Fixed responsive feature image sizes for page template
2019-10-21 12:43:34 +07:00
Kevin Ansfield
978ffe0eb6
Concatenated all JS into a single file (#624)
no issue

- moved large inline JS from templates into separate JS files
  - floating header
  - gallery card support
- use `gulp-concat` to concatenate all JS files into a single `built/casper.js` file
- reduces external JS file requests from 3 (jquery, infinite-scroll.js, jquery.fitvids.js) down to 2 (jquery, casper.js) and reduces page size by removing repeated inline code
2019-10-20 15:55:06 +02:00
Tiago Rodrigues
e5e62f1eed Updated jQuery to 3.4.1 to avoid known vulnerabilities (#590)
no issue

https://snyk.io/vuln/npm:jquery?lh=3.2.1&utm_source=lighthouse&utm_medium=ref&utm_campaign=audit
2019-10-20 12:09:36 +05:30
John O'Nolan
f5bba69235
Remove unused conditional
Closes #593
2019-08-21 13:53:47 +08:00
Nazar Gargol
4464d5809b Fixed deprecated {{lang}} helper usage
no issue

- {{lang}} helper was deprecated in favor of {{@site.lang}} with 73e008270d
2019-04-02 12:39:00 +08:00
Nazar Gargol
b2322157d5 Migrated from @blog -> @site
no issue

- This rename is due to new {{@site}} alias introduced in Ghost (dd1cf5ffc7) as {{@blog}} variable is deprecated now, and will be removed in v3
2019-01-08 17:37:14 +00:00
汪磊
3c2347c7f9 🎨 Optimised infinite scroll (#503)
no issue
- removed jQuery usage
- use the `<link rel="next">` tag provided by Ghost to determine the next page to fetch
2018-12-05 12:38:11 +00:00
Aileen Nowak
d53b25bf5d
Remove double slash in link
no issue
2018-10-12 12:56:54 +07:00
Aileen Nowak
bef56a2294 Minified js (#485)
no issue

- Added a `js` task to run on the gulp build process and minifies our js files
- Changed the required scripts in `default.hbs` to use the minified js files in `/built/`
- Moved existing `js` tasks from `zip` task
2018-10-12 12:41:06 +07:00
Kevin Ansfield
7a88c88ea2 Added Koenig gallery card support (#475)
no issue

- Update CSS and JS for new gallery card
- Updates CSS to support new gallery card
- Adds JS to support grid layout for gallery view
- Fix gallery breakout size
- Refining styles for gallery card
2018-08-30 17:44:55 +01:00
Aileen Nowak
d5002f2c51 🐛 Fixed infinitescroll when a paged url is loaded directly (#447)
closes #445
- added an fn to sanitize the pathname, that might include a pagination url
- fixed an issue, where the request would still be made if the current page is bigger than max pages
- added comments
2018-04-10 10:04:43 +01:00
Santhosh veer
57c31ddacb Add HTML lang head tag (#429)
Refs #286
2018-04-06 20:49:42 +02:00
Kevin Ansfield
7592ad182b 🔒 Added rel="noopener" to all target="_blank" links (#398)
closes #394
- closes potential phishing avenues by preventing external sites from changing the blogs url in the background after opening
- see https://mathiasbynens.github.io/rel-noopener/ for more info
2017-10-03 16:42:08 +07:00
Chaotic Law
25f12d760b Fix typo in default.hbs (#393) 2017-09-29 08:23:39 -04:00
汪磊
d3a9af0666 Remove infinitescroll in single page (#319)
* Remove infinitescroll in single page

* Update infinitescroll.js
2017-06-27 18:03:51 +07: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
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
535ead65e7 DOCS 2017-06-16 10:44:06 +01:00
John O'Nolan
67f27e2add New subscribe overlay 2017-06-15 15:03:19 +01:00
John O'Nolan
655c35b53c New error template and author template 2017-06-13 13:48:06 +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
eda0ec4db2 First pass 2.0 design 2017-05-15 21:03:47 +01:00
Humeira
805925528c move font above css include (#279) 2017-02-24 12:23:02 +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
John O'Nolan
09b4830398 Add new subscribers form + visual fixes
- New opt-in form for subscribers features
- Bumped version to 1.3.0
- Resolved author image alignment, closes #238
2016-05-08 10:50:20 +02:00
Fong-Wan Chau
fd7967cb2f Update JQuery to v1.12.0 on 'default.hbs'
Changelog: https://blog.jquery.com/2016/01/08/jquery-2-2-and-1-12-released/
2016-01-22 12:44:49 -04:00
Hannah Wolfe
6f46594d36 Move jQuery before {{ghost_foot}}
- Including jQuery before `{{ghost_foot}}` means jQuery can be used inside ghost_foot code injection
- It should also improve backwards compat, as without this jQuery code included via ghost_foot may break
2015-10-19 09:28:22 +01:00
Hannah Wolfe
dfd94ece96 Add jQuery, as this is being removed from Ghost
refs TryGhost/Ghost#5298
2015-08-24 19:58:03 +01:00
John O'Nolan
243192f0d9 Updating nav styles 2015-02-28 14:34:58 +02:00
Paul Adam Davis
46dc55769e Navigation 2015-02-27 19:33:27 +00:00
Razzi Abuissa
56c766303f Fix indentation 2015-01-04 19:57:11 -06:00
John O'Nolan
75c81be9c3 Typography overhaul 2014-09-25 16:41:04 +03:00
Jake Giltsoff
c7554d995b Swap Noto Serif to PT Serif 2014-08-17 16:01:47 +01:00
John O'Nolan
3db098c1e0 Revert "Sticky footer"
This reverts commit 3242e72cfc.
2014-07-20 17:28:49 +02:00
John O'Nolan
3242e72cfc Sticky footer 2014-07-20 17:27:20 +02:00
John O'Nolan
448082bd48 New navigation structure to make way for MU changes 2014-07-20 16:43:44 +02:00
John O'Nolan
48bf106f25 Remove specific resolution optimisation 2014-02-03 23:21:26 +07:00
John O'Nolan
55784b4348 Corrected link 2014-02-02 16:39:22 +01:00
Hannah Wolfe
9a261d1e93 Adding explicit favicon link 2014-01-12 21:52:21 +00:00
Michael Bradshaw
0e1329f51f Respect the blog URL (and subdirectory) in footer 2014-01-07 12:31:32 -07:00
Jitendra Vyas
97e23d1238 replaced to html5 charset tag
http-equiv="Content-Type" content="text/html" is invalid in HTML5.
2013-12-28 15:15:07 +00:00
Jitendra Vyas
5b1e9c590f removed chrome frame option from meta tag
Google has discontinue the Chrome frame project so I suggest to remove it. Event HTML5 boilerplate has removed it 8fc26501f4
2013-12-28 16:25:38 +05:30
Fabian Becker
b5819fd970 Use asset helper to generate paths.
fixes #54
2013-11-28 13:43:06 +00:00
John O'Nolan
94f98f0d58 Replace Droid with Noto
Fixes #30 #46
2013-10-31 19:34:00 +01:00
John O'Nolan
4616c5bd1d Responsive videos by default u guyz 2013-10-31 18:35:57 +01:00
John O'Nolan
a930d49bc3 Enhanced copyright date to be dynamic
Closes #41
2013-10-18 19:52:29 +02:00
Kevin C
58efcd6777 Fixed invalid meta tag. charset should be declared in the content attribute. 2013-10-18 10:08:42 -05:00
John O'Nolan
6096654136 Updating ghost link 2013-10-06 17:49:48 +02:00
John O'Nolan
436f94e9a9 Moving webfonts from http:// to //
https://en.ghost.org/forum/bugs-suggestions/475-suggestion-remove-system-dependence-on-google-web-fonts
2013-10-04 09:52:54 +02:00
cobbspur
ff9f091cd3 Adds {{meta_title}} and {{meta_description}} to casper theme
- uses meta_title and meta_description helpers rather than @blog.title
2013-09-17 23:13:49 +01:00
Hannah Wolfe
30dce03e86 Assets need slashes 2013-09-15 17:50:23 +01:00
Seth Lilly
51634b8059 Added self-closing tags to header
Added self-closing tags to header

Reverses commit 13e9620

- Self-closed tags in the header per Ghost code spec
2013-09-04 15:45:35 -04:00
Seth Lilly
13e9620d0f Removed closing slash in description meta tag
Removed closing slash in description `<meta>` tag

- Self-closing tag removed as it is unnecessary in HTML5.
2013-09-04 15:33:32 -04:00
John O'Nolan
f1f2b54c07 Added RSS 2013-09-04 18:04:33 +02:00
Hannah Wolfe
618eba0e2f Theme helper blitz
- date no longer requires published_at
- author.name now works.. so using for consistency
- url has absolute flag
- other misc fixes
2013-09-02 22:59:53 +01:00
Hannah Wolfe
dc89697827 Changing settings to use the new @blog global 2013-09-02 22:59:53 +01:00
John O'Nolan
0e30340610 Tweaking comments in default template 2013-09-02 22:59:52 +01:00
John O'Nolan
03d79be55e New global footer 2013-09-02 22:59:52 +01:00
John O'Nolan
b4aba43c97 Fixing relative URL bugs 2013-09-02 22:59:52 +01:00
John O'Nolan
d93a50d48b New Stylez
* New pagination styles
* Refactored footer to global footer
* Introduced new RSS subscription tooltip
2013-09-02 22:59:52 +01:00
John O'Nolan
49e774889c Full refactor 2013-09-02 22:59:52 +01:00
John O'Nolan
5234629a60 Rework header/typography/icons 2013-09-02 22:59:52 +01:00
John O'Nolan
b5021db970 The new header
* Experimental new Ghost watermark
* Ghost icon navigational styles
* Enhanced responsive styles
2013-09-02 22:59:51 +01:00
John O'Nolan
85b74ea393 Next pass on Casper refactor
* New Helpers
* Updated Helpers
* New reponsive header styles
* New global blog icon
* Responsive styles adjustments
2013-09-02 22:59:51 +01:00
John O'Nolan
2b847c0530 Massive overhaul / update.
Introducing
* New helpers
* New header image
* Responsive / mobile styles
* Mobile device metatags and optimisations
* Initial blog icon support
* Restyled homepage feed
2013-09-02 22:59:51 +01:00
John O'Nolan
d6fec8d50f First pass at new Casper homepage 2013-09-02 22:59:50 +01:00
John O'Nolan
e4ce16b517 First pass at refactoring styles 2013-09-02 22:59:23 +01:00
John O'Nolan
61a960d03f Cleaning 2013-09-02 22:59:23 +01:00
ErisDS
cebd42fc51 Removing accidental commit 2013-08-07 12:06:16 +01:00
Hannah Wolfe
0c94300d4a Casper now displays logo if one is uploaded 2013-08-06 22:17:58 +01:00
cobbspur
470f868be1 changes to globals in casper
- changed ghostGlobals in default.hbs to settings in lieu of future changes from hannah
2013-06-16 19:24:57 +01:00
cobbspur
d9d72dbb37 casper issue #3
- deleted JON logo
- deleted post footer
2013-06-14 19:19:45 +01:00
Hannah Wolfe
162b362e4b Casper - initial commit to separate GitHub repo 2013-05-11 11:16:11 +01:00