Questions tagged [hexo]

Hexo is a blog framework powered by Node.js.

Hexo is a blog framework powered by Node.js. It parses posts with Markdown content or other render engines and generates static files with a theme.

280 questions
0
votes
1 answer

hexo deleting post error ENOENT: no such file or directory

I run hexo on my Mac. It works very well until i want to delete the hello-world.md post. I delete the post in the following order. delete the hello-world.md in source/_post run hexo clean to delete the database (db.json) and assets folder run hexo…
shellhue
  • 569
  • 6
  • 12
0
votes
1 answer

When I run 'hexo deploy' ,there is something wrong

fatal: unable to access 'http://github.com/***/***.github.io.git/': Recv failure: Connection reset by peer when I run 'hexo generate -d' ,there is a wrong message like that
Baochang Li
  • 891
  • 1
  • 6
  • 7
0
votes
1 answer

Failed to install dependencies when npm install hexo-cli -g

when I run npm install hexo-cli -g in git bash terminal in my computer, I experience a network proxy issue as shown by image below: code in the git bash
0
votes
1 answer

How do I insert this code into a hexo markdown?

I can't get this piece of code inserted into Hexo .md markdown page.

Works

    {{#each model as |w index|}}
  • {{w.title}}

    Owner: {{w.owner}}

Hao
  • 6,291
  • 9
  • 39
  • 88
0
votes
1 answer

How can find place referencing a js file?

I'm using hexo and yilia theme to build my blog,but when I visit my blog,I see some error on chrome console: I want to change the two js reference to https,but I don't know where I can find the place referencing these files,anyone knows please help…
starkshang
  • 8,228
  • 6
  • 41
  • 52
0
votes
2 answers

Hexo can't deploy

I can't deploy?when I exc hexo server after hexo generate,I can see the page that should be.But when I exc hexo deploy It prompt: To https://github.com/gabygoole/gabygoole.github.io.git ! [remote rejected] master -> master (failed to lock) error:…
Gaby
  • 130
  • 1
  • 8
0
votes
1 answer

npm-deployer-git cannot be installed

I want to push my hexo site on my github.When I tried this hexo d and it said ERROR Deployer not found: git. So I tried to install it, but got what follows. clatisus@clatisus-GL552JX:~$ npm install hexo-deployer-git --save npm WARN optional Skipping…
clatisus
  • 3
  • 2
0
votes
1 answer

Data Visualization Blog using a Static Site Generator

I recently came across static site generators like Hexo and DocPad. The ease with which the blog can be built is incredible. Are there plugins that integrate with these generators to include interactive charts on your blog? Are static site…
takeradi
  • 3,661
  • 7
  • 29
  • 53
0
votes
1 answer

Hexo: How to Query DB in a plugin?

I'm trying to create a plugin for Hexo and it's in the scripts folder. I'm trying to write tests for it as a develop it with jasmine-node. How do I make db queries in my spec file? For instance, I don't have the site variable available and writing…
bill-lamin
  • 343
  • 1
  • 3
  • 19
0
votes
1 answer

What makes code's border become white?( code is from my hexo blog article ,edited with markdown editor))

I'm writing on my new blog, which was established by hexo (theme). I used cmd markdown editor, when I previewed blog article by chrome, just found that there was an unexpected white border around my code. Just like this: white border around my code…
Hello Wor1d
  • 453
  • 4
  • 9
0
votes
1 answer

Can't deploy Hexo blog to Github in Cloud9

I set a Hexo blog in Cloud9. I can generate it well, but nothing works when deploy to Github. It doesn't return any error information, but nothing has been pushed to Github. I don't know what to do. terminal info ... INFO Generated:…
Laker
  • 1
  • 2
0
votes
1 answer

Start hexo to generate a watch in a gulpfile.js?

I have the following gulpfile.js var gulp = require('gulp'), browserSync = require('browser-sync'), sass = require('gulp-sass'), bower = require('gulp-bower'), notify = require('gulp-notify'), reload …
chrisjlee
  • 21,691
  • 27
  • 82
  • 112
0
votes
1 answer

github pages access with username.github.io not same with custom domain

I used jekyll before and now I want to use hexo to generate my pages. Well, I changed the username.github.io to jekyll-blog and add a new username.github.io. Now I can see the new blog with username.github.io, But my custome domain oohcode.com still…
oohcode
  • 431
  • 2
  • 6
0
votes
1 answer

Error when attempting to install hexo

When I installed Hexo, I got this error. I don't know what's happend? Can someone help me? C:\Users\LiuHu>npm install hexo-cli -g npm WARN optional dep failed, continuing fsevents@0.3.5 C:\Users\LiuHu\AppData\Roaming\npm\hexo ->…
liuhu
  • 3
  • 4
0
votes
1 answer

How to get an index number in Hexo article loop "for each"?

In Hexo.js, when you want to output some articles, you loop using .sort, .limit and .each, for example: <% site.posts.sort('date', 'desc').limit(8).each(function(post){ %>
<%= post.title %> all the…
revelt
  • 2,312
  • 1
  • 25
  • 37
1 2 3
18
19