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
1
vote
1 answer

Ghost prev_post & next_post with conditions

Is it possible to place conditions upon {{#prev_post}}{{title}}{{/prev_post}}? re: https://themes.ghost.org/docs/prev_next_post For example, I'd like to be able to go to the next or previous post with filter="tags:-archive" If prev_post & next_post…
Wronski
  • 1,506
  • 3
  • 18
  • 37
1
vote
1 answer

Github Gist Ghost Injection, Single Snipplet

I have my blog made by 'Ghost', and I'm trying to inject Github Gist in my post using the javascript github provides. However, I usually keep a lot code snipplets in a single…
1
vote
1 answer

Ghost - PrismJS syntax highlighting not working after updating to Ghost 1.0

I'm running a Ghost blog hosted on Ghost.io. They're currently running a system-wide update from Ghost 0.11 to Ghost 1.0. The update went fine, but I've lost the PrismJS syntax highliting. The code blocks all share the same look - black over…
Vaiden
  • 15,728
  • 7
  • 61
  • 91
1
vote
2 answers

Online migration with gh-ost integrated with tools like flyway/liquibase

I've been investigating how to use gh-ost and it seems that is not yet integrated with tools like flyway/liquibase. gh-ost has to be run like this: ./gh-ost --host=XXX--user=XXXX--password=XXXX--database=XXX--table=XXX --alter="ADD COLUMN XXX INT…
PetruC
  • 23
  • 6
1
vote
1 answer

Save data as part of Docker image?

I'm trying to create a custom Docker image for Ghost (https://ghost.org/) with some themes pre-installed. I pulled the official image (https://hub.docker.com/_/ghost/) and installed the Uno Zen (https://github.com/Kikobeats/uno-zen) theme as per the…
fwx
  • 333
  • 1
  • 5
  • 14
1
vote
1 answer

Ghost Blog Install just shows index list of files

I'm trying to get the latest version of Ghost blogging platform integrated into my existing site. For testing purposes, I have installed it in a new directory on my site called /blog_new. When I visit that directory in my browser, it just shows a…
JTP
  • 151
  • 4
  • 10
1
vote
0 answers

Separate functions from the for loop in ghost

Here is my code example below, there I used for loop to get the data from ghost API and its working fine. I want to append the data with dyanamic youtube image based on the post iframe's video code. single_carousel: function(){ var…
Md Nurullah
  • 472
  • 7
  • 21
1
vote
0 answers

Nginx ssl force www to redirect to non www domain

I am trying to set up Nginx to redirect all www.example.com and https://www.example.com requests to https://example.com. Here is my config: server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name example.com; root…
Dustin
  • 8,217
  • 11
  • 33
  • 44
1
vote
0 answers

Syntax error on a Ghost Api Query

Here following the working code, $.get(ghost.url.api("posts", { "tag:'Category Name'" })).done(function(data) { $.each(data.posts, function(i, post) { console.log(post); }); }); Now I want to add a variable there for the…
Md Nurullah
  • 472
  • 7
  • 21
1
vote
1 answer

have any way to change tag name dynamically in get query ?

{{#get "posts" filter="tag:news" as |news_post|}} {{#foreach news_post}} {{title}} {{/foreach}} {{/get}} How Can I Change "news" tag dynamically ?
Rubel Hossain
  • 2,503
  • 2
  • 22
  • 23
1
vote
0 answers

Google Web Master Tools won't Index my Ghost Blog

Few days ago, i've submited the sitemap to Google Web Master Tools, but no one single page was indexed. Here's my sitemap: ghost.asepmaulanaismail.com/sitemap.xml Sitemap Result: https://i.stack.imgur.com/rx0TC.png my robot.txt: User-agent:…
1
vote
1 answer

Deploy a Ghost site to a bare remote git repo

I have a bare repo on my server that I'm attempting to push a local Ghost site to. On the server, the Ghost grunt init is unable to successfully complete because there is no working tree: $ grunt init Running "update_submodules:default"…
Ash Ryan Arnwine
  • 1,471
  • 1
  • 11
  • 27
1
vote
1 answer

Ghost CMS - Keeping images at their default size

I've just switched from Wordpress to Ghost. Loving it so far, but one big issue I'm having is resizing images. I'm using the default theme, and some of the images are small. When I add them into a post they stretch 100% of the width. The markdown…
BugHunterUK
  • 8,346
  • 16
  • 65
  • 121
1
vote
0 answers

Adding Ghost blog to a React App Route instead of subdomain

I have been told to add a blog to a route for SEO purposes instead of subdomain. However I can't seem to figure out how to do this for a React app hosted on Firebase. Currently my Ghost bLog is hosted through heroku on my apps subdomain, I want to…
jasan
  • 11,475
  • 22
  • 57
  • 97
1
vote
1 answer

Ghost mathjax inlining not working

I've read this post on how to add inline math mode to ghost : http://ghost-rkingsbury.rhcloud.com/how-to-add-mathjax-to-a-ghost-blog/ I've added to Settings -> Code Injection :