Comments (8)
@jamaalsawyerd I workaround'ed this by running rsync
after gssg
, something like:
$ docker exec -it -u `id -u`:`id -g` $ghost_container_id rsync -av /var/lib/ghost/content/images/ /static/content/images/
from ghost-static-site-generator.
Hey @jamaalsawyerd
Ahh right, you meant that thing. Thanks for the video!
Sorry, I thought you meant the twitter link to post feature.
Let me take a look at that and get back to you.
Thanks
from ghost-static-site-generator.
I just hit this error as well. I'll try the rsync on it.
from ghost-static-site-generator.
Hey @jamaalsawyerd
Thanks, glad you like it. I'll have to take a look into the social cards issue and maybe deploy a fix. Will update this thread when a fix is on the horizon.
Thanks
from ghost-static-site-generator.
Hey @jamaalsawyerd
I've just tried the twitter plugin and it seems to work for me.
Which twitter link were you trying to use? As far as I'm aware, the images should be linked from twitter and not pulled to your content folder.
Thanks
from ghost-static-site-generator.
Please see this video I uploaded:
https://youtu.be/R-VjJS9fzdY
Notice that the image content for the changed twitter card is not pulled into the content folder. If I don't set a special twitter card everything is fine because it uses the normal hero image.
Also, when using gssg for our site I use some other flags like subDir, url, and dest. I just picked the default option for the demo.
from ghost-static-site-generator.
Cool, thanks for looking into this!
from ghost-static-site-generator.
#!/bin/bash date=$(date) git pull origin master rm -r docs mkdir docs cd docs echo "www.mydomain.com" > CNAME cd - gssg --dest docs cd docs/ docker cp ghost:/var/lib/ghost/content/images/. content/images grep -lR "192.168.9.etc:2368" . | xargs sed -i 's/192.168.9.etc:2368/www.mydomain.com/g' cd - git add . git commit -m "$date" git config --global credential.helper store git push -u origin master
patchy script I put together to fix gssg's current issues
from ghost-static-site-generator.
Related Issues (20)
- Articles' images get the wrong file extension HOT 1
- Search feature not working after generate the static site HOT 1
- Pagination Not working HOT 1
- 'grep' is not recognized HOT 2
- Missing resized GIFs HOT 5
- No CSS? HOT 2
- [Bug] Not all image sizes are pulled HOT 5
- ERROR: null when running gssg HOT 6
- `gssg` removes all instances of `--url` value with `--domain` HOT 1
- No index.html generated with latest Ghost version HOT 6
- Instructions for Windows users HOT 4
- Not correctly saving post feature images HOT 2
- Rank productionDomain higher than a global url variable specified in ghost docker container HOT 2
- PSA: I made this tool work using some scripts HOT 1
- Image sources and Navigation URLs are not working HOT 1
- Source domain isn't used, and using localhost:2368 instead HOT 17
- --preview fails to load images
- Built folder is empty HOT 2
- 'grep' is not recognized Windows 11 HOT 2
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 ghost-static-site-generator.