zhanglun / hexo-theme-Tinny

a theme for hexo
21 stars 10 forks source link

Can't change the theme #1

Closed DerekYangYC closed 10 years ago

DerekYangYC commented 10 years ago

When I follow the installation instruction, following happens:

$ hexo g
[error] { name: 'HexoError',
  reason: 'incomplete explicit mapping pair; a key node is missed',
  mark:
   { name: null,
     buffer: 'categories: Categories\nsearch: Search\ntags: Tags\ntagcloud: Tag Cloud\nprev: Prev\nnext: Next\ncomment: Comments\ncontents: Contents\narchive_a: Archives\narchive_b: Archives: %s\npage: Page %d\nrecent_posts: Recent Posts\nmenu: Menu\nlinks: Links\nrss: RSS\nshowsidebar: Show Sidebar\nhidesidebar: Hide Sidebar\nupdated: Updated\n\u0000',
     position: 167,
     line: 9,
     column: 19 },
  message: 'Process failed: languages/default.yml',
  domain:
   { domain: null,
     _events: { error: [Function] },
     _maxListeners: 10,
     members: [ [Object] ] },
  domainThrown: true,
  stack: undefined }

Don't know why. BTW, I have successfully installed pacman theme

zhanglun commented 10 years ago

I am really really sorry for this. I am woking on a new theme, and changed the path of Tinny. But forget to change theinstallation instruction.

Please try this:

Installation

Install

$ git clone https://github.com/zhanglun/hexo-theme.git

Enable

Modify codetheme/code setting in blog folder code_config.yml/code to codeTinny/code.

theme: hexo-theme/Tinny

Update

cd themes/hexo-theme git pull

please backup your _config.yml file before update.

If you have any issues, just let me know :D

Original Message Sender:DerekYangYCnotifications@github.com Recipient:zhanglun/hexo-themehexo-theme@noreply.github.com Date:Monday, Aug 4, 2014 11:34 Subject:[hexo-theme] Can't change the theme (#1)

When I follow the installation instruction, following happens: $ hexo g [error] { name: 'HexoError', reason: 'incomplete explicit mapping pair; a key node is missed', mark: { name: null, buffer: 'categories: Categories\nsearch: Search\ntags: Tags\ntagcloud: Tag Cloud\nprev: Prev\nnext: Next\ncomment: Comments\ncontents: Contents\narchive_a: Archives\narchive_b: Archives: %s\npage: Page %d\nrecent_posts: Recent Posts\nmenu: Menu\nlinks: Links\nrss: RSS\nshowsidebar: Show Sidebar\nhidesidebar: Hide Sidebar\nupdated: Updated\n\u0000', position: 167, line: 9, column: 19 }, message: 'Process failed: languages/default.yml', domain: { domain: null, _events: { error: [Function] }, _maxListeners: 10, members: [ [Object] ] }, domainThrown: true, stack: undefined } Don't know why. BTW, I have successfully installed pacman theme — Reply to this email directly or view it on GitHub.

DerekYangYC commented 10 years ago

I love your theme~but your above approach doesn't work either

I deleted the old Tinny folder and cloned again.

The error remains the same:

$ hexo g
[error] { name: 'HexoError',
  reason: 'incomplete explicit mapping pair; a key node is missed',
  mark:
   { name: null,
     buffer: 'categories: Categories\nsearch: Search\ntags: Tags\ntagcloud: Tag Cloud\nprev: Prev\nnext: Next\ncomment: Comments\ncontents: Contents\narchive_a: Archives\narchive_b: Archives: %s\npage: Page %d\nrecent_posts: Recent Posts\nmenu: Menu\nlinks: Links\nrss: RSS\nshowsidebar: Show Sidebar\nhidesidebar: Hide Sidebar\nupdated: Updated\n\u0000',
     position: 167,
     line: 9,
     column: 19 },
  message: 'Process failed: languages/default.yml',
  domain:
   { domain: null,
     _events: { error: [Function] },
     _maxListeners: 10,
     members: [ [Object] ] },
  domainThrown: true,
  stack: undefined }
DerekYangYC commented 10 years ago

Item closed