jaredly / jaredly/hexo-renderer-handlebars
Can't pass `class` to `link_to` helper
- Dominant language
- JavaScript
- Stars
- 25
- Forks
- 12
- PR merge metrics
- No merged PRs in 30d
Description
The built-in [`link_to`](https://hexo.io/docs/helpers.html#link-to) helper allows a `class` to be passed into it, but it doesn't appear the Handlebars version allows that to happen. I would like to be able to do something like this:
``` handlebars
{{link_to page.next "Next" class="next"}}
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the Handlebars implementation of the link_to helper and compare its supported arguments with the built-in link_to documentation linked in the issue. Confirm that the shown class="next" usage renders a link with the requested class, and add or update coverage if the repository has tests for this helper.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100