mirror of
https://github.com/tabler/tabler.git
synced 2026-06-20 22:30:10 +04:00
47 lines
1.5 KiB
HTML
47 lines
1.5 KiB
HTML
<!doctype html>
|
|
{% assign min-ext = '' %}{% if jekyll.environment == 'production' %}{% assign min-ext = '.min' %}{% endif %}
|
|
<html lang="en">
|
|
<head>
|
|
{% include head.html %}
|
|
|
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,300i,400,400i,500,500i,600,600i,700,700i&subset=latin-ext">
|
|
<script src="{{ site.base }}/assets/js/require.min.js"></script>
|
|
<script>
|
|
requirejs.config({
|
|
baseUrl: '{{ site.base }}'
|
|
});
|
|
</script>
|
|
|
|
<!-- Dashboard Core -->
|
|
<link href="{{ site.base }}/assets/css/dashboard.css" rel="stylesheet" />
|
|
<script src="{{ site.base }}/assets/js/dashboard.js"></script>
|
|
|
|
{% for plugin in site.theme-plugins %}
|
|
<!-- {{ plugin[1].name }} Plugin -->
|
|
{% if plugin[1].files contains 'css' %}<link href="{{ site.base }}/assets/plugins/{{ plugin[0] }}/plugin.css" rel="stylesheet" />{% endif %}
|
|
{% if plugin[1].files contains 'js' %}<script src="{{ site.base }}/assets/plugins/{{ plugin[0] }}/plugin.js"></script>{% endif %}
|
|
{% endfor %}
|
|
</head>
|
|
<body class="{{ page.body-class }}">
|
|
|
|
<div class="page">
|
|
{{ content }}
|
|
</div>
|
|
|
|
{% ifhascontent scripts %}
|
|
<script type="text/javascript">
|
|
requirejs(['jquery'], function($) {
|
|
$(document).ready(function () {
|
|
{% contentblock scripts no-convert %}
|
|
});
|
|
});
|
|
</script>
|
|
{% endifhascontent %}
|
|
|
|
{% ifhascontent js %}
|
|
{% contentblock js no-convert %}
|
|
{% endifhascontent %}
|
|
|
|
</body>
|
|
</html> |