hexowebsiteblog

Helpers

Helpers are used in templates to help you insert snippets quickly. Helpers cannot be used in source files. You could easily write your own custom helper or use our ready-made helpers. URLurl_forReturns a url with the root path prefixed. Output is encoded automatically. <%- url_for(path, [option]) %> Option Description Default relative Outpu..

Read more
hexowebsiteblog

Documentation

Welcome to the Hexo documentation. If you encounter any problems when using Hexo, have a look at the troubleshooting guide, raise an issue on GitHub or start a topic on the Google Group. What is Hexo?Hexo is a fast, simple and powerful blog framework. You write posts in Markdown (or other markup languages) and Hexo generates static files with a beautiful ..

Read more
hexowebsiteblog

Internationalization (i18n)

You can use internationalization to present your site in different languages. The default language is set by modifying the language setting in _config.yml. You can also set multiple languages and modify the order of default languages. language: zh-tw language: - zh-tw - en Language FilesLanguage files can be YAML or JSON files. You should put them into t..

Read more
hexowebsiteblog

Migration

RSSFirst, install the hexo-migrator-rss plugin. $ npm install hexo-migrator-rss --save Once the plugin is installed, run the following command to migrate all posts from RSS. source can be a file path or URL. $ hexo migrate rss <source> JekyllMove all files in the Jekyll _posts folder to the source/_posts folder. Modify the new_post_name setting in ..

Read more
loading..
hexowebsiteblog

One-Command Deployment

Hexo provides a fast and easy deployment strategy. You only need one single command to deploy your site to your server. $ hexo deploy Install the necessary plugin(s) that is compatible with the deployment method provided by your server/repository. Deployment is usually configured through _config.yml. A valid configuration must have the type field. For exa..

Read more
123456