2018-11-11 22:41:07 +00:00
|
|
|
<%- _js(cdn('jquery', '3.3.1', 'dist/jquery.min.js')) %>
|
|
|
|
<%- _js(cdn('moment', '2.22.2', 'min/moment-with-locales.min.js')) %>
|
2018-10-16 05:28:42 +00:00
|
|
|
<script>moment.locale("<%= get_config('language', 'en') %>");</script>
|
2016-02-02 16:19:44 +00:00
|
|
|
|
2019-08-13 03:41:41 +00:00
|
|
|
<script>
|
|
|
|
var IcarusThemeSettings = {
|
|
|
|
article: {
|
|
|
|
highlight: {
|
|
|
|
clipboard: <%= get_config('article.highlight.clipboard', true) %>,
|
|
|
|
fold: '<%= get_config('article.highlight.fold', true) %>'
|
|
|
|
}
|
|
|
|
}
|
|
|
|
};
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<% if (get_config('article.highlight.clipboard')) { %>
|
|
|
|
<%- _js(cdn('clipboard', '2.0.4', 'dist/clipboard.min.js'), true) %>
|
|
|
|
<% } %>
|
|
|
|
|
2018-10-16 05:28:42 +00:00
|
|
|
<% if (has_config('plugins')) { %>
|
|
|
|
<% for (let plugin in get_config('plugins')) { %>
|
2019-08-16 05:03:19 +00:00
|
|
|
<%- _partial('plugin/' + plugin, { head: false, plugin: get_config('plugins')[plugin] }) %>
|
2018-10-16 05:28:42 +00:00
|
|
|
<% } %>
|
|
|
|
<% } %>
|
|
|
|
|
2018-11-11 22:41:07 +00:00
|
|
|
<%- _js('js/main', true) %>
|