File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 2020 < h1 > {{ site.title | default: site.github.repository_name }}</ h1 >
2121 < h2 > {{ site.description | default: site.github.project_tagline }}</ h2 >
2222 </ header >
23-
2423 < section id ="downloads " class ="clearfix ">
2524 {% if site.show_downloads %}
2625 < a href ="{{ site.github.zip_url }} " id ="download-zip " class ="button "> < span > Download .zip</ span > </ a >
2726 < a href ="{{ site.github.tar_url }} " id ="download-tar-gz " class ="button "> < span > Download .tar.gz</ span > </ a >
2827 {% endif %}
28+ {% if site.github.is_project_page %}
2929 < a href ="{{ site.github.repository_url }} " id ="view-on-github " class ="button "> < span > View on GitHub</ span > </ a >
30- </ section >
31-
30+ {% else %}
31+ < a href ="{{ site.github.owner_url }} " id ="view-on-github " class ="button "> < span > View on GitHub</ span > </ a >
32+ {% endif %}
33+ </ section >
3234 < hr >
33-
3435 < section id ="main_content ">
3536 {{ content }}
3637 </ section >
You can’t perform that action at this time.
0 commit comments