diff --git a/404.html b/404.html new file mode 100644 index 0000000..9324fb9 --- /dev/null +++ b/404.html @@ -0,0 +1,64 @@ +--- +layout: page +header-img: "img/red.jpg" +description: "你来到了一片荒芜之地" +permalink: 404.html +--- + +
你来到这个页面,通常有两个原因
+ +原因:博客搬迁造成的旧链接失效。
+ +例子:《如何搭建一个独立博客——简明Github Pages与Hexo教程》的链接是
+ + http://cnfeat.com/2014/05/10/how-to-build-a-blog/
+
+请修改成
+ + http://cnfeat.com/blog/2014/05/10/how-to-build-a-blog/
+
+改动要点:在 http://cnfeat.com/ 与 日期(2014/05/10/)之间加入 blog/
+ +标注:http://cnfeat.com/【blog/】2014/05/10/how-to-build-a-blog/
+ +即加入【】内的「blog/」字样。
+ +不明力量入侵,你想要访问的页面被摧毁了。
+ + + + + + + + ++ + + + + + + +
+---x-----mm-- + /^( )^\ + \,(..),/ Oops... + V~~V +一定是发生了什么可怕的事情.... +
+ diff --git a/CNAME b/CNAME new file mode 100644 index 0000000..cf14ccd --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +cnfeat.com diff --git a/Gruntfile.js b/Gruntfile.js new file mode 100644 index 0000000..08a04e2 --- /dev/null +++ b/Gruntfile.js @@ -0,0 +1,74 @@ +module.exports = function(grunt) { + + // Project configuration. + grunt.initConfig({ + pkg: grunt.file.readJSON('package.json'), + uglify: { + main: { + src: 'js/<%= pkg.name %>.js', + dest: 'js/<%= pkg.name %>.min.js' + } + }, + less: { + expanded: { + options: { + paths: ["css"] + }, + files: { + "css/<%= pkg.name %>.css": "less/<%= pkg.name %>.less" + } + }, + minified: { + options: { + paths: ["css"], + cleancss: true + }, + files: { + "css/<%= pkg.name %>.min.css": "less/<%= pkg.name %>.less" + } + } + }, + banner: '/*!\n' + + ' * <%= pkg.title %> v<%= pkg.version %> (<%= pkg.homepage %>)\n' + + ' * Copyright <%= grunt.template.today("yyyy") %> <%= pkg.author %>\n' + + ' * Licensed under <%= pkg.license.type %> (<%= pkg.license.url %>)\n' + + ' */\n', + usebanner: { + dist: { + options: { + position: 'top', + banner: '<%= banner %>' + }, + files: { + src: ['css/<%= pkg.name %>.css', 'css/<%= pkg.name %>.min.css', 'js/<%= pkg.name %>.min.js'] + } + } + }, + watch: { + scripts: { + files: ['js/<%= pkg.name %>.js'], + tasks: ['uglify'], + options: { + spawn: false, + }, + }, + less: { + files: ['less/*.less'], + tasks: ['less'], + options: { + spawn: false, + } + }, + }, + }); + + // Load the plugins. + grunt.loadNpmTasks('grunt-contrib-uglify'); + grunt.loadNpmTasks('grunt-contrib-less'); + grunt.loadNpmTasks('grunt-banner'); + grunt.loadNpmTasks('grunt-contrib-watch'); + + // Default task(s). + grunt.registerTask('default', ['uglify', 'less', 'usebanner']); + +}; diff --git a/Interview.html b/Interview.html new file mode 100644 index 0000000..1a36d86 --- /dev/null +++ b/Interview.html @@ -0,0 +1,39 @@ +--- +layout: page +header-img: "img/birds.jpg" +description: "读立写生" +permalink: Interview.html +--- + + + +
+ + + + +
+