-
Notifications
You must be signed in to change notification settings - Fork 52
Open
Description
The instructions in the Readme allow gists in dynamic views, yaaaay! However my blog is set up to use a mobile friendly template when Blogger detects a mobile device. This doesn't load the gist-Blogger workaround and as a result only displays the text within the <div> tag.
This:
<div class="gistLoad" data-id="GistID" id="gist-GistID">Loading ....</div>
Displays:
Loading ....
As a workaround I use the following form in my HTML for my blog so that it gracefully degrades to using the proper GitHub gist loading script on mobile. However on desktop it uses gist-Blogger correctly.
<div class="gistLoad" data-id="GistID" id="gist-GistID">
<script src="https://gist.github.com/GitUserName/GistID.js">Loading ....</script>
</div>
Can this be rolled into the code somehow? Or the Readme updated?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels