Skip to content

Commit

Permalink
CD 10584419375: Update GCWeb jekyll theme files
Browse files Browse the repository at this point in the history
  • Loading branch information
wet-boew-bot committed Aug 27, 2024
1 parent c62e758 commit e698346
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions _includes/main-page-title/main-page-title.html
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
{%- if page.sectionTitle -%}
<hgroup id="wb-cont">
<p>{{ page.sectionTitle }}</p>
<h1 property="name">{{ page.title }}</h1>
</hgroup>
{%- else -%}
<h1 property="name" id="wb-cont">{{ page.title }}</h1>
{%- endif -%}
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<main class="container" property="mainContentOfPage" resource="#wb-main" typeof="WebPageElement">
{%- endif -%}

<h1 id="wb-cont" property="name">{{ page-title }}</h1>
{% include main-page-title/main-page-title.html %}
{{ content }}
{% include page-details/footer.html %}
</main>
Expand Down
2 changes: 1 addition & 1 deletion _layouts/fluid.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
{%- endcapture -%}
<main property="mainContentOfPage" resource="#wb-main" typeof="WebPageElement">
<div class="container-fluid">
<h1 id="wb-cont" property="name">{{ page-title }}</h1>
{% include main-page-title/main-page-title.html %}
{{ content }}
</div>
{% include page-details/footer.html addContainer=true %}
Expand Down

0 comments on commit e698346

Please sign in to comment.