Skip to content

Commit

Permalink
Move GitHub Edit Footer to Elements
Browse files Browse the repository at this point in the history
  • Loading branch information
yousinix committed Jan 18, 2020
1 parent e0b2133 commit 641a060
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 13 deletions.
4 changes: 4 additions & 0 deletions _includes/elements/github-edit-footer.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<footer>
This page is <b>open source</b>. Noticed a typo? <br />
Or something unclear? {% github_edit_link "Improve it on GitHub" %}.
</footer>
5 changes: 0 additions & 5 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,3 @@ <h1><b>{{ page.title }}</b></h1>
</p>

{{ content }}

<footer>
This page is <b>open source</b>. Noticed a typo? <br />
Or something unclear? Improve it on {% github_edit_link "GitHub" %}.
</footer>
5 changes: 1 addition & 4 deletions docs/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,4 @@ portfolYOU provides a good number of social networks, but if you want to add you
[cards-hover]: https://www.youtube.com/watch?v=2qQxwT-Qm5E
[vertical-timeline]: https://www.youtube.com/watch?v=TP4THzsAa3M&t=2s

<footer>
This documentation is <b>open source</b>. Noticed a typo? <br>
Or something unclear? Improve it on {% github_edit_link "GitHub" %}.
</footer>
{% include elements/github-edit-footer.html %}
5 changes: 1 addition & 4 deletions docs/elements.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,4 @@ <h1>Elements</h1>
{{ element }}
{% endfor %}

<footer>
This page is <b>open source</b>. Noticed a typo?<br>
Or something unclear? Improve it on {% github_edit_link "GitHub" %}.
</footer>
{% include elements/github-edit-footer.html %}

0 comments on commit 641a060

Please sign in to comment.