`@11ty/font-awesome` doesn't seem to work with EJS
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Ambito
- frontend
Direzione di ricerca
The issue names the 11ty-migration branch and /community as the reproduction entry point; start by visiting a page with Font Awesome icons and comparing the EJS template with the @11ty/font-awesome documentation. Done means the project has a supported way to include the bundle for EJS and the icons render on /community.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Thanks in advance for your bug report!
- Have you reproduced this issue in incognito/private browsing?
- Have you made sure you issue doesn't already exist?
Where is the URL that this occurs?
(pertaining to the 11ty-migration branch)
What's your issue?
Unless I'm misunderstanding something, I can't get @11ty/font-awesome to work because it requires features that aren't implemented in EJS.
The docs explain that you need to include this somewhere on any page where you use icons:
{% getBundle "fontawesome" %}
Of course, that's a Liquid template snippet. The getBundle shortcode doesn't seem to be available in EJS, nor does any other shortcode. I don't see an easy way of including them in an EJS template.
It feels like we're using Eleventy in hard mode just because we've chosen EJS. If there's a particular reason we're using EJS instead of Liquid or Nunjucks or something, that's fine, but otherwise I'd be in favor of moving to one of those templating languages instead so I don't have to reimplement so much stuff.
Which OS/Browser/Version does this happen on?
All.
Steps to Reproduce/Additional Details:
Visit any page that uses FA icons (like /community).
- Lingua principale
- EJS
- Stelle
- 31
- Fork
- 33
- Merge medio
- 2m
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di pulsar-edit/pulsar-edit.github.io
-
enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
pulsar-edit/pulsar-edit.github.io#308 · 1 commento ·
-
Homepage ResponsivenessApertabug
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
-
Improve `Hacking the Core/Publishing` sectionForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
Add RSS feedApertaenhancement
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
pulsar-edit/pulsar-edit.github.io#271 · 2 commenti ·
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 42/100
pulsar-edit/pulsar-edit.github.io#250 · 2 commenti ·
Tutte le issue di pulsar-edit/pulsar-edit.github.io
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
backnotprop/plannotator#3427 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
pop-os/cosmic-settings#2296 ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Duplicate preposition in heading and unformatted feedback text on Strengthen Argument pageApertabug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
AOSSIE-Org/DebateAI#801 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
area: docs documentation priority: P3 size: S
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
eddiejaoude/StackDash#462 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 1 giorno