-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Split css server templates #8234
Conversation
@@ -15,7 +15,7 @@ | |||
<link rel="shortcut icon" href="{{asset "favicon.ico"}}"> | |||
<meta http-equiv="cleartype" content="on"> | |||
|
|||
<link rel="stylesheet" href="{{asset "ghost.css" ghost="true" minifyInProduction="true"}}" /> |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
7375dca
to
185d957
Compare
I added some logic to |
I don't think there was any need to add extra logic here. This is a shared file, so the path passed to the asset helper should be |
See Issue TryGhost#8126 Adds these files under /shared - normalizer.css - error.css - extracted.css (for subscribers.css and private.css) Also makes these files available as public static content
24619b8
to
ebc436a
Compare
closes TryGhost#8126 needs e3acd3c This is a replacement PR of TryGhost#8217 (thanks @TienSFU25 for the whole work 🤗), because these changes are needed urgently and blocking other work. Adds a new `ghost.css` file in `/core/shared/` to be used for server side template rendering (`error.hbs`, `subscribe.hbs` and `private.hbs`).
ebc436a
to
6dccfda
Compare
This is ready for review and merge 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This LTGM now 👍
closes #8126
needs e3acd3c
This is a replacement PR of #8217 (thanks @TienSFU25 for the work 🤗), because these changes are needed urgently and blocking other work.
Adds a new
ghost.css
file in/core/shared/
to be used for server side template rendering (error.hbs
,subscribe.hbs
andprivate.hbs
).