Skip to content

Commit

Permalink
experimenting with github pages
Browse files Browse the repository at this point in the history
  • Loading branch information
mmguero committed Sep 22, 2022
1 parent 8b8d469 commit e0f4466
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ github:
plugins:
- jekyll-remote-theme
- jekyll-relative-links
show_downloads: false
show_downloads: true
relative_links:
enabled: true
collections: true
9 changes: 4 additions & 5 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@
<body>
<div class="wrapper">
<header>
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
{% if site.logo %}
<img src="{{site.logo | relative_url}}" alt="{{ site.title | default: site.github.repository_name }}" />
{% else %}
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
<img src="{{site.logo | relative_url}}" alt="Logo" />
{% endif %}

<p>{{ site.description | default: site.github.project_tagline }}</p>
Expand All @@ -33,9 +32,9 @@ <h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repo

{% if site.show_downloads %}
<ul class="downloads">
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ external_download_url | default: site.github.repository_url }}">Unofficial ISO downloads</a></li>
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
</ul>
{% endif %}
</header>
Expand Down

0 comments on commit e0f4466

Please sign in to comment.