Only create style block if there is css for the example

This commit is contained in:
Andreas Hocevar
2015-04-02 13:23:13 +02:00
parent f277082708
commit 0077626c93
+2
View File
@@ -59,9 +59,11 @@
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.css" type="text/css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.css" type="text/css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.js"></script> <script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.js"></script>
{{#if css_inline}}
<style> <style>
{{ css_inline }} {{ css_inline }}
</style> </style>
{{/if}}
</head> </head>
<body> <body>
<div class="container-fluid"> <div class="container-fluid">