Skip to content

Commit

Permalink
Remote @blog usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lukencode committed Aug 8, 2020
1 parent 2ada41d commit 3aa916e
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/built/theme.css.map

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion assets/css/theme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,12 @@ form[data-members-form] .message-error {
display: none;
}

form[data-members-form].success .message-success {
display: block;
}

.member-form.success .message-success {
display: block !important;
display: block;
}

form[data-members-form].error .message-error {
Expand Down
4 changes: 2 additions & 2 deletions default.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
{{/if}}
</div>
<div class="col-md-4 my-4">
<div class="font-weight-bold pb-1">{{@blog.title}}</div>
<p class="mb-0 small">{{@blog.description}}</p>
<div class="font-weight-bold pb-1">{{@site.title}}</div>
<p class="mb-0 small">{{@site.description}}</p>
</div>
</div>
<div class="row">
Expand Down
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ function css(done) {
postcss(processors),
purgecss({
content: ['./**/*.hbs'],
whitelistPatterns: [/data-theme*/, /post-date*/, /gh-*/, /kg-*/, /pages-1*/, /member-form*/, /form\[data-members-form\]*/]
whitelistPatterns: [/data-theme*/, /post-date*/, /gh-*/, /kg-*/, /pages-1*/, /member-form*/, /message-success*/, /form\[data-members-form\]*/]
}),
dest('assets/built/', { sourcemaps: '.' }),
livereload()
Expand Down
6 changes: 3 additions & 3 deletions index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
{{else}}
<div class="site-heading-content col text-center text-lg-left mb-4 mb-lg-0">
{{/if}}
<h1 class="display-3 font-weight-bold">{{@blog.title}}</h1>
<p class="lead mb-0">{{@blog.description}}</p>
<h1 class="display-3 font-weight-bold">{{@site.title}}</h1>
<p class="lead mb-0">{{@site.description}}</p>

{{#if @labs.members}}
<div class="mt-4">
Expand All @@ -33,7 +33,7 @@

{{#if @site.logo}}
<div class="col-lg-6 order-lg-2 order-sm-1 order-xs-1 site-heading-image-container">
<img src="{{@site.logo}}" class="mx-auto d-block site-heading-image" alt="{{@blog.title}}">
<img src="{{@site.logo}}" class="mx-auto d-block site-heading-image" alt="{{@site.title}}">
</div>
{{/if}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ghostsolo",
"description": "A theme for solo ghost blogers",
"demo": "https://lukelowrey.com",
"version": "0.3.0",
"version": "0.3.1",
"engines": {
"ghost": ">=3.0.0",
"ghost-api": "v3"
Expand Down

0 comments on commit 3aa916e

Please sign in to comment.