Skip to content

Commit

Permalink
Update default.html
Browse files Browse the repository at this point in the history
  • Loading branch information
alltobebetter authored Jun 22, 2024
1 parent 541f1fe commit faa33ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
<a href="{{ site.github.repository_url }}" class="btn">在Github上查看这个页面</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
<a href="{{ site.github.zip_url }}" class="btn">下载.zip项目</a>
<a href="{{ site.github.tar_url }}" class="btn">下载.tar.gz项目</a>
{% endif %}
</header>

Expand All @@ -34,7 +34,7 @@ <h2 class="project-tagline">{{ page.description | default: site.description | de
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
{% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
<span class="site-footer-credits">这个页面生成通过 <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</main>
</body>
Expand Down

0 comments on commit faa33ff

Please sign in to comment.