From 515ce029f3c50cd94b4766e0423a0d7a16b6d9c6 Mon Sep 17 00:00:00 2001 From: afc163 Date: Tue, 9 Jun 2015 15:50:36 +0800 Subject: [PATCH] rename theme to site --- nico.js | 2 +- {theme => site}/templates/aside.html | 0 {theme => site}/templates/code.html | 0 {theme => site}/templates/component-aside.html | 0 {theme => site}/templates/component.html | 0 {theme => site}/templates/demos.html | 0 {theme => site}/templates/footer.html | 0 {theme => site}/templates/home.html | 0 {theme => site}/templates/iframe.html | 0 {theme => site}/templates/layout.html | 0 {theme => site}/templates/page.html | 0 {theme => site}/theme.js | 0 12 files changed, 1 insertion(+), 1 deletion(-) rename {theme => site}/templates/aside.html (100%) rename {theme => site}/templates/code.html (100%) rename {theme => site}/templates/component-aside.html (100%) rename {theme => site}/templates/component.html (100%) rename {theme => site}/templates/demos.html (100%) rename {theme => site}/templates/footer.html (100%) rename {theme => site}/templates/home.html (100%) rename {theme => site}/templates/iframe.html (100%) rename {theme => site}/templates/layout.html (100%) rename {theme => site}/templates/page.html (100%) rename {theme => site}/theme.js (100%) diff --git a/nico.js b/nico.js index 060ee14c64..2ec9937929 100644 --- a/nico.js +++ b/nico.js @@ -8,7 +8,7 @@ exports.site = { repo: package.repository.url, issues: package.bugs.url }; -exports.theme = 'theme'; +exports.theme = 'site'; exports.source = process.cwd(); exports.output = path.join(process.cwd(), '_site'); exports.permalink = '{{directory}}/{{filename}}'; diff --git a/theme/templates/aside.html b/site/templates/aside.html similarity index 100% rename from theme/templates/aside.html rename to site/templates/aside.html diff --git a/theme/templates/code.html b/site/templates/code.html similarity index 100% rename from theme/templates/code.html rename to site/templates/code.html diff --git a/theme/templates/component-aside.html b/site/templates/component-aside.html similarity index 100% rename from theme/templates/component-aside.html rename to site/templates/component-aside.html diff --git a/theme/templates/component.html b/site/templates/component.html similarity index 100% rename from theme/templates/component.html rename to site/templates/component.html diff --git a/theme/templates/demos.html b/site/templates/demos.html similarity index 100% rename from theme/templates/demos.html rename to site/templates/demos.html diff --git a/theme/templates/footer.html b/site/templates/footer.html similarity index 100% rename from theme/templates/footer.html rename to site/templates/footer.html diff --git a/theme/templates/home.html b/site/templates/home.html similarity index 100% rename from theme/templates/home.html rename to site/templates/home.html diff --git a/theme/templates/iframe.html b/site/templates/iframe.html similarity index 100% rename from theme/templates/iframe.html rename to site/templates/iframe.html diff --git a/theme/templates/layout.html b/site/templates/layout.html similarity index 100% rename from theme/templates/layout.html rename to site/templates/layout.html diff --git a/theme/templates/page.html b/site/templates/page.html similarity index 100% rename from theme/templates/page.html rename to site/templates/page.html diff --git a/theme/theme.js b/site/theme.js similarity index 100% rename from theme/theme.js rename to site/theme.js