All Questions
Tagged with ghost-blog javascript
81 questions
0
votes
0
answers
31
views
Ghost.io Blog "style" variable
I'm working on a Ghost Theme and with the given Ghost Theme I'm working on there's a code that checks for equality of style to 'one' or 'two':{{#match style "one"}}
and {{#match style "...
0
votes
1
answer
115
views
Ghost CMS API from R
I am trying to connect to a local Ghost CMS instance from R using the build-in Admin API. There is a good documentation (https://ghost.org/docs/admin-api/#token-authentication) on how to connect for ...
0
votes
1
answer
376
views
How to place document.getElementsByTagName('head')[0].appendChild(metatag); on top of the head tag
I have a SPA (single page app) and use prerender.io to cache the page for search bots. I generate my meta tags on the fly from my proxy api with this code, example for description and og.description:
...
-1
votes
1
answer
84
views
How to set up static sites with self hosted ghost on VPS
I just installed a ghost production environment on ubuntu 20.04 VPS with 1GB ram. I have also set up a dev environment locally on my mac where ill try out all my experiments.
My prod ghost ...
3
votes
2
answers
6k
views
Bundle React.js project into single js file that can be embedded in Ghost blog post
After building a React.js project, I want to bundle all the files (HTML, js, CSS) into a single js file that can be embedded into a ghost blog post.
Here is an example of how this was done for a ghost ...
0
votes
2
answers
12k
views
How to dynamically filter posts fetched in a API using Next.js and Typescript?
I am developing a portfolio website with filtering work. so I'm currently struggling with using useStates, useEffect, and unsure with how they work. I have been working on it for the 5 days and have ...
7
votes
2
answers
12k
views
Bundle Vue project into single js file that can be embedded in Ghost blog post
I have a simple Vue.js project built after running yarn build. The dist folder contains files like below;
I want to bundle all the files (HTML, js, CSS) into a single js file that can be embedded ...
0
votes
1
answer
1k
views
html.js loading the script only once on page load Gatsby
I am using html.js to load custom script. I have created a js file in static folder custom.js but when I am running my project it loads the script only once on first time page load but when I am ...
0
votes
0
answers
436
views
Cannot Define Type on 'this.$attrs' on Vue.js Component of Quasar App
I really need help with this and have been stuck for days. (It's also my first question so don't roast me.)
I've been trying to build my Quasar app, but all my TypeScript errors scream about Unsafe (...
-1
votes
1
answer
46
views
Using a table's values to dynamically generate onmouseover tags
So, I have a massive table with only two columns - an acronym list and a definition. Each entry in the table also has a unique ID, which happens to be each acronym unless there are multiple ...
0
votes
1
answer
861
views
Ghost Members Newsletter, subscribe new user from API
Currently generating a static website with Eleventy and I'm pulling the blog posts from the Ghost Content API. I'm hoping to use their new Members functionality to handle our newsletter updates but I ...
0
votes
1
answer
146
views
Disable ghost write file storage on cloud app engine
I just try to install Ghost to Google Cloud App Engine. I follow the official instruction but I got error below:
2020-07-25 10:40:52 default[20200725t173735] Error: EROFS: read-only
file system, ...
2
votes
1
answer
6k
views
Is it possible to store a dotenv variable in a json file?
Using Gatsby with Ghost CMS requires a .ghost.json file containing my API keys. I'd like to push the repo to Github and don't want my keys in my repository. Hence the question: is it possible to use ....
2
votes
3
answers
2k
views
how to remove authors and tags from sitemap in ghost blog.?
A quick question about sitemap. Is it possible to regenerate the sitemap? I want to remove tag and author pages from sitemap for SEO purpose. There's a another way to disabled tags and author to ...
-1
votes
1
answer
74
views
It is bad practice to POST a form to a different web server?
I use a CMS that doesn't make it easy to add a NodeJS route to handle data sent by my forms.
Would the following scenario be bad practice, is it unsafe ?
Server 1 (Ghost CMS) : www.domain.com
<form ...