BurningBright

  • Home

  • Tags

  • Categories

  • Archives

  • Search

skip_render

Posted on 2017-01-24 | Edited on 2018-12-16 | In blog

No translate source dirctory

set _config.yml skip_render to ignore translate like:

1
skip_render: Demo/*.html

or more complicated, base on regular expression(not strict)

  1. under single dirctory all files:

    1
    skip_render: demo/*
  2. under single dirctory a type file:

    1
    skip_render: demo/*.html
  3. under single dirctory all files and children dirctory:

    1
    skip_render: demo/**
  4. complicated condition:

    1
    2
    3
    skip_render:
    - 'demo/*.html'
    - 'demo/**'

Hello Hexo

Posted on 2017-01-22 | Edited on 2018-12-16 | In blog

hello hexo

Command

1
2
3
$ hexo init [folder]
$ hexo new [layout] <title>
$ hexo generate
Option Description
-d, —deploy Deploy after generation finishes
-w, —watch Watch file changes

config

  Website in subdirectory

If your website is in a subdirectory (such as http://example.org/blog) set url to http://example.org/blog and set root to /blog/
Ctrl+Alt+N

  • hexo install
  • hexo server
  • hexo deploy
  1. hexo install
  2. hexo server
  3. hexo deploy
1
public staic void main(String[] args)

GitHub

octocat

1…2829

Leon

282 posts
20 categories
58 tags
GitHub
Links
  • clock
  • typing-cn
  • mathjax
  • katex
  • cron
  • dos
  • keyboard
  • regex
  • sql
  • toy
© 2017 – 2024 Leon
Powered by Hexo v3.9.0
|
Theme – NexT.Muse v7.1.2