GithubHelp home page GithubHelp logo

hexo-theme-aircv's Introduction

Aircv Hexo Theme

This is Hexo Theme with a beautiful style design by KeenThemes.

Is very usefull for personal branding.

model for landing in devices

view demo

Install

1.- Copy aircv in your theme folder

\themes
  \aircv
  \landscape

2.- Install theme dependencies.

$ yarn add hexo-renderer-scss hexo-filter-responsive-images imageinfo js-yaml

3.- Config theme in _config.yml

# Extensions
## Plugins: https://hexo.io/plugins/
## Themes: https://hexo.io/themes/
theme: hexo-theme-aircv

4.- Run server and customize content (see below)

$ hexo server

Customize your new site

It is a "one page" landing with well defined section.

You can configure content of your page adding yaml files for every section in your /source/_data following yaml example files in themes/aircv/source/default_data.

Follow these steps:

1.- Copy default_data yaml files to source\_data.

$ for file in themes/aircv/source/default_data/*.yaml; do cp "$file" source/_data ;done

2.- Modify every Yaml file as your convenience.

3.- Be Happy and share!!

Tips to configure

Cover hero image

As this template use parallax.js just use data-position attribute in _partial/home/hero/index.ejs to ajust hero image for responsive or use _promo-block.scss.

Example:

<div class="promo-block parallax-window"
      data-parallax="scroll"
      data-image-src="<%= hero.image %>"
      data-position="-150px center">

Set up favicon

Configure favicon is easy. Add favicon path in _config.yml.

It is possible just add favicon or add directory generated by favicon-generator.org

Example

favicon: ''
favicon_all: '/img/molavec-ico'

how to add post list (archives) to menu

  1. select archive_dir in _config.yml
  2. add menú to source/_data/menu.yaml
#_config.yml
archive_dir: blog
#source/_data/menu.yaml
- text: Blog
  href: "/blog"

Configure responsive images

In _config.yml add settings for responsive images.

responsive_images:
  priority: 1
  pattern: '**/*.+(png|jpg|jpeg)'
  sizes:
    small:
      width: 200
    thumb:
      width: 400
    medium:
      width: 800

hexo-theme-aircv's People

Contributors

molavec avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.