hexo-theme-icarus/source/_posts/FAQ.md

2.5 KiB

If you consider using a piece of text instead of an image as the logo of your site, you can do something like this:

{% codeblock lang:yaml _config.yml %} logo: text: My Beautiful Site {% endcodeblock %}

How do I change the site's language?

Edit your blog's _config.yml(not your theme's), change the following field:

- language: en
+ language: zh-CN

You can find available translation under icarus/languages folder.

How to add an excerpt for a post? How to display the "Read more" button?

Add <!-- more --> tag in your post. Post content before this tag will be marked as an excerpt and content after this tag will not show on the index page.

Why aren't my changes deployed to the Github Pages?

Please run these commands before hexo deploy:

$ hexo clean
$ rm -r .deploy_git

How to add meta tags for a specified post/page?

You can add meta tags for each post/page through front-matter:

title: test post
date: 2015-01-26 21:55:37
tags:
comments: false
+ meta:
+ - name="robots";content="noindex, follow"
+ - name="another-meta";value="hello world";enabled=false

Does this theme support RTL(Right-to-Left) language?

Partially yes. Please refer to Issues#234

Christopher Czermak