Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use GitHub metadata gem to better link source path #723

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ description: Foreman is an open source project that gives system administrators
production_url : http://theforeman.org
url: http://theforeman.org
baseurl: "" #keep at "" for the Atom feed
repository: theforeman/theforeman.org

paginate: 5
paginate_path: "blog/page:num"
Expand Down Expand Up @@ -38,4 +39,5 @@ navigation:
gems:
- jekyll-feed
- jekyll-gist
- jekyll-github-metadata
- jekyll-paginate
3 changes: 2 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
</section>
<div class="footer">
<div class="container">
<p>This web site is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_GB">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>. Source available: <a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/theforeman/theforeman.org" rel="dct:source">github/theforeman/theforeman.org</a></p>
<p>Edit and improve <a href="{{ site.github.repository_url }}/edit/gh-pages/{{ page.path }}">this page on GitHub</a>. All sources available: <a xmlns:dct="http://purl.org/dc/terms/" href="{{ site.github.repository_url }}" rel="dct:source">github/{{ site.repository }}</a></p>
Copy link
Member

@stbenjam stbenjam Oct 24, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is neat, but would it be better in a more prominent place? I don't think many people would notice this and it might encourage more contributions to pages like the manual if it were more visible.

Maybe something like [ Edit ] right aligned under the header?

<p>This web site is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_GB">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</p>
<p>Thanks to <a href="/sponsors.html">our sponsors</a> for hosting this website and our project services.</p>
<a style='visibility:hidden;' href="https://plus.google.com/102496134326414788199" rel="publisher">Google+ community</a>
</div>
Expand Down