Replies: 1 comment
-
Hi, this doesn't seem to be a necessary feature, so I will follow your wishes and convert it into an idea to share in the discussions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Checklist
Is your feature request related to a problem? Please describe
I've often seen different websites I visit show a popup to install their pwa so I decided to make this.
I'm just adding a general version, if this gets added then please modify it to integrate with chirpy better.
Describe the solution you'd like
This is how I envision this feature:
_config.yml
havepwa-popup: true
, this could be in the pwa section in config.assets/js/pwa-popup.js
<script src="/assets/js/pwa-popup.js" defer></script>
at_includes/metadata-hook.html
for whole siteDescribe alternatives you've considered
Live Demo
Additional context
If this doesn't get accepted please covert it to an
idea
discussion.Anyone who's trying to implement this from the code: I haven't configured it for displaying only on mobile yet, and there's some other issues also I think
Beta Was this translation helpful? Give feedback.
All reactions