Skip to content
This repository has been archived by the owner on May 25, 2020. It is now read-only.

Add static page de.serlo.org/beitrag #909

Closed
Knorrke opened this issue Jun 5, 2019 · 0 comments
Closed

Add static page de.serlo.org/beitrag #909

Knorrke opened this issue Jun 5, 2019 · 0 comments

Comments

@Knorrke
Copy link
Member

Knorrke commented Jun 5, 2019

The page should have the following script loading a page of twingle. Apart from that we need the footer with impress and privacy policy as in de.serlo.org/spenden.

<!-- twingle -->
<script type="text/javascript">
    (function() {
        var u="https://spenden.twingle.de/embed/serlo-education-e-v/serlo-education-e-v/tw5cdc26358ab59/widget";
        var id = '_' + Math.random().toString(36).substr(2, 9);
        var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
        document.write('<div id="twingle-public-embed-' + id + '"></div>');
        g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'/'+id; s.parentNode.insertBefore(g,s);
    })();
</script>
<!-- twingle -->
@inyono inyono closed this as completed in 5769edc Jun 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant