Skip to content

Commit

Permalink
Use page's category name instead of section for reporting issues. (#140)
Browse files Browse the repository at this point in the history
The variable is mapped onto the page from _config.yml.
  • Loading branch information
jackorp authored Mar 26, 2024
1 parent cc38fd9 commit c160c36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</div>

<a target="_blank" href="https://github.com/developer-portal/content/edit/master{{page.dir}}{{page.name}}" class="btn btn-default">Edit this page</a>
<a target="_blank" href="https://github.com/developer-portal/content/issues/new?title={{page.section}}:+{{page.subsection}}+{{page.name}}&body=Describe+the+problem" class="btn btn-default">Report an issue</a>
<a target="_blank" href="https://github.com/developer-portal/content/issues/new?title={{page.category-name}}:+{{page.subsection}}+{{page.name}}&body=Describe+the+problem" class="btn btn-default">Report an issue</a>
</div>
<div class="col-sm-9">
<div class="panel panel-default content-content">
Expand Down

0 comments on commit c160c36

Please sign in to comment.