Skip to content

Commit

Permalink
fix: center title in a single column
Browse files Browse the repository at this point in the history
  • Loading branch information
gvwilson committed Apr 8, 2024
1 parent 106aab8 commit 3414dff
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 33 deletions.
4 changes: 1 addition & 3 deletions docs/bib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Bibliography</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/colophon/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Colophon</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/conduct/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Code of Conduct</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/contents/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Index</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/contrib/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Contributing</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/finale/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Conclusion</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/glossary/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Glossary</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,12 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>McCole Template</h1>


</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/intro/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>Introduction</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions docs/license/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,11 @@
<body>
<main>
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">

<h1>License</h1>

</div>
<div class="col-1"></div>
</div>


Expand Down
4 changes: 1 addition & 3 deletions lib/mccole/templates/title.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<div class="row notex">
<div class="col-1"></div>
<div class="col-10 center">
<div class="col-12 center">
{% if node.title %}
<h1>{{ node.title }}</h1>
{% else %}
<h1>{{ site.title }}</h1>
{% if site.subtitle %}<p class="subtitle">{{ site.subtitle }}</p>{% endif %}
{% endif %}
</div>
<div class="col-1"></div>
</div>

0 comments on commit 3414dff

Please sign in to comment.