mirror of
https://github.com/tabler/tabler.git
synced 2026-06-17 12:50:03 +04:00
header, plugins
This commit is contained in:
+21
-1
@@ -86,4 +86,24 @@ theme-colors:
|
||||
dark: '#343a40'
|
||||
|
||||
google-maps-key: AIzaSyBEJy4UvF-JfcNciWlvlznyDlUckcspiD4
|
||||
google-maps-url: https://maps.googleapis.com/maps/api/js?key=AIzaSyCOJwXN0eoyeFZ3cYtGzPLFw8zGhQ750Xk
|
||||
google-maps-url: https://maps.googleapis.com/maps/api/js?key=AIzaSyCOJwXN0eoyeFZ3cYtGzPLFw8zGhQ750Xk
|
||||
|
||||
theme-plugins:
|
||||
charts-c3:
|
||||
name: c3.js Charts
|
||||
files: [css, js]
|
||||
maps-google:
|
||||
name: Google Maps
|
||||
files: [css, js]
|
||||
# iconfonts:
|
||||
# name: Iconfonts
|
||||
# files: [css]
|
||||
# prismjs:
|
||||
# name: Code Highlight
|
||||
# files: [css, js]
|
||||
# fullcalendar:
|
||||
# name: FullCalendar
|
||||
# files: [css, js]
|
||||
# weather:
|
||||
# name: Weather
|
||||
# files: [css]
|
||||
+5
-25
@@ -17,31 +17,11 @@
|
||||
<link href="{{ site.base }}/assets/css/dashboard.css" rel="stylesheet" />
|
||||
<script src="{{ site.base }}/assets/js/dashboard.js"></script>
|
||||
|
||||
|
||||
<!-- c3.js Charts Plugin -->
|
||||
<link href="{{ site.base }}/assets/plugins/charts-c3/plugin.css" rel="stylesheet" />
|
||||
<script src="{{ site.base }}/assets/plugins/charts-c3/plugin.js"></script>
|
||||
|
||||
{% comment %}
|
||||
<!-- Google Maps Plugin -->
|
||||
<link href="{{ site.base }}/assets/plugins/maps-google/plugin.css" rel="stylesheet" />
|
||||
<script src="{{ site.base }}/assets/plugins/maps-google/plugin.js"></script>
|
||||
|
||||
<!-- Iconfonts Plugin -->
|
||||
<link href="{{ site.base }}/assets/plugins/iconfonts/plugin.css" rel="stylesheet" />
|
||||
|
||||
|
||||
<!-- Code Highlight Plugin -->
|
||||
<!--<link href="{{ site.base }}/assets/plugins/prismjs/plugin.css" rel="stylesheet" />-->
|
||||
<!--<script src="{{ site.base }}/assets/plugins/prismjs/plugin.js"></script>-->
|
||||
|
||||
<!-- Fullcalendar Plugin -->
|
||||
<link href="{{ site.base }}/assets/plugins/fullcalendar/plugin.css" rel="stylesheet" />
|
||||
<script src="{{ site.base }}/assets/plugins/fullcalendar/plugin.js"></script>
|
||||
|
||||
<!-- Weather Plugin -->
|
||||
<!--<link href="{{ site.base }}/assets/plugins/weather/plugin.css" rel="stylesheet" />-->
|
||||
{% endcomment %}
|
||||
{% 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 }}">
|
||||
|
||||
|
||||
Reference in New Issue
Block a user