commit 6e78600967d33e7c6a4180e34fdacf337fc7249b Author: XPoet Date: Thu Mar 12 19:35:27 2020 +0800 initial commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d866945 --- /dev/null +++ b/.gitignore @@ -0,0 +1,44 @@ +# See http://help.github.com/ignore-files/ for more about ignoring files. + +# compiled output +/dist +/tmp +/out-tsc + +# dependencies +/node_modules +yarn.lock + +# IDEs and editors +/.idea +.project +.classpath +.c9/ +*.launch +.settings/ +*.sublime-workspace + +# IDE - VSCode +.vscode/* +# !.vscode/settings.json +# !.vscode/tasks.json +# !.vscode/launch.json +# !.vscode/extensions.json + +# misc +/.sass-cache +/connect.lock +/coverage +/libpeerconnection.log +npm-debug.log +testem.log +/typings + +# e2e +/e2e/src/*.js +/e2e/src/*.map +/cypress/screenshots + +# System Files +.DS_Store +Thumbs.db \ No newline at end of file diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..1aed054 --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2020 XPoet + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..0e1964e --- /dev/null +++ b/README.md @@ -0,0 +1,53 @@ +# Poem + +A simple and beautiful theme for Hexo. + +- [Preview](https://github.com/XPoet/hexo-theme-poem) + +## Installation + +### Install + +``` bash +$ git clone git@github.com:XPoet/hexo-theme-poem.git themes/poem +``` + +### Enable + +Modify `theme` setting in `_config.yml` to `poem`. + +### Update + +``` bash +cd themes/poem +git pull +``` + +## Configuration + +``` yml +# Header +menu: + Home: / + Archives: /archives +rss: /atom.xml + +# Content +excerpt_link: Read More +fancybox: true + +# Sidebar +sidebar: right +widgets: +- category +- tag +- tagcloud +- archives +- recent_posts + +# Miscellaneous +google_analytics: +favicon: /favicon.png +twitter: +google_plus: +``` \ No newline at end of file diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..e69de29 diff --git a/package.json b/package.json new file mode 100644 index 0000000..09fffe7 --- /dev/null +++ b/package.json @@ -0,0 +1,19 @@ +{ + "name": "hexo-theme-poem", + "version": "0.0.1", + "description": "A simple and beautiful theme for Hexo.", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "repository": { + "type": "git", + "url": "git+ssh://git@github.com/XPoet/hexo-theme-poem.git" + }, + "author": "XPoet", + "license": "MIT", + "bugs": { + "url": "https://github.com/XPoet/hexo-theme-poem/issues" + }, + "homepage": "https://github.com/XPoet/hexo-theme-poem#readme" +}