This theme is no longer maintained.
Yabu no Naka is a Ghost theme I made in college. It is named after a masterpiece of Akutagawa Ryunosuke.
Some features of this theme:
- 100% Responsive and ready for Retina
- Customizable sidebar menu and site descriptions
- 10+ social network icons
- Google Fonts
No need to upload node_modules
and src
to your production server.
For general theme installation, please refer to:
- Official instruction on ghost.org https://docs.ghost.org/installation/
For deploying your ghost blog, I personally recommend pm2.
The theme uses Gulp as build tool, which makes customization very simple and clean.
The first time your get the theme package, install dependencies:
npm install
Before making any changes, run the following command to ensure all changes is monitored and compiled:
gulp watch
Then you can make changes in src
folder, which contains all uncompressed source files. Gulp will automatically compile, compress and update changed files.
The stylesheets are written in less and will be automatically compiled into CSS with gulp-less
.
Javascript files used in this theme:
jQuery
jquery.fitvids.js
app.js
jQuery
and jquery.fitvids.js
are dependencies that will be compiled into assets/js/vendor.js
.
app.js
is the custom logics that will be compiled into assets/js/app.js
.
Modify src/js/options.json
to change theme options.
Here are the options:
y_author
author's namey_right_sidebar
set totrue
if you want the sidebar floating to righty_right_logo
set totrue
if you want the logo floating to righty_description
set
set totrue
if you want to customize the style of your site descriptiondesc
: Please be sure to write every line of your description inside<p>
tag
y_social
: Add social network icons displayed in the bottom of page
Sample configuration:
var theme_options = {
"y_author": "Art Chen",
"y_right_sidebar": false,
"y_right_logo": false,
"y_description": {
"set": true,
"desc": "<p>First line</p><p>Second line</p>",
"textalign": "center"
},
"y_social": [
{
"name": "facebook",
"url": "#"
},
{
"name": "github",
"url": "#"
}
]
}
/assets/fonts
- icons from icomoon.io/assets/js/jquery.fitvids.js
- FitVids.js by @ChrisCoyier, @davatron5000, @TrentWalton, @raygunray