Questions tagged [ghost]

Ghost is a simple blogging platform. It is based on node.js and Express on the server side, SQLite3 or MySQL as a database, and Handlebars on the client side.

The project is maintained by a non-profit organisation called the Ghost Foundation, along with an amazing group of independent contributors. You can find information about the project in the following places:

235 questions
2
votes
1 answer

Why is my official Ghost.org Docker container serving old content after I refresh my browser even though Ghost / Node are in development mode?

After setting up a full production CI pipeline for a docker / ghost.org blog based site, I am attempting to setup a local development environment to more quickly develop themes, however with Ghost running in "Development Mode" and while passing…
Necevil
  • 2,802
  • 5
  • 25
  • 42
2
votes
1 answer

Randomize Header Image to Sync With Post Link on Ghost.JS

I'm trying to have my header-image sync up with a click through link on Ghost.js. I've been able to generate a random link on each new page load, but am unsure how to have the header image that belongs to that link get pulled with it. Is anyone…
Hon H.
  • 21
  • 4
2
votes
2 answers

Related Posts In Ghost Blog - Excluding Current Post

I'm using Ghost as blogging platform. When a user is reading a post I would like to show some related posts. {{#foreach tags limit="1"}} {{#get "posts" filter="tags:{{slug}}" limit="6" include="author,tags" as |article|}} {{#foreach…
Norbert
  • 76
  • 5
2
votes
1 answer

API calling with NPM module 'got'

I've set up a component in ReactJS that makes an API call to GhostJS's API for displaying posts but I receive the error: HomePage.js:30 Uncaught (in promise) TypeError: Cannot read property 'body' of undefined(…) Below is the example component. Am…
privateer35
  • 365
  • 2
  • 6
  • 14
2
votes
0 answers

How to change Ghost Routing to make a landing page first

I am building a Ghost Theme at the moment and I am having trouble swapping the blog for the home. I went and created a post called "news", then change it to a static page, so I can access the slug. Then I created a "page-news.hbs" and it worked…
2
votes
1 answer

Make Webpack render in a file other than an index

By default Webpack looks for a specific index.html file in a specified directory, right? What I want to know is can I tell webpack to look for and inject my bundled files in a file that I specify? I ask this because I'm trying to develop a Ghost…
privateer35
  • 365
  • 2
  • 6
  • 14
2
votes
2 answers

Ghost Blogging Platform Connection Reset Error

I am running Ghost as a web service on Microsoft azure. I am using MySql Database for storage instead of the default Sqlite. Every time i open the blog i get a Econnreset error with status as 500, and Sql query is being shown. I have MySql Running…
Vipul
  • 566
  • 5
  • 29
2
votes
1 answer

Python Ghost module not loading page properly

Here is my code: from ghost import Ghost import time,sys,os url="http://www.endclothing.com/au/valentino-rockrunner-sneaker-ky0s0723-dnc-0ac.html" gh=Ghost() session=gh.start() try: page_resource=session.open(url,timeout=999) except Exception…
Tom
  • 71
  • 1
  • 2
  • 11
2
votes
0 answers

Ghost - Send invitation to user outside admin panel

I would like to make a HTML form to invite users to be authors in a blog. I know that the logic is located in the ghost source at "ghost/core/built/assets/ghost.js" and it defines a modal 'ghost/controllers/modals/invite-new-user' but how can I use…
forkfork
  • 415
  • 6
  • 22
2
votes
1 answer

ERR_EMPTY_RESPONSE with Ghost 0.7.5, Nginx 1.9, HTTPS and HTTP/2

Problem When I hit kevinsuttle.com, I get "No data received ERR_EMPTY_RESPONSE". When I hit https://kevinsuttle.com, I get the site. ghost 0.7.5 nginx 1.4 => 1.9.9 letsencrypt 0.2.0 Digital Ocean: Ubuntu 14.04 Ghost 1-click droplet Under…
Kevin Suttle
  • 8,358
  • 3
  • 33
  • 37
2
votes
2 answers

Running Ghost in IIS with Iisnode

I have a problem getting iisnode and ghost to play together. I can run the samples supplied with iisnode fine and I can get ghost up and running fine through the node command line. I have followed every blog post written online I can find to get…
2
votes
1 answer

Restart ghost blog running inside Docker

I'm using the Official Ghost Docker Image, and have ghost running without a problem. I am developing a theme locally on the host, which is mounted as a volume inside the container. As with any running ghost instance, in order to see the theme…
duncanhall
  • 11,035
  • 5
  • 54
  • 86
2
votes
1 answer

docker-compose error with ghost and an nginx proxy

So, I'm getting started with docker-compose Right now, I'm having an issue with nginx proxying requests. So I have a container which uses the ghost image and is exposed on 2368: ghostblog: container_name: ghostblog image: ghost restart:…
Peter Souter
  • 5,110
  • 1
  • 33
  • 62
2
votes
1 answer

Redirecting wordpress urls in a ghost site hosted in Azure

I recently switched my blog from wordpress to ghost. In order to keep the old wordpress urls working, I added some rewrite rules. My wordpress site used the following url formats:…
jrummell
  • 42,637
  • 17
  • 112
  • 171
2
votes
1 answer

How do you set up a local dev environment to mimic production Ghost env on OpenShift?

I've set up a Ghost blog on OpenShift and found the process to be fairly straight forward. The site is up and running and I've even set up Jenkins for continuous integration when I need to push up changes. I have yet to make any significant changes…
1 2
3
15 16