Giter Club home page Giter Club logo

Comments (8)

UnsafePointer avatar UnsafePointer commented on August 15, 2024 4

@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.

Fried-Chicken avatar Fried-Chicken commented on August 15, 2024 2

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

@Fried-Chicken

from ghost-static-site-generator.

gkrizek avatar gkrizek commented on August 15, 2024 1

I just hit this error as well. I'll try the rsync on it.

from ghost-static-site-generator.

Fried-Chicken avatar Fried-Chicken commented on August 15, 2024

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

@Fried-Chicken

from ghost-static-site-generator.

Fried-Chicken avatar Fried-Chicken commented on August 15, 2024

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

@jamaalsawyerd

from ghost-static-site-generator.

jamaalsawyerd avatar jamaalsawyerd commented on August 15, 2024

Hi @Fried-Chicken

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.

jamaalsawyerd avatar jamaalsawyerd commented on August 15, 2024

Cool, thanks for looking into this!

from ghost-static-site-generator.

CKraft11 avatar CKraft11 commented on August 15, 2024

#!/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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.