Giter Club home page Giter Club logo

vapor's Introduction

Ghost 2.0 Compatibility

Vapor 1.6 is compatible with Ghost 2.0. Thanks to jamesejr for making this happen!

Deprecation Notice

UPDATE 2018-08-22: Remember when I said 1.5 would be the last release in the 1.x series? Yeah, scratch that. Thanks to jamesejr for the PR featured in the 1.6 release to provide Vapor compatibility with Ghost 2.0.

UPDATE: Many thanks to pokono for the PR featured in the 1.5 release to bring Vapor up to compatibility with Ghost 1.0+. I’ve released that as the final release in the 1.x series. Moving forward, only 2.x releases will be maintained.

With the release of Ghost 1.0.0, Vapor 1.x is deprecated. Vapor 2.0.0 with full support for Ghost 1.0.0+ is coming, and as soon as I know when that will be, I'll update this repo with information. Thanks to everyone who has forked, contributed, and used Vapor! I'm looking forward to the next version.


Vapor

Minimal and responsive with a focus on typography, Vapor is a theme that embodies the core concept of Ghostβ€”it fades into the background, bringing the focus to your content.

Supports blog and user images; cover images, while supported in the Ghost admin, are not displayed in the theme due to theme's minimal nature and focus on typography.

Fonts embedded via Google Fonts, including Roboto Slab, Merriweather, and Open Sans Condensed.

The Ghost, Facebook, Twitter, and Google+ icons are trademarks of their respective owners and are from the Casper theme, copyright (c) 2013 Ghost Foundation and released under The MIT License.

Other icons provided by Font Awesome and released under SIL OFL 1.1.

What's New?

New in 1.5: Support for Ghost 1.x+.

New in 1.4: You may now use the {{> menu}} partial to display a custom menu on your pages. This is helpful for linking to certain posts or static pages. To activate this feature, simply remove the ! in {{!> menu}} in default.hbs. Also included are the {{> header-description}} and {{> footer-description}} partials for those using the menu. You can simply add the ! to {{> header-description}} in the header (now located in default.hbs for all posts and pages) to deactivate. Remove the ! from the {{!> footer-description}} partial call on the same page to activate display of the description in the footer. If you want to edit these partials (to add menu items or other content), you'll find them in the /partials directory. If you're using a self-hosted version of Ghost, you may need to restart or reload Ghost in order for the Handlebars partials to recompile after editing. There are also three new commenting options (Disqus, Facebook, and Google+) that follow the same conventions. You'll find these calls in post.hbs and page.hbs. I contend that Disqus is the best of these three options in terms of appearance and responsiveness; YMMV.

See the changelog for a full list of new features in 1.4.

New in 1.3: Blog logos and author images must be at least 100px in height and width, but do not need to be 1:1.

New in 1.2: A LESS file is included which contains variables allowing you to quickly change the theme's stylesheet. However, I've chosen to exclude less.js from the theme and I recommend using a desktop compiler like CodeKit to process your LESS file.

Releases

See the changelog for release details.

Version Release Date
1.6 2018-08-22
1.5 2018-04-23
1.4 2014-04-19
1.3 2014-01-12
1.2.1 2013-12-14
1.2 2013-11-10
1.1.2 2013-11-10
1.1.1 2013-10-30
1.1 2013-10-28
1.0 2013-10-18

Contributing and Forking

Vapor is open source and released under the MIT License, and contributions to the code base are welcome and encouraged. Find more information about contributing here.

Copyright & License

Copyright (c) 2013-2018 Seth Lilly - Released under The MIT License.

Are you using Vapor?

If you're using Vapor on a live site, I'd love if you'd send me a message with the URL. I enjoy seeing the customizations and implmentations taking place all over the world. Regardless, thanks for using Vapor!

Thanks

Thanks to everyone who has installed, starred, forked, contributed to, or otherwise promoted Vapor. This is a labor of love, and it belongs to all of us.

Thanks to @JohnONolan for suggesting this project.

And of course, thanks to @JohnONolan, @ErisDS, and the Ghost team for creating this amazing platform.

vapor's People

Contributors

asadsalman avatar frdmn avatar g3d avatar gpedro avatar jamesejr avatar jasonodoom avatar pokono avatar sethlilly avatar toonketels avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vapor's Issues

Doesn't Work with latest version of ghost

ERROR [2017-10-29 18:58:13] "POST /ghost/api/v0.1/themes/upload/" 422 276ms NAME: ThemeValidationError MESSAGE: Theme is not compatible or contains errors. level:normal [object Object] ERROR DETAILS: fatal: true level: error rule: Replace <code>{{pageUrl}}</code> with <code>{{page_url}}</code> details: The helper <code>{{pageUrl}}</code> was replaced with <code>{{page_url}}</code>.<br>Find more information about the <code>{{page_url}}</code> helper <a href="https://themes.ghost.org/docs/page_url" target=_blank>here</a>. failures: - ref: partials/pagination.hbs message: Please remove or replace {{pageUrl}} from this template code: GS001-DEPR-PURL ThemeValidationError: Theme is not compatible or contains errors. at ThemeValidationError.GhostError (/var/lib/ghost/versions/1.16.0/core/server/errors.js:9:26) at new ThemeValidationError (/var/lib/ghost/versions/1.16.0/core/server/errors.js:52:20) at resultHandler (/var/lib/ghost/versions/1.16.0/core/server/themes/validate.js:32:31) at tryCatcher (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/util.js:16:23) at Promise._settlePromiseFromHandler (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/promise.js:510:31) at Promise._settlePromise (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/promise.js:567:18) at Promise._settlePromise0 (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/promise.js:612:10) at Promise._settlePromises (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/promise.js:691:18) at Async._drainQueue (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/async.js:138:16) at Async._drainQueues (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/async.js:148:10) at Immediate.Async.drainQueues (/var/lib/ghost/versions/1.16.0/node_modules/gscan/node_modules/bluebird/js/release/async.js:17:14) at runCallback (timers.js:672:20) at tryOnImmediate (timers.js:645:5) at processImmediate [as _immediateCallback] (timers.js:617:5)

Upgrade to Ghost 0.5?

It seems Ghost 0.5 has been ready for production. Would you plan to upgrade Vapor to ghost 0.5? Or is it now already compatible with 0.5?
Thanks.

Style Missing for HTML Tables

When you type an HTML table into the ghost editor you see the table show up as a nice "zebra" table in the preview. However, once you make an actual post the style you see in the preview goes away and instead you see a narrow table that is unstyled. It would be nice if there was a Vapor specific styling consistent with the style in the preview pane.

Add screenshots to the readme

Hi, as a normal user who's actually comparing themes of the community is always nice to have screenshots of the final theme to help users decide if they want to use this theme

What do you think?

Upgrading to support 0.4 features

Just thought I'd drop in and post a link to theme developer guide to what changed in Ghost 0.4.

I'm trying to encourage as many theme devs as possible to upgrade to use the {{asset}} helper in particular. Without this change, your theme won't work when Ghost is installed in a subdirectory, and users may encounter caching problems.

Thanks πŸ‘

Comment options

Replace current Disqus implementation with a commented section or file with multiple comment options including Disqus, Google+, and maybe Facebook.

Vaport not Compatible with Ghost 0.4.2 Maintenance Release

It looks like my hosted blog (cjremus.ghost.io) at ghost.org was just updated to the 0.4.2 Maintenance Release and that new release may have broken the Vapor theme. Could it be that the Vapor theme's not compatible w/the 0.4.2 release? Nothing else that I'm aware of has changed on my installation. Please let me know if you need any additional info to troubleshoot, happy to help out where I can. Thanks..Chris

No static site support

It is a great theme, but doesn't show the links to the static pages anywhere.
Would be brilliant if that could be supported.

Active support?

With the last major revision of this repo being launched over a year ago, I have to ask if this is still an actively supported project, If it is, can we expect an update soon? I'm seeing deprecation notices when I test the theme on my local development version, asking that pageUrl be updated to page_url. Ghost stopped supporting this call syntax in version 0.6, and the production version of Ghost is now up to 0.7.

First steps

I think it might be silly πŸ˜…, but I think it would be nice to put the steps to start using it in the README, I think it can help more people use it.
If you think it's a good option I can try to make it the best I can

Change in display font

Is anyone else seeing a change in the font used to display the content? I checked my blog randomly this morning and found that the font-face had changed to what looks like Open Sans? Did something happen with the primary Merriweather font in the CSS?

h1,
h2,
h3,
h4,
p,
li,
dt,
dd {
  font-family: "Merriweather", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
}

Author link

It seems that when you click on the author name it takes you to a 404 page. I looked at the address and it has the email address of the blog as the destination page. Is there a variable that I am supposed to set for this?

Love the theme, thank you for your time.

Trouble verifying Disqus

I tried to add Disqus comments to posts today, following these instructions -

http://blog.christophvoigt.com/enable-comments-on-ghost-with-disqus/

When I went to add my Disqus "universal code" to the post.hbs file, I saw that the code was already in the post.hbs file. I compared the "universal code" provided by Disqus to the code in the post.hbs file and it looked like all I had to do was change the disqus_shortname variable, which I did.

Here's what it looks like -

image

I uploaded a new .zip file theme to my blog that includes the updated post.hbs file. However, Disqus is unable to verify the install and the comments aren't showing as a result.

Any help on what's wrong here would be appreciated, thanks!

Request

Is there anyway I can show view count of post?

Link associated with author name on post page

Great theme...just uploaded it yesterday and like it a lot!

ssp_temp_capture

Right now the link to the author name is a combination of -

  • path to the most recent post

and

  • the URL that I add in my Ghost user profile

http://cjremus.ghost.io/rolling-with-this-first-thing/cjrcycl.es

Any chance to make the link point to a user-defined page, i.e. twitter account, other contact or profile info? If not, how about just pointing it back to the blogs home page for now? Right now the above link is sending readers to a broken link.

Thanks!

Add Tapirius Support

When I first started with Vapor I enhanced it with Tapirius, which is a really cool search bar using .js. I'm thinking since Vapor has no native search capability, it might borrow from Tapirius, similar to plans to incorporate Prism.js for v1.5.

You can test it on my blog, the classic yuppie, and enter "Mavericks" in the search bar.

Missing package.json file

According to the local version of Ghost I have running for testing purposes, Vapor does not have a package.json file. According to the error, while not required now, it will be in the future, and I'd rather not have my Ghost blog borked by an omission. The exact warning message is:

Warning: Found a theme with no package.json file 
 Theme name: Vapor-master 
 This will be required in future. Please see http://docs.ghost.org/themes/

According to the developer documentation on Ghost.org, package.json will be required as of Ghost 0.6. I know it's a bit of a ways off from 0.6, but are there any plans to implement package.json prior to that Ghost release?

Suggestion

Hi,

Just a suggestion. Maybe you could include instructions, or a direct link to explaining how to install the theme in the readme.md.

Support for Ghost 2.0.0

Ghost 2.0 was released today (https://blog.ghost.org/2-0/) and Vapor 1.5 is no longer compatible. According to Gscan, here's what we need to fix:

Must Fix:

  • The {{#if author.*}} block helper should be replaced with {{#if primary_author.*}} or {{#if authors.[#].*}}
  • Replace the {{author.name}} helper with {{primary_author.name}} or {{authors.[#].name}}
  • Replace the {{author.bio}} helper with {{primary_author.bio}} or {{authors.[#].bio}}
  • Replace the {{author.website}} helper with {{primary_author.website}} or {{authors.[#].website}}
  • Replace the {{author.profile_image}} helper with {{primary_author.profile_image}} or {{authors.[#].profile_image}}
  • The .kg-width-wide CSS class is required to use your theme with 2.0
  • The .kg-width-full CSS class is required to use your theme with 2.0

Should Fix:

  • package.json property keywords should contain ghost-theme

I'm going to give this a shot sometime tonight or tomorrow when I get a chance, but figured I'd open an issue for it in case anyone wants to get ahead and submit a PR before I do.

Spacing of menu items is not correctly balanced

The white space between menu items is not equal. Instead the space between the last item and the second last is always less, whereas the other spaces are equal. It is independent of the number of menu items. I have used the most recent version of Vapor.

The error seems to be caused by the .last-child qualifier in the css. If I remove that, it looks a lot better.

Disorted author Image

If the image of the author is not in a square format, it will be disorted in the author block in the post view.

Possible (certainly not the best) solution:

Switch from an img tag to a div with an background-image:

posts.hbs line 45

<div class="userimage" style="background: url({{author.image}})"></div>

screen.css line 242

div.userimage {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-size: cover !important;
  background-position: center center !important;
  margin-right: 10px;
  float: left;
}

Thanks for the great work you've put so far into this project! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.