Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cg sync for ghost 4.0 #1

Open
wants to merge 65 commits into
base: main
Choose a base branch
from
Open

Conversation

SiegfredRodriguez
Copy link
Owner

No description provided.

minimaluminium and others added 30 commits February 18, 2021 11:32
refs https://github.com/TryGhost/Team/issues/221
TryGhost/Ghost@26e20d2

- The default engine for Casper shipping with Ghost v4 has to match up.
This way it uses all the correct APIs
Dark mode is disabled by default, but can be enabled by adding a class dark-mode to html element.
refs https://github.com/TryGhost/Team/issues/332
refs TryGhost/gscan@870a09b

- 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
no issue

- we previously needed a config.json to provide the GitHub token for
  publishing new Casper releases
- this commit removes the need for this file by pulling the token from
  the environment variable, which everyone in the Core team has set up
no issue

- the renovate.json file was removed to clean up the repository files,
  but we still want Renovate to update dependencies
- Renovate allows us to configure the config in the package.json, so
  this commit moves the previous contents there
no issue 

- the check needs to be inverted to ensure we're being passed a token
refs https://github.com/TryGhost/Team/issues/509
refs TryGhost/gscan@b0f80be

- @site.lang property is being deprecated with Ghsot 4.0 and @site.locale is advised to be used instead
no issue

- not important, but it saves manually entering it during the release
  process
- Casper is only compatible with Ghost 4.0 moving forwards
no issue

- these weren't rebuilt when changing the code
JohnONolan and others added 30 commits March 8, 2021 11:30
no issue

- Casper is now ready for 4.0 so this commit merges the branch in to try
  and keep the Git history as clean as possible
no issue

- as of 4.0, we're shipping tags with the preceding `v`, but this script
  ignored that and so the release was incorrect
- this commit updates the tagName to have the preceding `v`
…#763)

The tag archive header shares the same classes as post cards, but have different elements.

This changes the selector to target article.post-card, which ignores header.post-card
Highly specific styles for traditional Instagram embeds

Co-authored-by: John O'Nolan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants