Skip to content

Commit

Permalink
CD 13394534255: Update GCWeb jekyll theme files
Browse files Browse the repository at this point in the history
  • Loading branch information
wet-boew-bot committed Feb 18, 2025
1 parent 03a1892 commit fa6d151
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _includes/byline/byline.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<p><strong>
<p class="gc-byline"><strong>
{%- if page.language == "fr" -%}
De <a href="#">[nom de l’institution]</a>
{%- elsif page.language == "en" -%}
Expand Down
7 changes: 6 additions & 1 deletion _includes/main-page-title/main-page-title.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{%- if page.sectionTitle -%}
{%- if page.sectionTitle or page.byline -%}
<hgroup id="wb-cont">
{%- if page.sectionTitle -%}
<p>{{ page.sectionTitle }}</p>
{%- endif -%}
<h1 property="name">{{ page.title }}</h1>
{%- if page.byline -%}
<p class="gc-byline">{% if page.language == "fr" %}De&nbsp;:{% else %}From:{% endif %} <a href="{{ page.byline.url }}">{{ page.byline.institution }}</a></p>
{%- endif -%}
</hgroup>
{%- else -%}
<h1 property="name" id="wb-cont">{{ page.title }}</h1>
Expand Down

0 comments on commit fa6d151

Please sign in to comment.