Skip to content

Commit

Permalink
Improve FAQ template
Browse files Browse the repository at this point in the history
Use separate anchor tags, so FAQ entry titles are properly rendered.

type: documentation
  • Loading branch information
casey committed Apr 20, 2020
1 parent 1380290 commit 9f48062
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ Changelog

UNRELEASED - 2020-04-20
-----------------------
- :wrench: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Make `publish-check` recipe stricter - _Casey Rodarmor <casey@rodarmor.com>_
- :books: [`xxxxxxxxxxxx`](https://github.com/casey/intermodal/commits/master) Improve FAQ template - _Casey Rodarmor <casey@rodarmor.com>_
- :wrench: [`1380290eb8e2`](https://github.com/casey/intermodal/commit/1380290eb8e222605f368bc8346a1e63c83d9af7) Make `publish-check` recipe stricter - _Casey Rodarmor <casey@rodarmor.com>_


[v0.1.6](https://github.com/casey/intermodal/releases/tag/v0.1.6) - 2020-04-20
Expand Down
4 changes: 2 additions & 2 deletions bin/gen/templates/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ FAQ
{% endfor %}

{% for entry in entries %}
<h2 name="{{entry.anchor}}">
{{entry.title}}
<a name="{{entry.anchor}}"></a>
## {{entry.title}}
</h2>

{{entry.text}}
Expand Down
4 changes: 2 additions & 2 deletions book/src/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ FAQ



<h2 name="fzf-preview">
Can intermodal be used to preview torrents with `fzf`?
<a name="fzf-preview"></a>
## Can intermodal be used to preview torrents with `fzf`?
</h2>

Yes! [@mustaqimM](https://github.com/mustaqimM) came up with the following:
Expand Down

0 comments on commit 9f48062

Please sign in to comment.