diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index eb6f6ee..715f561 100755 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -1,5 +1,3 @@ - -
@@ -36,12 +34,28 @@ - - <%- css('style.css') %> - <%- css('fontawesome-free-5.6.3-web/css/all.min.css') %> - <% if (config.google_fonts){ %> - + + <% if (config.import && config.import.style == true) { %> + <%- css('//cdn.jsdelivr.net/gh/xaoxuu/blog@gh-pages/style.css') %> + <% } else if (config.import && config.import.style && config.import.style.length > 0){ %> + <%- css(config.import.style) %> + <% } else { %> + <%- css('style.css') %> + <% } %> + + + <% if (config.import && config.import.fontawesome == true) { %> + <%- css('//cdn.jsdelivr.net/gh/xaoxuu/cdn@master/fontawesome/5.6.3/css/all.min.css') %> + <% } else if (config.import && config.import.fontawesome && config.import.fontawesome.length > 0){ %> + <%- css(config.import.fontawesome) %> + <% } else { %> + <%- css('fontawesome-free-5.6.3-web/css/all.min.css') %> + <% } %> + + + <% if (config.import && config.import.google_fonts && config.import.google_fonts.length > 0){ %> + <% } %> + <% } %>