Flexy๋ Hexo๋ฅผ ์ํ ๋ธ๋ก๊ทธ์ด๋ฉฐ, ์ ์์ Flexbox๋ฅผ ์ด์ฉํ์ต๋๋ค.
์ด์ฑํธ์ ๋ธ๋ก๊ทธ์์ ์ค์ฌ์ฉ ์ค์ ๋๋ค.
Hexo deployer์์ Subtree๋ฅผ ์ด์ฉํ์ฌ ์ฌ์ฉํฉ์๋ค.
git remote add custom-flexy https://github.com/iseongho/custom-flexy.git
git subtree add --prefix themes/flexy/ custom-flexy master
npm un -S hexo-renderer-ejs
npm i -S hexo-renderer-jade๊ทธ ํ Root์ _config.yml์์ theme๋ฅผ flexy๋ก ๋ฐ๊ฟ์ค๋๋ค.
- Written in Jade and Stylus
- Uses Flexbox
- Responsive
- Mobile first
- CSS3 animations in header
- Uses Stylus Nib
- normalize.css
- Schema.org markup
In the header, the transform3d() function is used, which triggers GPUs to render the animation. This makes the page very quick to render, as the only background image is a 2.8K big SVG. It runs without using any JavaScript out of the box.
It's mobile first, so the media queries in the source/styles/screen.styl target the landscape screens.
In the homepage post listing, you can use the post.intro variable to define an introduction. To do this, add the intro variable to your YAML in your Markdown file. Comments can be toggled with the post.comments boolean variable.
title: The Rise of the Autobots
intro: A look at the upward march of automation into the vehicles around us.
date: 2015-05-28 13:45:00
comments: false
---In your root's _config.yml, set filename_case to 1. Create a new Articles page by giving the hexo new page 'Articles' command. layout/_content.jade will output a yearly summary of posts.
๊ธฐ๋ณธ์ ์ผ๋ก ์ ์ฃผ ๊ณ ๋์ฒด๋ฅผ ์ฌ์ฉํ๋ฉฐ, Code๋ Fira Mono ๊ธ๊ผด์ ์ฌ์ฉํฉ๋๋ค. ์์น๋ source/fonts ๋๋ ํ ๋ฆฌ์ WOFF, WOFF2 ํฌ๋งท์ ํ์ผ๋ค์
๋๋ค.
์๋ณธ์ Flexy ํ ๋ง๊ฐ ๊ถ๊ธํ์๋ค๋ฉด sjaakvandenberg/flexy์์ ์์๋ณด๋ ๊ฒ์ ์ถ์ฒํฉ๋๋ค.