Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to generate tags/index.html #864

Closed
elaijuh opened this issue Sep 28, 2014 · 6 comments
Closed

how to generate tags/index.html #864

elaijuh opened this issue Sep 28, 2014 · 6 comments

Comments

@elaijuh
Copy link

elaijuh commented Sep 28, 2014

As I see some themes has tags as navigation pill and link to /tags/index.html. Default generator will not render the tags.ejs to html, how can I achieve that?

@esttorhe
Copy link

@elaijuh did you find any fixes for this?
I'm experiencing the same issue

@Xuanwo
Copy link
Contributor

Xuanwo commented Jun 22, 2015

this depands on your themes

@esttorhe
Copy link

@Xuanwo care to be a little more specific?

I would happily submit a PR to the theme I'm using in order to correctly support the tags but I have no idea why is not being generated even though tags.ejs is there

@Xuanwo
Copy link
Contributor

Xuanwo commented Jun 22, 2015

https://github.com/Xuanwo/xuanwo.github.io/tree/blog/source/tags

looks like this, and your maybe use layout instead of type


Updated after having seen your blog

Xuanwo/blog@04d6c65

your theme I have used before, you can look into this commit.
you should create a new floder named of tags, and create a index.md in it with content:

title: Tags
layout: tags

@esttorhe
Copy link

Thanks @Xuanwo; I actually looked at some themes and ended up copying and modifying the tags.ejs to match my theme with the «correct» stuff and not its working (the tags).

Will take a look at your commit and see how to better improve my hack :)

Thanks again 🙇

@Xuanwo
Copy link
Contributor

Xuanwo commented Jun 23, 2015

Nothing special, enjoy using hexo~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants