Giter VIP home page Giter VIP logo

Comments (2)

madrilene avatar madrilene commented on May 31, 2024

Ah yeah, I have been fighting with that one. As you say, the problem is, that the font has to be installed on the system that is builiding your site, it can't just be referenced as an asset.

I have seen solutions where a specific system is set with GitHub CI, and then you can select a system font from that OS. This is nicer than what we have now, but still not the font we actually want.

My idea is now to convert og images into static assets that you create on the side when you are in development, add them to the assets folder and commit them - the build step only hast to pass them through. I will let you know if that works and is available.

from eleventy-excellent.

madrilene avatar madrilene commented on May 31, 2024

Done - og images are now build while you develop, and should be pushed as assets to the repo.
The Font you set must be installed on your own system, then it should work fine.
--> https://eleventy-excellent.netlify.app/assets/og-images/eleventy-excellent-20-preview.jpeg

from eleventy-excellent.

Related Issues (19)

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.