-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Documentation Improvements: Variables/Helpers #1489
Comments
Ok, looks like the alternative value in the |
Hey @derikb 👋 One option for advanced users and theme makers is to use those variables directly. These will be the variables available by default: In the front matter at the top you can create your own too: title: one two three
tags:
- four
- five
- six
customThing: seven In the template it should be available as Default use:
So, if you know how to edit the templates you can access and loop through each of these things. The database it's using is called warehouse. It has a lot of nifty queries it can do. If you start using that in your theme and want some help just ping us back! Was any of that of help? |
Not really... @tcrowe but thanks for responding... Does looping through And |
If you jump into your templates in |
@derikb I have made various PR on |
Check List
Please check followings before submitting a new feature request.
Feature Request
New to Hexo and finding some inadequacies in some of the documentation.
list_
helpers) the "style" option doesn't offer what one can use if one doesn't want the default "list". What other options are there?page.next
andpage.prev
vars (which seem to return some kind of page/post object, but I'm not totally clear the limits of what properties it has.page.tags
andpage.categories
return some kind of object, but I can't find any documentation about what vars those objects might have.The text was updated successfully, but these errors were encountered: