Skip to content

Instruction of Theme Profile

Viosey edited this page Jan 3, 2017 · 3 revisions

Read the Docs & Introduction at Material Theme

阅读文档和介绍在 Material Theme


Theme Profile Structure

head

The head entry is used to configure the header information of the generated HTML file.

  • favicon
  • high_res_favicon: HD favicon
  • high_res_favicon: iOS Home button icon Keywords: site keywords

url

The url entry sets the links.

  • about: default value is empty, when you generate the about page, the # can be removed, the entrance will be displayed in the blog_info section page drop-down menu.
  • daily_pic: Set daily_pic module url.
  • logo: Set the URL of the logo in the blog_info module.

uiux

The uiux entry sets the theme UI and UX.

  • slogan: The slogan displayed in the blog_info module
  • theme_color: Theme The main color. This color is used in most places
  • theme_sub_color: Theme auxiliary color. Where FAB uses this color
  • hyperlink_color: The color of the hyperlink.
  • android_chrome_color: Chrome Chrome address bar color.
  • fade_effect: Part of the module fade effect when the page loading. The default value is true.
  • nprogress_color: The color of the top loading progress bar when the page loads.
  • nprogress_buffer: The buffer of the top loading progress bar when the page loads.

thumbnail

Settings of Article Thumbnails.

  • purecolor: Fill in the color code. If no thumbnails are set in the article, and the item is not empty, a pure color thumbnail is used.
  • random_amount: The number of random pictures, according to the pictures number in theme folder -> source -> img -> random.

background

The background entry sets the site background.

  • purecolor: Fill in the color code. The site uses a solid background.
  • bgimg: background address, the default call theme folder -> source -> img`` bg.png. You can replace this picture or fill in their own url.

img

The img entry sets the site image.

  • logo: Displayed in the blog_info module.
  • avatar: Your avatar settings.
  • daily_pic: Displayed in the daily_pic module.
  • sidebar_header: Shown at the top of sidebar.
  • footerico: Sets the path of the SNS icon in footer.
  • upyun_logo: the default comment out. The annotation is displayed at the bottom of sidebar. Used to shoot the use of cloud alliance.
  • random_thumbnail: The path of the random thumbnail.

sns

The sns fieled is used to fill in your SNS information, and in addition to email, other information will be displayed as a button in footer.

  • email: Displayed in the sidebar.
  • twitter
  • facebook
  • googleplus
  • weibo
  • instagram
  • tumblr
  • github

pages

This entry is used to set up a independent page, the default is empty, fill out the independent page entry will be displayed in the blog_info Pages button drop-down menu and the sidebar independent page.

Refer to the configuration style

Pages:
    Links: "/links/"
    Timeline archive: "/timeline/"

comment

More to say Set up reference Duoshuo

  • use:
  • shortname:
  • duoshuo_embed_js_url: Duoshuo s js.

leancloud

Specific settings Set Leancloud

  • enable: Default is false.
  • app_id: APP ID.
  • app_key: APP Key.
  • av_core_mini: Statistics js.

busuanzi

Specific settings refer to Busuanzi

  • enable: Defaults to false.
  • all_site_uv: The default is false.
  • post_pv: The default is false.
  • busuanzi_pure_mini_js: Statistics js.