Hello fellow modx users
Does anyone happen to know how to make Miniport by HTML5UP
https://stackoverflow.com/questions/23593625/why-noscript-and-skel-are-not-working-in-wordpress" target="_blank" rel="nofollow">http://html5up.net/miniport/url] work in MODX?
The template head looks like this (and it works fine in Firefox from Notepad):
<head>
<title>Miniport by HTML5 UP</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="js/jquery.min.js"></script>
<script src="js/jquery.scrolly.min.js"></script>
<script src="js/skel.min.js"></script>
<script src="js/init.js"></script>
<noscript>
<link rel="stylesheet" href="css/skel.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/style-desktop.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="css/ie/v9.css" /><![endif]-->
</head>
But when I put it into a MODX template and ajust the links as below, the css doesn't work. If I take away the noscript tag, the css apparently connects, but the page is no longer responsive.
<head>
<title>Miniport by HTML5 UP</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content="" />
<meta name="keywords" content="" />
<!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]-->
<script src="assets/components/miniport/js/jquery.min.js"></script>
<script src="assets/components/miniport/js/jquery.scrolly.min.js"></script>
<script src="assets/components/miniport/js/skel.min.js"></script>
<script src="assets/components/miniport/js/init.js"></script>
<noscript>
<link rel="stylesheet" href="assets/components/miniport/css/skel.css" />
<link rel="stylesheet" href="assets/components/miniport/css/style.css" />
<link rel="stylesheet" href="assets/components/miniport/css/style-desktop.css" />
</noscript>
<!--[if lte IE 8]><link rel="stylesheet" href="assets/components/miniport/css/ie/v8.css" /><![endif]-->
<!--[if lte IE 9]><link rel="stylesheet" href="assets/components/miniport/css/ie/v9.css" /><![endif]-->
</head>
I have found one answer that works for Wordpress: [url]
https://stackoverflow.com/questions/23593625/why-noscript-and-skel-are-not-working-in-wordpress - maybe someone can see from this, what needs to be done in MODX?
I'm using MODX Revolution 2.2.7-pl
thank you in advance!
evalykke