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
4
votes
1 answer

Ghost how to add custum template post

I am building a Ghost blog and for one of my menu pages I want a custom post type. What I want: I want to be able to add new posts on one single page: agenda. This post has to have a three fields: image, content and date of event What I did: I…
PaulienVA
  • 136
  • 7
4
votes
1 answer

Node can't find dependency after npm install

I am new to Node.js and hitting this problem on my DigitalOcean VPS, where my web app (Ghost) complains it can't find specific modules even after I install it: root@3fen:/var/www/ghost# sudo npm install -g ghost-gql ghost-gql@0.0.2…
Allan Jiang
  • 11,063
  • 27
  • 104
  • 165
3
votes
2 answers

nginx subdomain configuration example.com/blog

I've spent all day yesterday and today learning how nginx works and I got two different domains working, one with Ghost blogging platform and a static page (future NodeJS app), now I'm trying to setup the subdomain, but I'm kind of frustrated…
Arturo
  • 3,254
  • 2
  • 22
  • 61
3
votes
1 answer

Get internal tags in Ghost

Is there any way to get all internal tags in Ghost using the api and the get helper? In my post.hbs template I can do this and it works: {{#post}} {{#foreach tags visibility="internal"}} {{name}} {{/foreach}} {{/post}} But in my page.hbs I…
Daniel
  • 161
  • 2
  • 10
3
votes
5 answers

SSL redirection and authentication on Ghost blog with Nginx

I have a blog about Ghost on DigitalOcean. The same is served by Nginx, with the following configuration file: server { listen 443 ssl; server_name www.example.com; return 301 $scheme://example.com$request_uri; } server { listen 443…
gach3z
  • 531
  • 3
  • 20
3
votes
2 answers

Centering img in Ghost theme

I'm using the free Starter theme on Ghost and I'm trying to make the image centered but wider than the paragraph and the main element (60rem). Here are the main CSS elements that hold the image in place, I can get the image to the full width (I use…
TM23
  • 1,279
  • 2
  • 10
  • 17
3
votes
3 answers

Ghost theme display more than 5 posts per page

How can I display more than 5 posts in the loop on the homepage of a theme? I have the standard loop: {{#foreach posts}}

{{{title}}}

{{/foreach}} I have 7 posts in total, but can only display 5 per page, it seems to…
Nicekiwi
  • 4,567
  • 11
  • 49
  • 88
3
votes
2 answers

NGINX - "server" directive is not allowed here

I'm trying to reconfigure my NGINX install to proxy to the local ghost install. In addition to that, I'm adding SSL (letsencrypt) but I keep getting an error. The error I get is - nginx -t -c /etc/nginx/sites-available/ghost nginx: [emerg]…
mutantChickenHer0
  • 223
  • 1
  • 4
  • 14
3
votes
1 answer

How to add link to another html in ghost post on azure

I created a ghost blog on the Azure. In one of my posts I want to create a link for another webpage that I is not a post/blog but an independent page that I have created separately and want to upload there in my ghost directory structure. I have…
H.Rehman
  • 33
  • 2
3
votes
2 answers

Adding Custom data to Ghost CMS

I'm switching my site from Jekyll to Ghost due to non-maintainable code since my site contains a large number of posts(~2500). Since, Jekyll uses YAML frontmatter I'm able to add custom key value pairs in it. I would like to accomplish the same…
Gowtham
  • 11,853
  • 12
  • 43
  • 64
2
votes
2 answers

How add push notification service on ghost blog?

Most of the push notification services required to upload two files at the "/" (root) of the server . So that the following files can be accessed via the following urls 1. https://example.com/menifest.json 2. https://example.com/worker.js Can any…
Adi
  • 876
  • 2
  • 8
  • 17
2
votes
1 answer

When I Install ghost with ghost-cli I get error

I have a CentOS 7 machine with mysql server and nginx. I installed nodejs with yum install nodejs and ghost-cli. I wanted to install ghost with ghost-cli. but when I enter the ghost install commant I get this error: ✖ Checking system Node.js…
Ahmad
  • 129
  • 12
2
votes
1 answer

Problems running ghost with docker in development

I'm having a hard time running a container from the Ghost image in development (after docker pull ghost). Using: docker run --name some-ghost -p 4000:2368 -v /Users/Documents/ghost-blog/content/themes/:/var/lib/ghost/content/themes/ -e…
Mr.Richway
  • 141
  • 2
  • 15
2
votes
0 answers

Adding image as variable in Hexo (ejs template)

In my .md file I specified blogpost-image as a new front-end variable. In my article.ejs file I have following:
<%- post.blogpost-image %>
And in my .md file I have this path ...…
user4752928
2
votes
1 answer

get filter Ghost blog related posts by tag

I'm trying to get a list of related posts by tag using the Get helper in Ghost blog. I tried to follow the cookbook in Ghost docs to get the related posts by tag, but it seems some of the syntax has changed slightly (I know it's a beta…
Damien - Layershift
  • 1,508
  • 8
  • 15
1
2
3
15 16