-
-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cria arquivo de scripts separado #296
Conversation
….liquid Signed-off-by: George Araújo <george.gcac@gmail.com>
Signed-off-by: George Araújo <george.gcac@gmail.com>
✅ Deploy Preview for diciotech ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Signed-off-by: George Araújo <george.gcac@gmail.com>
Signed-off-by: George Araújo <george.gcac@gmail.com>
PS: ignora o sort data files e o prettier nessa PR, preferi não mexer nisso agora e resolver tudo na do prettier. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 6 out of 12 changed files in this pull request and generated no comments.
Files not reviewed (6)
- _includes/script.js.liquid: Language not supported
- _json/en-us/cards.json.liquid: Language not supported
- _json/pt-br/cards.json.liquid: Language not supported
- _layouts/base.liquid: Language not supported
- _scripts/scripts.js.liquid: Language not supported
- _pages/en-us/search.md: Evaluated as low risk
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Boaaa 🚀 e super obrigada por ter atualizado a documentação junto também!
Descrição de PR
Cria o arquivo de script que lida com os cards num arquivo próprio:
Antes:
Depois:
Issue relacionado
Motivações
Não só pro HTML ficar mais bonito, mas com o js não estando inline o
jekyll-minifier
consegue minificar também esse arquivo js.Informações adicionais
Eu tive que fazer mais algumas mudanças, como mover todas as strings traduzidas que fazem parte da UI do site (e não dos cards) de
_pages/LANG/search.md
pra_data/LANG/strings.yml
pra poder isso funcionar devidamente.