Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDocumentation Improvements: Variables/Helpers #3650
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: sevenIn 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 |
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.nextandpage.prevvars (which seem to return some kind of page/post object, but I'm not totally clear the limits of what properties it has.page.tagsandpage.categoriesreturn some kind of object, but I can't find any documentation about what vars those objects might have.