Comments (4)
Welcome @machinelearnear! Cool that you are running your site with this repo. I must disappoint you now: this repo uses Ghost as a headless
CMS: this means changing themes (i.e. the head
) on Ghost CMS has zero effect here.
Currently this repo only supports one theme which is a Ghost Casper clone.
from next-cms-ghost.
Thanks! It's like I was missing some important bit of info about how Ghost API actually worked there 😄 . For anyone wondering about the same, this is a good place to start.
Any advice/tips on how to port a new theme? I know there's a lot of work already done when you ported Casper.
Thank you again for the great work!
from next-cms-ghost.
The answer to your question depends on what you want to achieve. A rough guidance would be:
-
If you want to make minor changes with no or little styling, such as extending the header or footer the best is to add a new option to this repository. Have a look at the
customNavigation
option to get an idea how this could be done. PRs are welcome. -
If you just want to tweak styles but stay close to the original theme, you can simply swap
stylesheets
under thestyles
folder. Even better is to add your own themes that only override some parts of the existingscreen.css
. To get an idea how this can be accomplished have a look atstyles/prism.css
orstyles/toc.css
. This repository uses a global theme approach which is namespaced, so it does not conflict with other themes when using this project as part of a larger website. -
If you want a completely new theme with different animations, toolbars etc. then you would also need to change React component logic. In this case, I recommend you create your own
fork
and use this repository as a boilerplate for your own, fully customized version.
from next-cms-ghost.
Closing as answered. As always, this thread can be re-opened if needed.
from next-cms-ghost.
Related Issues (20)
- Changing theme settings doesn't work HOT 4
- Netlify Deploy workflow fails HOT 9
- next/images on Netlify HOT 2
- ISR on Netlify
- Open the images in full-screen display on click HOT 8
- Can I change my theme. HOT 1
- Pagination is not available HOT 12
- Error: Index creation failed - after adding API URL & Key HOT 10
- Integrate post/draft preview HOT 1
- getting issue on author image HOT 2
- I cant embed html scripts in my posts. HOT 1
- Upgrade Rehype HOT 2
- did you can add search bar HOT 1
- I can't send message in Contact page HOT 1
- Will this not work for Ghost V.5 and why not? HOT 1
- Working with local ghost installation
- TypeError: withImageLoader is not a function (warning [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. HOT 6
- Build error occurred ReferenceError: Cannot access 'api' before init
- Abandoned? HOT 1
- Build specific feed for each author
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-cms-ghost.