Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jun 25 06:34
    stevenjoezhang transferred #5009
  • Jun 25 05:15
    yuanoOo edited #5009
  • Jun 25 05:15
    yuanoOo edited #5009
  • Jun 25 05:15
    yuanoOo edited #5009
  • Jun 25 05:14
    yuanoOo edited #5009
  • Jun 25 05:14
    yuanoOo edited #5009
  • Jun 25 05:13
    yuanoOo opened #5009
  • Jun 25 00:18
    kebuAAA commented #5004
  • Jun 24 23:13
    coveralls commented #5008
  • Jun 24 23:11
    github-actions[bot] commented #5008
  • Jun 24 23:11

    dependabot[bot] on npm_and_yarn

    (compare)

  • Jun 24 23:11
    dependabot[bot] closed #4997
  • Jun 24 23:11
    dependabot[bot] commented #4997
  • Jun 24 23:11

    dependabot[bot] on npm_and_yarn

    chore: bump lint-staged from 11… (compare)

  • Jun 24 23:11
    dependabot[bot] labeled #5008
  • Jun 24 23:11
    dependabot[bot] labeled #5008
  • Jun 24 23:11
    dependabot[bot] opened #5008
  • Jun 24 06:19
    kebuAAA closed #5004
  • Jun 24 05:53
    stevenjoezhang commented #5004
  • Jun 24 05:52
    stevenjoezhang commented #4961
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
Dimas Lanjaka
@dimaslanjaka
hi guys. how to detect current page is post or archive on plugin. after_render:html ?
kim
@slbing
hi guys. I am useing hexo-theme-doc to my software doc site, but meet some problem, who can't help me?
Leodeng
@leodenglovescode
Hi guys, my theme was working when I uploaded the code to Github, but after I used my custom domain, the website loaded nothing except text from the original texts, Can anyone help me? I desperately need it.
Leodeng
@leodenglovescode
anyone here?
张沪歌
@zhanghuge
first
rarepublic
@rarepublic:matrix.org
[m]
Anyone has an idea why hexo does not generate/render a simple (more-or-less) static index.njk into a index.html (no hexo-generator-index used)?