-
Notifications
You must be signed in to change notification settings - Fork 35
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
Refactor badges #45
Refactor badges #45
Conversation
Deploying with Cloudflare Pages
|
Bumped Zola version on CloudFlare to 0.16.1. 0.14.0 doesn't work with |
|
OK, we are blocked on getzola/zola#1982. |
window.addEventListener('beforeinstallprompt', (e) => { | ||
// Prevent Chrome 67 and earlier from automatically showing the prompt | ||
e.preventDefault(); | ||
const add = document.getElementById('add'); |
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.
Let's make it var for older browsers.
<a href="https://apps.apple.com/app/organic-maps/id1567437057" title="{{ trans(key='install-appstore', lang=lang) }}"><img src="/images/badges/googleplay.svg"></a> | ||
</span> | ||
<span class="badge"> | ||
<a href="https://play.google.com/store/apps/details?id=app.organicmaps&hl={{ lang }}" title="{{ trans(key='install-googleplay', lang=lang) }}"><img src="/images/badges/apple-appstore.svg"></a> |
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.
Is it possible to pass the translation into the shortcode from the md file?
Markdown should contain content, not HTML and JS code. Signed-off-by: Roman Tsisyk <[email protected]>
060cdbd
to
6a29c56
Compare
Signed-off-by: Roman Tsisyk <[email protected]>
Поправил, чтобы lang передавался явно. Потом исправим, когда CF обновит ядро и можно будет использовать самую свежую Zola. |
No description provided.