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

View File

@@ -59,9 +59,11 @@
<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">
<script src="https://cdnjs.cloudflare.com/ajax/libs/ol3/{{ ol_version }}/ol.js"></script>
{{#if css_inline}}
<style>
{{ css_inline }}
</style>
{{/if}}
</head>
<body>
<div class="container-fluid">