I wear different colors (based on Flat UI Colors):
Note: If you're not familiar with Jekyll, please read up on Jekyll's documentation first.
Fork this repo, clone it, and then run:
bundle install
...which installs github-pages
gem. After that, run the server:
jekyll serve --watch
Once the server is started, you must go to http://localhost:4000/shiori/, since baseurl
is set as "/shiori"
initially.
To use http://localhost:4000/, change baseurl
in _config.yml
to ""
.
To keep Shiori up to date, follow these steps:
- Configure a remote for a fork
- Sync a fork (Note: Use
gh-pages
instead ofmaster
.)
You should change these files before deploying:
_config.yml
: You must changebaseurl
,url
, andtitle
. Others are optional.- Make sure to restart the server after you update
_config.yml
.
- Make sure to restart the server after you update
CNAME
: Change this to host Shiori on a custom domain.README.md
: Write your own README!_includes/nav.html
: Modify or remove navigation links._includes/nav-right.html
: Modify or remove navigation links._includes/sidebar.html
: Customize the side bar._includes/post-header.html
: Customize the post header._includes/post-footer.html
: Customize the post footer._includes/footer.html
: Add copyright info, etc.
You may customize these files - they're optional:
favicon.ico
: Favicon.about.html
: About page. Currently not linked from anywhere._includes/head.html
: Extra stuff in the<head>
tag._includes/scripts.html
: Extra stuff before the</body>
tag._includes/post-header-home.html
: Customize the post header on the home page.
To change my color theme, edit _data/theme.yml
.
You can customize CSS by editing these files:
_sass/custom-bootstrap-variables.scss
: Change Bootstrap variables (documentation)._sass/custom-scss.scss
: Add your own custom CSS.
- Shu Uesugi - for the guidance on this project.