Skip to content

Commit

Permalink
Quick fix site setting fix to make it work
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisp committed Feb 16, 2021
1 parent f66348c commit 22e354f
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 7 deletions.
3 changes: 2 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,8 @@ defaults:
tmpl-you-are-here:
en: You are here
fr: Vous êtes ici 
layout: "page"
# layout: "page"
layout: default
javascripts:
lang: "en"
langtoggle: true
Expand Down
9 changes: 5 additions & 4 deletions _pages/fr/index.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
---
altLangPrefix: index
authorName: Service Canada
authorUrl:
authorUrl:
contentTitle: Canada.ca Jekyll theme
description:
en: "Get quick, easy access to all Government of Canada services and information."
fr: "Accédez rapidement et facilement à tous les services et renseignements du gouvernement du Canada."
lang: fr
layout: page
#layout: page
layout: default
noContentTitle: true
pageclass: wb-prettify all-pre
subject:
Expand Down Expand Up @@ -36,15 +37,15 @@ Il devrait y avoir un espace entre les paragraphes. Nous vous recommandons d'inc
### En-tête 3

```js
```js
// Code Javascript avec coloration syntaxique.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
```

```ruby
```ruby
# Code Ruby avec coloration syntaxique
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
Expand Down
36 changes: 34 additions & 2 deletions _pages/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
en: The Government of Canada website is a single point of access to all programs, services, departments, ministries and organizations of the Government of Canada.
fr: Le site Web du gouvernement du Canada fournit un point d'accès complet à tous les programmes, services, départements, ministères et organismes du gouvernement du Canada.
lang: en
layout: splashpage
layout: layout-splashpage
pageclass: splash
permalink: /
section: message
Expand All @@ -19,4 +19,36 @@
en: Government of Canada, services
fr: Gouvernement du Canada, services
title: Canada.ca
---
---
<div class="sp-hb">
<div class="sp-bx col-xs-12">
<h1 property="name" class="wb-inv">{{ page.title }}</h1>
<div class="row">
<div class="col-xs-11 col-md-8" property="publisher" resource="#wb-publisher" typeof="GovernmentOrganization">
<img src="https://wet-boew.github.io/themes-dist/GCWeb/assets/sig-spl.svg" width="283" alt="Government of Canada" property="logo" /><span class="wb-inv"> / <span lang="fr">Gouvernement du Canada</span></span>
<meta property="name" content="Government of Canada" />
<meta property="areaServed" typeOf="Country" content="Canada" />
</div>
</div>
<div class="row">
<section class="col-xs-6 text-right">
<h2 class="wb-inv">Government of Canada</h2>
<p><a href="./en/index.html" class="btn btn-primary">English</a></p>
</section>
<section class="col-xs-6" lang="fr">
<h2 class="wb-inv">Gouvernement du Canada</h2>
<p><a href="./fr/index.html" class="btn btn-primary">Français</a></p>
</section>
</div>
</div>
<div class="sp-bx-bt col-xs-12">
<div class="row">
<div class="col-xs-7 col-md-8">
<a href="https://www.canada.ca/en/transparency/terms.html" class="sp-lk">Terms and conditions</a> <span class="glyphicon glyphicon-asterisk"></span> <a href="https://www.canada.ca/fr/transparence/avis.html" class="sp-lk" lang="fr">Avis</a>
</div>
<div class="col-xs-5 col-md-4 text-right mrgn-bttm-md">
<img src="https://wet-boew.github.io/themes-dist/GCWeb/assets/wmms-spl.svg" width="127" alt="Symbol of the Government of Canada" /><span class="wb-inv"> / <span lang="fr">Symbole du gouvernement du Canada</span></span>
</div>
</div>
</div>
</div>

0 comments on commit 22e354f

Please sign in to comment.