Skip to content
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

pelican-striped-html5up html doesn't include the js links #602

Open
marblepebble opened this issue Jun 10, 2018 · 1 comment
Open

pelican-striped-html5up html doesn't include the js links #602

marblepebble opened this issue Jun 10, 2018 · 1 comment

Comments

@marblepebble
Copy link

The striped theme from html5up.net has script tags just before the close of the body element. These aren't in the generated html by this theme, and this leads to the styles not showing up correctly when viewed on a mobile (android firefox/chrome tested - looks ok on desktop firefox even when resized down though).

I manually added the script links and it's all good:

...
<!-- Scripts -->
<script src="/theme/js/jquery.min.js"></script>
<script src="/theme/js/skel.min.js"></script>
<script src="/theme/js/util.js"></script>
<!--[if lte IE 8]><script src="/theme/js/ie/respond.min.js"></script><![endif]-->
<script src="/theme/js/main.js"></script>

</body>
</html>
@Lucas-C
Copy link

Lucas-C commented Oct 12, 2018

FTW this theme has also been ported to pelican by @andreynovikov.

Both this version and my fork contain those scripts at the end of templates/base.html : https://github.com/Lucas-C/pelican-html5up-striped

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants