Skip to content

Commit

Permalink
Remove public dir, update config.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
wpioneer committed Mar 19, 2016
1 parent 7c78952 commit a75d286
Show file tree
Hide file tree
Showing 36 changed files with 6 additions and 815 deletions.
12 changes: 6 additions & 6 deletions config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ siteDescr = "Lorem Ipsum is simply dummy text of the printing and typesetting in

authorName = "John Doe"

linkTelegram = "telegram:wpioneer"
linkTwitter = "https://twitter.com/truewpioneer"
linkGithub = "https://github.com/wpioneer"
linkEmail = "a.shelepenok@gmail.com"
linkTelegram = "telegram:#"
linkTwitter = "https://twitter.com/#"
linkGithub = "https://github.com/#"
linkEmail = "#@gmail.com"
linkRss = "/feed.xml"
linkVk = "https://vk.com/wpioneer"
linkVk = "https://vk.com/#"

linkPrefix = "/gatsby-starters-kit/lumen"
linkPrefix = "/lumen"
6 changes: 0 additions & 6 deletions gatsby.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,33 +21,27 @@ module.exports = function(config, env) {
config.removeLoader('css');

if (is_develop) {

config.loader('css', function(cfg) {
cfg.test = /\.css/;
cfg.loaders = ['style', 'css-loader', 'postcss-loader'];
return cfg
})

config.loader('postcss', function(cfg) {
cfg.test = /\.sss/;
cfg.loaders = ['style', 'css-loader', 'postcss-loader?parser=sugarss'];
return cfg
})

} else {

config.loader('css', function(cfg) {
cfg.test = /\.css/;
cfg.loader = ExtractTextPlugin.extract(['css-loader', 'postcss-loader']);
return cfg
})

config.loader('postcss', function(cfg) {
cfg.test = /\.sss/;
cfg.loader = ExtractTextPlugin.extract(['css-loader', 'postcss-loader?parser=sugarss']);
return cfg
})

}

config.plugin('extract-css',
Expand Down
Binary file removed public/32400f4e08932a94d8bfd2422702c446.eot
Binary file not shown.
4 changes: 0 additions & 4 deletions public/404/index.html

This file was deleted.

Binary file removed public/a35720c2fed2c7f043bc7e4ffb45e073.woff
Binary file not shown.
Binary file removed public/a3de2170e4e9df77161ea5d3f31b2668.ttf
Binary file not shown.
7 changes: 0 additions & 7 deletions public/about/index.html

This file was deleted.

33 changes: 0 additions & 33 deletions public/bundle.js

This file was deleted.

1 change: 0 additions & 1 deletion public/bundle.js.map

This file was deleted.

7 changes: 0 additions & 7 deletions public/contact/index.html

This file was deleted.

Binary file removed public/db812d8a70a4e88e888744c1c9a27e89.woff2
Binary file not shown.

0 comments on commit a75d286

Please sign in to comment.