blog/themes/fluid/layout/_partials/css.ejs
2024-11-16 11:34:10 +08:00

27 lines
906 B
Plaintext

<%- css_ex(theme.static_prefix.bootstrap, 'css/bootstrap.min.css') %>
<% var css_snippets = deduplicate(page.css_snippets) %>
<% for (var idx = 0; idx < css_snippets.length; idx++) { %>
<%- css_snippets[idx] %>
<% } %>
<% page.css_snippets = [] %>
<!-- 主题依赖的图标库,不要自行修改 -->
<!-- Do not modify the link that theme dependent icons -->
<%- css('//at.alicdn.com/t/font_1749284_hj8rtnfg7um.css') %>
<%- css(theme.static_prefix.iconfont || theme.iconfont) %>
<%- css_ex(theme.static_prefix.internal_css, 'main.css') %>
<% if (theme.code.highlight.enable) { %>
<%- css_ex(theme.static_prefix.internal_css, 'highlight.css', 'id="highlight-css"') %>
<% if (theme.dark_mode.enable) { %>
<%- css_ex(theme.static_prefix.internal_css, 'highlight-dark.css', 'id="highlight-css-dark"') %>
<% } %>
<% } %>
<% if (theme.custom_css) { %>
<%- css(theme.custom_css) %>
<% } %>