Giter Club home page Giter Club logo

ghost-render's People

Contributors

joefatora avatar mixu 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

ghost-render's Issues

Missing helpers needed by Casper

I tried this project out following the README and got hit with:

/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/lib/theme.js:102
      if (err) { throw err; }
                 ^
Error: Missing helper: 'is'
    at Exception (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/exception.js:13:41)
    at Object.<anonymous> (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/base.js:66:13)
    at Object.eval (eval at createFunctionContext (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:171:23), <anonymous>:4:68)
    at ret (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/runtime.js:137:30)
    at ret (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/compiler/compiler.js:422:21)
    at Object.invokePartial (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/runtime.js:181:12)
    at Object.invokePartialWrapper [as invokePartial] (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/runtime.js:46:39)
    at Object.eval (eval at createFunctionContext (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/compiler/javascript-compiler.js:171:23), <anonymous>:7:17)
    at prog (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/runtime.js:168:15)
    at Object.<anonymous> (/home/tim/nvm/versions/node/v8.1.2/lib/node_modules/ghost-render/node_modules/handlebars/dist/cjs/handlebars/base.js:187:14)

My guess is the newest Casper theme uses some helpers that weren't there when you last tested this.

I tried to monkey-patch the code to add in the handlebars-helpers module, but I can't seem to get it hooked up.

Nothing happens when running ghost-render

I'm on Windows7. Install went ok. I created two folders in "ghost-render" folder called /blog and /webkid (for the template which is in there). Then I run this command from "ghost-render" folder -

g:\nodejs\node_modules\ghost-render>ghost-render --input ./blog/ --settings ./sett
ings.json --theme ./webkid --output ./tmp

g:\nodejs\node_modules\ghost-render>

Nothing is created and I get no errors on screen. How to troubleshoot?

Unexpected Token

I've followed the instructions for install ghost-render. But any time I attempt ghost-render --settings ./settings.json with any command I receive and Unexpected Token Syntax Error. I've double checked those settings and I've run them through a validator but can't seem to find the issue.

Max posts per page

How do I increase the limit of five posts per page on the site homepage? I couldn't find any docs regarding this doubt.

Next and Previous posts

It seems this project is far behind the official Ghost.

I'm trying to convert my blog, but the features {{#next_post}} and {{#prev_post}} do not work, and they are very important to me (otherwise the blog won't have any kind of navigation).

Any chance of updating the renderer?

(Unfortunately I'm just a user, I don't know how I could fix this by myself. Sorry.)

Which BSD license?

Currently the license is set to BSD in package.json, however this requires the field to be a valid SPDX license identifier https://spdx.org/licenses/ which BSD is not. If you could update the license, perhaps to either to BSD-2-Clause or BSD-3-Clause which are the most common BSD licenses, that would be great!

post titles are incorrect

In lib/ghost/helpers/helpers.js in coreHelpers.meta_title(), posts are incorrectly detected as author pages, resulting in incorrect title being generated.

Can I use ghost-render with a generic html blog template?

This looks great along with markdown-styles you wrote. I want to create a blog using markdown files but I want to choose my own generic html template. Should I use this app, ghost-render, or markdown-styles?? I'm not sure markdown-styles does blog posts or is it just for pages only?

support path generation based on published_at

The README shows how path generation will happen automatically without published_at in various ways.

I want the opposite :)

I'd like to have my posts directory be just folders named based on title and then have the site dir generate proper date-based path structure from published_at metadata.

This means that when I'm authoring, I don't have to care about all these directories, can just focus on writing. If I'm late by a day, whatevs, don't have to worry about recreating all the paths, links, etc.

Does not seem to work under Windows 7 x64

ghost-render --settings .\settings.json --theme .\Casper
ghost-render --settings ./settings.json --theme ./Casper

Outputs nothing. Not even errors. File and path exist. Executed as admin or non-admin. Makes no difference.

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.