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
2
votes
3 answers

How do I use JSON/YAML in Hexo Templates?

I've looked through the documentation for Hexo in it's entirety, but I'm still not exactly sure how to integrate structured data (YAML, JSON) into a page/post using Hexo templating. The closest I could find is the File Data section of the plugins…
Roy
  • 1,468
  • 4
  • 21
  • 40
2
votes
2 answers

Why does Hexo blog show my image twice in post?

I am running a Hexo Blog on my localhost, port #4000. My Hexo blog software lives in a directory called Mongoose. I ran the server by going into Mongoose/blog and typing hexo server -d Here is what my file structure looks like: When I point my…
Saqib Ali
  • 11,931
  • 41
  • 133
  • 272
2
votes
2 answers

Repo Setup for Hexo?

I'm finally getting around to migrating my blog to some markdown goodness and hexo seemed to be the best option for me. I seem to be missing something about the workflow from hexo project to github pages though. Should the hexo project live in one…
flukus
  • 996
  • 8
  • 18
2
votes
1 answer

hexo installation using npm error

Here's my previous quesstion! So after I created a folder npm in the appdata/roaming directory as people suggeested, I tried to install HEXO with npm using npm install -g hexo but i am getting an odd error as attached…
moiaussi06
  • 221
  • 3
  • 11
2
votes
4 answers

How do I add a README.md file into the root directory of the generated blog by HEXO?

My blog is based on Github Pages and the program I'm using is HEXO the files that are generated by HEXO don't contain a README.md file so I can't make a declaration of my blog on Github repo page.So I want to add a README.md file to the folder that…
BBBBB
  • 37
  • 1
  • 10
2
votes
1 answer

How to commit and push the subfolder with .git to github?

My blog is built with hexo, which will be pushed to blog repo in github blog/ --themes/ ----pacman/ But there is a sub forder pacman. It was cloned from other repo in github, meaning it has its own .git folder. When I try to commit and push the…
macemers
  • 2,194
  • 6
  • 38
  • 55
1
vote
0 answers

How can I use JSX in Hexo markdown?

Hexo is A fast, simple & powerful blog framework. I'm trying to use a jsx in Hexo render, using a plugin hexo-renderer-react like this: In file Hightlight.jsx: import React from 'react'; export default function Highlight({children, color}) { …
luhao
  • 70
  • 7
1
vote
1 answer

Error: EISDIR: illegal operation on a directory error while generating project in Docker

I have a long running project in Hexo, and recently I wanted to update it to the newest version (6.3.0). Once done, the project works properly with no problems locally on macOS and builds properly with Docker locally, but when running it on GitLab…
Rafal Borowiec
  • 5,124
  • 1
  • 24
  • 20
1
vote
1 answer

I want to set a theme for what looks Posts

I am setting up a Git blog, and the entire content of the post is displayed on the blog screen. I want to make the post in preview form. Is there any way? For example, I want to make the first photo look like the second photo.
1
vote
1 answer

Hexo inject html

I have been given a task to add a Mailchimp signup form to a hexo generated page. It is my first time using hexo and I can't understand how to add html to it. At the moment I have generated a a .ejs file called signupform and I pasted the mailchimp…
Taavi Ansper
  • 143
  • 9
1
vote
1 answer

Why the date of the file generated by hexo is 1970

I’m using hexo to build a blog recently, but the posts generated by hexo -g have date of 1970: (base) root@DESKTOP-7SU7LQD:/mnt/d/Blog_2# ls source/_posts/ hello-world.md (base) root@DESKTOP-7SU7LQD:/mnt/d/Blog_2# hexo g ... INFO Generated:…
wutao
  • 54
  • 4
1
vote
1 answer

I just installed hexo static site generator on Debian and ran hexo server to see but it gave a TypeError

I am not sure if I did anything wrong. This is all I did, I followed the documentation to do the installation. I had git and nodejs preinstalled, to install hexo cli I ran this, sudo npm install -g hexo-cli Then I checked if hexo is installed by…
Sujee0_0
  • 33
  • 6
1
vote
0 answers

GithubAction 404 Not Found - GET https://registry.npmjs.org/Hexo

I am trying to configure github action to auto deploy hexo project. The yml like below: name: Blog Auto Deploy on: [push] jobs: build: runs-on: ubuntu-latest steps: - name: Download Source file uses: actions/checkout@v2 …
Edward
  • 28,296
  • 11
  • 76
  • 121
1
vote
1 answer

Hexo deploy: No connection to Github

When I try to deploy my Hexo blog to Github, I cannot get access to Github. And I also cannot get access to Github via Safari. Here is a bug report Proxy CONNECT aborted I am using the latest macOS.
Cino
  • 83
  • 1
  • 7
1
vote
1 answer

After hexo d, when diaplay Copying files from public folder... git stopped, i don't know why

hexo d INFO Validating config INFO Deploying: git INFO Clearing .deploy_git folder... INFO Copying files from public folder... STOPPED!!! _config.yml have blank deploy: type: git repository: https://github.com/h****t/h****t.github.io …
School boy
  • 13
  • 3