Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 23 01:02
    jk195417 closed #4740
  • Jul 23 01:02
    jk195417 commented #4740
  • Jul 22 06:50
    tcatche edited #4744
  • Jul 22 06:48
    tcatche edited #4744
  • Jul 22 05:55
    coveralls commented #4744
  • Jul 22 05:54
    tcatche opened #4744
  • Jul 22 05:42
    coveralls commented #4743
  • Jul 22 02:05
    SukkaW commented #4724
  • Jul 22 02:04
    SukkaW commented #4724
  • Jul 22 02:04
    SukkaW commented #4724
  • Jul 21 21:47
    tomap commented #4743
  • Jul 21 21:45
    coveralls commented #4743
  • Jul 21 21:43
    tomap opened #4743
  • Jul 21 10:04
    jehy synchronize #4435
  • Jul 21 02:20
    kuole-o closed #4742
  • Jul 21 02:20
    kuole-o commented #4742
  • Jul 21 02:04
    kuole-o opened #4742
  • Jul 21 01:35
    kuole-o edited #4741
  • Jul 21 01:35
    kuole-o opened #4741
  • Jul 21 01:35
    Imane219 commented #4682
GoogTech
@GoogTech
i am a Junior and come from China ~
it's my hexo blog for learning programming : https://yubuntu0109.github.io/
there have any suggesstions for me ?
Hanyuu Lu
@HanyuuLu
Cool.
It seems that your link named test is not accessable?
GoogTech
@GoogTech
yes
Hanyuu Lu
@HanyuuLu
Your link to weibo pointed to your personal website.
I am an undergraduate in Nanjing and followed you in GitHub.
Your blogs are excellent and I learnt a lot.
GoogTech
@GoogTech
@HanyuuFurude
thanks for your appreciation, the link will be updated tonight ~ 🍻
sorry,a little late to reply .
Lokendra
@l0k3ndr
I guess, I think I kinda did a mistake. I recently started using hexo, and really it's useful. But I didn't knew that the code was not saved in my github.io repository. I thought it just commits the whole thing there. So I deleted my local copy, thinking later on I will get it back from my github. but when I checked now, I don't know how to setup hexo back again from the repo.
LiuBenben
@hibbb
@l0k3ndr It seems like that you used the deploy tool in hexo, but it only upload the generated files to the remote repo. If you delete the local files, the sourse files will disappeared forever.
Lokendra
@l0k3ndr
@liubenbencom Yes :( V_V V_V I had to recreate the source. This time I created a separate repo. I mean I just didn't knew that hexo won't save it. stupid of me to make that assumption.
Sergey Kryvets
@skryvets

How to properly regsiter a filter?
Following documentation on the website:

hexo.extend.filter.register('before_post_render', function (data) {
  console.log(Object.keys(data))
  console.log(data)
  data.title = data.title.toUpperCase()
  return data
})

Doesn't log anything which means it's not being executed.

I created a "scripts" folder and put this code in there, inside my-script.js file
kurt willis
@willisk
a little late, but is your scripts folder located in root/scripts and not in root/source/scripts?
Igal Tabachnik
@hmemcpy
Hello! I have a question about deploying. I noticed that every time my blog is deployed to gh-pages (using the deployer plugin), all of the old posts become "Edited" with the same date. Shouldn't only the changed posts become edited? How does hexo detect changes?
任我行
@FuShaoLei
I'm developing a theme recently,and i have some problem.one of problem is how to show all catigories and post,i mean like this```
categories1 - post1,categories2 - post2
GhostBasenji
@GhostBasenji
Hi everyone. I liked hexo. There is a bit of a problem. I chose the theme Aloha. There are no "Archive", "Tags", or "Categories"categories. And all. I don't know where to dig or what to write. I'm sorry if I disturbed you.
Ángel Cervera Claudio
@angelcervera

Hi all. One problem rendering this simple markdown:

```text
Hello
```

{% post_link recycled_homemade_cluster 'Recycled homemade cluster' %}

```text
Hello
```

{% post_link recycled_homemade_cluster 'Recycled homemade cluster' %}

image.png
Why is rendering it correctly the second time, but it is not doing it the first time?
Rukshan Ranatunge
@rukshn
Hi can anyone tell me if there is a way to select the fist n number of posts?
Falon Darville
@falondarville
@rukshn can you elaborate on what you're trying to do? I might be able to help
Sergey Zwezdin
@sergeyzwezdin
Hello!
Are there any filter in Hexo that runs before starting generating?
I see there is before_generate, but it runs after before_post_render.
I’d like to have something that runs before before_post_render on every site rebuild, i.e. if I run hexo server and change anything, I’d like to have a filter that runs before everything starting generating.
Sergey Zwezdin
@sergeyzwezdin

Anyone using Hexo with Contentful: https://www.contentful.com/

@amirrustam have you found anything?

Shane Liesegang
@sjml

Looking at moving a site from Hugo to Hexo and I'm currently a little confused about permalinks and the generated output. When I call url_for(page.path) in a template, it correctly outputs directory/page-name, but the output files are directory/page-name.html. With Hugo, I would instead get directory/page-name/index.html.

I tried building the source code for the Hexo website and it looks like it also generates directory/page-name.html, but the served site works fine with directory/page-name. I'm guessing it's using URL rewriting on the server to handle that.

Basically I'm wondering if there's any way to get the generated files to be directory/page-name/index.html, but I can't seem to find any documentation around this. Is the expectation that you simply let the server do the rewrites? (I found it weird that hexo server doesn't handle the configured permalinks that way, but that made me suspect that maybe my configuration is all wrong...)

Qws
@Qws
Any reason why you're switching from Hugo to Hexo?
Shane Liesegang
@sjml
@Qws Just investigating other options -- Hugo's nature as a compiled executable helps it be super fast, but makes it less flexible in general. (Wanting to monkey around with some of the lower level markdown stuff and I'd basically have to commit to maintaining my own fork.)
Dumindu
@iamcyberprep_twitter
Hi guys,
anybody faced this issue; converting { } in code blocks, to { and } ?
hexojs/hexo#4385
makergyt
@MakerGYT
Recommend a stable and accurate mathematical formula renderer => markdown-it-latex2img,
Thomas vader
@Thomasvader
Excuse me? How to automatically execute webpack.config.js with themes written in hexo.
makergyt
@MakerGYT
hexo 小程序
wjykyhhh
@wjykyhhh
Hi, I meet a problem when use hexo -d. It will stop after copying docs to .deploy_git. Can some one help me?
Mimi
@stevenjoezhang
This issue has been fixed in hexo-deployer-git version 3.0.0
Borche
@DeepSpaceHarbor
👋 I could use some feedback from the core team on this PR.
There is open discussion if a plugin name should be the same as the package name.
hexojs/site#1577
wjykyhhh
@wjykyhhh
Thanks!
PaddyMC233
@PaddyMC233
•ᴗ•
干志雄
@GanZhiXiong
hexo new --path go/hello world "hello world" will generate a file called hello world.md in the source/_posts/go/ directory with the title hello world. But what if I omit "hello world "from the command and let the filename generate the title?
hexo new --path go/hello world "hello world” 将会在 source/_posts/go/ 目录下生成 hello world.md文件,并且标题为”hello world”。但是我省略命令中的"hello world”, 让文件名生成标题该如何写呢?
PlayBox Tech
@PlayBoxTech
Hi all, rather new to using Hexo. I was curious if I assign tags or categories to posts, can I easily have it linked to others with the same posts? or build a page listing all with the same tag / category? or are they not really used yet?
Yann Duran
@yannduran
yes you can definitely have Hexo display pages based on categories/tags, but you'll have to read the docs as I set mine up some time ago and I don't recall what I had to do off the top of my head