Commit Graph

684 Commits

Author SHA1 Message Date
Kevin Ansfield
307c334cd5
🐛 Fixed images on infinite scroll index pages being stretched in Safari (#636)
closes #634, closes #635

- use `document.importNode` to create a clone of post card elements when pulling them in from infinite scroll pages
- cloning the element means the element's owner document matches the viewed document and ensures images in the inserted post card elements are sized according to the viewed document
2019-10-24 17:15:34 +01:00
Fabien O'Carroll
17ba4add5c 3.0.0 2019-10-21 22:41:48 +07:00
Hannah Wolfe
e37e444e9a
Update deploy-theme.yml
- bump action version
- add a custom theme name
2019-10-21 12:49:04 +01:00
Fabien O'Carroll
57cee0c680 3.0.0-beta.8 2019-10-21 18:34:45 +07:00
Kevin Ansfield
ff51925567
Fixed sticky title and author hover JS (#629)
no issue

- replaces author hover JS that was lost during merge
- replaces `floating-header.js` with `sticky-nav-title.js` containing the relevant JS that was lost during merge with a cleanup for unused variables and unnecessary event listeners
- removes reference to non-existent `{{> floating-header}}` partial
2019-10-21 10:02:05 +01:00
Kevin Ansfield
3e910e954e
Updated built CSS (#627)
no issue

- ran `gulp` to rebuild the CSS after the v3 merge
2019-10-21 09:53:28 +01:00
Kevin Ansfield
50437fd72e
Fixed duplicate browserslist config (#628)
no issue

- removes duplicate `browserslist` key from `package.json`
2019-10-21 09:52:45 +01:00
Fabien O'Carroll
1915a91c5b 3.0.0-beta.7 2019-10-21 13:05:33 +07: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
7ad20d1325 Fixed deprecated autoprefixer config warning when running build tasks
no issue

Passing browser options directly into `autoprefixer()` has been deprecated in favour of general browserslist configuration in `package.json` or a `.browserslistrc` config file

- moved autoprefixer browsers list into `browserslist` config in `package.json`
- updated `autoprefixer` version
2019-10-20 16:05:37 +02: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
renovate[bot]
53ad2d8096 Updated Build Tools (#571) 2019-10-20 13:47:06 +05:30
renovate[bot]
f7e4cabc58 Update dependency postcss-custom-properties to v9 (#592) 2019-10-20 13:41:11 +05:30
Naz Gargol
392626f3b2 Bumped Gscan and made rule check explicit to v2 set (#622)
* Bumped gscan to v3.0.0

* Added explicit v2 version check for gscan command
2019-10-20 12:21:27 +05:30
Rish
8bb4508ff2 Fixed code cards with long lines from being too wide
no issue

Credit to https://github.com/mvasilkov for the fix -  https://github.com/TryGhost/Casper/pull/602
2019-10-20 12:14:21 +05:30
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
Rishabh Garg
2eaeba8ba8
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
2019-10-20 12:05:13 +05:30
Hannah Wolfe
728392e51e
Automatically deploy theme on master only
- switch from all branches to master only
2019-10-18 17:14:36 +01:00
Hannah Wolfe
7161dca4ca Added deploy ghost theme github action
- see https://github.com/marketplace/actions/deploy-ghost-theme
- use the new deploy theme github action to automatically deploy master to a test site
2019-10-18 14:20:28 +01:00
Kevin Ansfield
215d837848 2.11.2 2019-10-07 23:11:17 +01:00
Renovate Bot
d2ec8d1c31
Update dependency gulp-livereload to v4.0.2 2019-10-01 01:30:15 +00:00
Renovate Bot
4a4f66a710 Update dependency gscan to v2.9.0 2019-10-01 01:29:48 +00:00
Kevin Ansfield
8729af090f 2.11.1 2019-08-27 19:44:35 +01:00
Peter Zimon
c40627256a Added max length for bookmark card publisher field (#608)
no issue

- fixed style for bookmark cards with too long publisher field
2019-08-27 19:29:48 +01:00
Rish
32d3538f6b 2.11.0 2019-08-27 21:01:30 +05:30
Rishabh Garg
f5b2a2f209
Added bookmark card CSS (#607)
refs 9bfd340885 and c2aa62083c

Adds css for styling new bookmark card which generates following html -
  ```html
  <figure class="kg-card kg-bookmark-card">
    <a href="[URL]" class="kg-bookmark-container">
      <div class="kg-bookmark-content">
        <div class="kg-bookmark-title">[TITLE]</div>
        <div class="kg-bookmark-description">[DESCRIPTION]</div>
        <div class="kg-bookmark-metadata">
          <img src="[ICON]" class="kg-bookmark-icon">
          <span class="kg-bookmark-author">[AUTHOR]</span>
          <span class="kg-bookmark-publisher">[PUBLISHER]</span>
        </div>
      </div>
      <div class="kg-bookmark-thumbnail">
        <img src="[THUMBNAIL]">
      </div>
    </a>
  </figure>
  ```
2019-08-27 20:56:42 +05:30
Rish
29426e1483 2.10.7 2019-08-22 07:31:34 +05:30
John O'Nolan
f5bba69235
Remove unused conditional
Closes #593
2019-08-21 13:53:47 +08:00
Pedro Almeida
788ee59fd4 Improve gulp globbing (#598) 2019-08-21 13:51:43 +08:00
Fabien O'Carroll
a6ce913546 2.10.6 2019-08-06 17:34:38 +08:00
Renovate Bot
8ad3b82f58 Update dependency gscan to v2.7.0 2019-08-01 03:27:54 +00:00
Renovate Bot
c66d64dd79
Update CSS preprocessors 2019-08-01 00:48:07 +00:00
Rish
095d7f85c6 2.10.5 2019-07-30 20:24:26 +05:30
David Darnes
812b9ba657
Merge pull request #599 from mvasilkov/pre-selection-color-patch
Better contrast for selected text inside `pre code` blocks
2019-07-30 12:26:16 +01:00
Mark Vasilkov
56d1ff2337 Better contrast for selected text inside pre code blocks 2019-07-30 14:08:45 +03:00
Aileen Nowak
dc74e24d0c 🔗 Updated docs link to be version-less 2019-07-25 14:56:04 +08:00
Kevin Ansfield
e4e97aefa9 2.10.4 2019-07-23 12:01:47 +01:00
Aileen Nowak
df7c2321c6 Updated links to docs site 2019-07-22 18:25:22 +08:00
Fabien O'Carroll
6886798b60 2.10.3 2019-07-01 13:31:22 +07:00
Renovate Bot
42c26629bf Update dependency autoprefixer to v9.6.0 2019-07-01 03:31:32 +00:00
Renovate Bot
89a12765be
Update dependency gscan to v2.6.2 2019-07-01 00:31:51 +00:00
Nazar Gargol
fa54c4713f 2.10.2 2019-06-04 13:01:40 +02:00
Renovate Bot
0494b48ad0
Update dependency gulp to v4.0.2 2019-06-01 01:29:25 +00:00
Renovate Bot
e6cb772b2d Update dependency gscan to v2.6.0 2019-06-01 01:28:55 +00:00
Fabien O'Carroll
2dad5af417 2.10.1 2019-05-14 11:16:04 +02:00
Nazar Gargol
43b8f3d11a Substituted deprecated {{each}} helper with recommended {{foreach}}
refs https://github.com/TryGhost/gscan/issues/123

- As documentation says (https://docs.ghost.org/api/handlebars-themes/helpers/foreach/)  {{foreach}} should always be used instead of native {{each}} helper
- Deprecation warning was implemented in gscan and  will prompt when uploading the theme
2019-05-07 15:37:14 +02:00
Nazar Gargol
21d097d530 2.10.0 2019-05-07 12:37:29 +02:00
Kevin Ansfield
ec296edfa0
Added support for code cards with captions (#575)
refs https://github.com/TryGhost/Ghost/pull/10719

- adds styling for `.kg-code-card` so that code blocks are styled the same no matter if they are top-level or inside of a `<figure>` element
2019-05-01 17:12:18 +02:00
renovate[bot]
ff43de1c63 Lock file maintenance (#572) 2019-05-01 10:38:23 +02:00
Kevin Ansfield
0b17a6ac06
Re-build CSS using latest dependencies (#573)
no issue

- CSS preprocessor dependencies have been updated, this re-builds the CSS to match the latest processed output
  - the primary change is the addition of the `::-moz-selection` vendor prefix
2019-05-01 10:28:34 +02:00