Skip to content

Commit

Permalink
TD-1 Add edit page and report issue links to layout
Browse files Browse the repository at this point in the history
  • Loading branch information
brianzelip committed Aug 31, 2024
1 parent 5e78c79 commit 4ca372a
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ github: # recreate gh-pages api
repository_nwo: archivesspace/tech-docs
owner_url: https://github.com/archivesspace
owner_name: ArchivesSpace
edit_base_url: https://github.com/archivesspace/tech-docs/edit/master/
new_issue_base_url: https://github.com/archivesspace/tech-docs/issues/new?title=Problem+on+
20 changes: 20 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,26 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
</ul>
{% endif %}

<p>
<a
href="{{ site.github.edit_base_url }}{{ page.path }}"
title="Edit {{ page.path }} on GitHub"
>
Edit this page on GitHub
<small>{{ page.path }}</small>
</a>
</p>

<p>
<a
href="{{ site.github.new_issue_base_url }}{{ page.path | url_encode }}"
title="Report issue with {{ page.path }} on GitHub"
>
Report issue on GitHub
<small>{{ page.path }}</small>
</a>
</p>
</header>
<section>

Expand Down

0 comments on commit 4ca372a

Please sign in to comment.