Skip to content

Commit

Permalink
Updates default layout to set page-header section max-width to 1200px
Browse files Browse the repository at this point in the history
  • Loading branch information
OluwaninsolaAO committed Jun 4, 2024
1 parent 6808e2d commit 69dbb29
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,10 @@
{% endif %}

<section class="page-header">
<h1 class="project-name">{{ page-title }}</h1>
<h2 class="project-tagline">{{ page-tagline }}</h2>
{% if page.layout == 'home' and site.github.is_project_page %}
<div style="max-width: 1200px; margin: auto;">
<h1 class="project-name">{{ page-title }}</h1>
<h2 class="project-tagline">{{ page-tagline }}</h2>
{% if page.layout == 'home' and site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
Expand All @@ -88,6 +89,7 @@ <h2 class="project-date">
</h2>
{% endif %}
<!-- End: Post tagline -->
</div>
</section>

<section class="main-content">
Expand Down

0 comments on commit 69dbb29

Please sign in to comment.