Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
孙崇升 committed Nov 15, 2015
1 parent ba4fd4b commit a06df73
Show file tree
Hide file tree
Showing 14 changed files with 73 additions and 26 deletions.
32 changes: 6 additions & 26 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,7 @@
# Logs
logs
.DS_Store
Thumbs.db
db.json
*.log

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules
node_modules/
public/
.deploy*/
15 changes: 15 additions & 0 deletions gulpfile.babel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import gulp from 'gulp';
import sass from 'gulp-sass';
import autoprefixer from 'gulp-autoprefixer';

gulp.task('sass', function() {
return gulp.src('./source/scss/*.scss')
.pipe(sass({outputStyle: 'compressed'}))
.pipe(autoprefixer())
.pipe(gulp.dest('./source/css'))
});

gulp.task('default', ['sass'], function() {
gulp.watch('./source/scss/**/*.scss', ['sass']);
gulp.watch('./source/scss/jekyll.scss', ['sass']);
});
Empty file added languages/en.yaml
Empty file.
Empty file added languages/zh-cn.yaml
Empty file.
2 changes: 2 additions & 0 deletions layout/_partial/footer.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
footer
p @ 2015 Sean Sun
10 changes: 10 additions & 0 deletions layout/_partial/head.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
meta(charset="utf-8")
meta(name="X-UA-Compatible", content="IE=edge")

title
block site_title
= config.title
meta(name="description", content= config.description ? config.description : 'A Blog Powered By Hexo')
meta(name="viewport", content="width=device-width, initial-scale=1")
link(rel="short icon", href=url_for("favicon.png"))
link(rel="stylesheet", href=url_for("css/apollo.css"))
7 changes: 7 additions & 0 deletions layout/_partial/layout.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
doctype
html(lang=config.language)
head
include head
body
include footer
include scripts
Empty file added layout/_partial/scripts.jade
Empty file.
Empty file added layout/archive.jade
Empty file.
1 change: 1 addition & 0 deletions layout/index.jade
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends _partial/layout
Empty file added layout/post.jade
Empty file.
31 changes: 31 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"name": "hexo-theme-jekyll",
"version": "0.1.0",
"description": "A hexo theme inspire by jekyllrb.com",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "https://github.com/pinggod/hexo-theme-jekyll"
},
"keywords": [
"hexo",
"theme",
"jekyll"
],
"author": "Sean Sun",
"license": "MIT",
"bugs": {
"url": "https://github.com/pinggod/hexo-theme-jekyll/issues"
},
"homepage": "https://github.com/pinggod/hexo-theme-jekyll#readme",
"devDependencies": {
"babel-core": "^5.8.25",
"gulp": "^3.9.0",
"gulp-autoprefixer": "^3.0.2",
"gulp-sass": "^2.0.4",
"gulp-sourcemaps": "^1.6.0"
}
}
Empty file added source/css/apollo.css
Empty file.
1 change: 1 addition & 0 deletions source/scss/apollo.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@charset "utf-8";

0 comments on commit a06df73

Please sign in to comment.