Giter Club home page Giter Club logo

Comments (7)

mkcor avatar mkcor commented on June 16, 2024

Looks easy but I will need to take it step by step. :)
We want to use https://about.twitter.com/resources/buttons
and it would make sense to create a new file (blog.html) in www/_templates since we want this Twitter button only for blog posts, not for the global website.
So...

from pyladies.

econchick avatar econchick commented on June 16, 2024

Yep! that's the button.

But this could go very easily into www/_templates/post.html - I think this is what you're thinking of with blog.html, it just already exists :)

@mkcor are you going to own this? or leave it to someone else to do? (either way is fine - just want to be clear)

from pyladies.

mkcor avatar mkcor commented on June 16, 2024

@econchick Great, indeed, I'll use post.html then! :)
I'm willing to own this. But I'm having build issues on a new machine... In the past there was a trick or omission in the doc and @jvns showed me a way around. ;)
I'm getting an error at step 5: (PyLadies) $ mynt gen -f _site && mynt serve _site with jinja2.exceptions.TemplateNotFound: default.html and indeed I don't see any default.html file in the pyladies tree...

from pyladies.

econchick avatar econchick commented on June 16, 2024

@mkcor - great! I'll assign you this issue then so no one else grabs it.

Regarding your error - are you within the www directory?

from pyladies.

econchick avatar econchick commented on June 16, 2024

Crap I can't assign you this issue because you're not an admin. I'll assign it to me just so no one else picks it up.

from pyladies.

mkcor avatar mkcor commented on June 16, 2024

@econchick Oh, yeah!! It works now. I may forget again next time... :p

from pyladies.

econchick avatar econchick commented on June 16, 2024

@mkcor pppshhh don't worry if it does - always tripping myself up too. It's more frustrating when you say to yourself "gah, I was able to get this to work before!"

from pyladies.

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.