Skip to content
ย 
ย 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

31 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Flexy(Custom)

Flexy๋Š” Hexo๋ฅผ ์œ„ํ•œ ๋ธ”๋กœ๊ทธ์ด๋ฉฐ, ์ œ์ž‘์— Flexbox๋ฅผ ์ด์šฉํ–ˆ์Šต๋‹ˆ๋‹ค.

Demo

์ด์„ฑํ˜ธ์˜ ๋ธ”๋กœ๊ทธ์—์„œ ์‹ค์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค.

Usage

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๋กœ ๋ฐ”๊ฟ”์ค๋‹ˆ๋‹ค.

Features

  • 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.

Post Variables

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
---

Articles Page

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.

Fonts

๊ธฐ๋ณธ์ ์œผ๋กœ ์ œ์ฃผ ๊ณ ๋”•์ฒด๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ, Code๋Š” Fira Mono ๊ธ€๊ผด์„ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. ์œ„์น˜๋Š” source/fonts ๋””๋ ‰ํ† ๋ฆฌ์˜ WOFF, WOFF2 ํฌ๋งท์˜ ํŒŒ์ผ๋“ค์ž…๋‹ˆ๋‹ค.

Forked from

์›๋ณธ์˜ Flexy ํ…Œ๋งˆ๊ฐ€ ๊ถ๊ธˆํ•˜์‹œ๋‹ค๋ฉด sjaakvandenberg/flexy์—์„œ ์•Œ์•„๋ณด๋Š” ๊ฒƒ์„ ์ถ”์ฒœํ•ฉ๋‹ˆ๋‹ค.

About

A custom flexy theme for Hexo

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages