From 86800f815e31c5ff157bba0581f6dfc9259569ae Mon Sep 17 00:00:00 2001 From: Dominique Da Silva Date: Wed, 27 May 2015 13:24:14 +0200 Subject: [PATCH] Additional custom stylesheet option --- _config.yml.example | 3 +++ layout/_partial/head.ejs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/_config.yml.example b/_config.yml.example index abaf830..13a464c 100644 --- a/_config.yml.example +++ b/_config.yml.example @@ -18,6 +18,9 @@ widgets: - archive thumbnail: true +# Additional Stylesheet +customstylesheet: 'custom' + # Contacts contacts: github: http://github.com/ppoffice diff --git a/layout/_partial/head.ejs b/layout/_partial/head.ejs index 7f1c198..10f4ce8 100644 --- a/layout/_partial/head.ejs +++ b/layout/_partial/head.ejs @@ -33,4 +33,7 @@ <%- css('css/style') %> <%- css('font-awesome/css/font-awesome.min') %> <%- partial('google-analytics') %> + <% if( theme.customstylesheet ){ %> + <%- css('css/'+theme.customstylesheet) %> + <% } %> \ No newline at end of file