Skip to content

Commit 04ea930

Browse files
author
delisma
committed
Can't navigate from splash page on the demo site
Fixes #11
1 parent a648053 commit 04ea930

20 files changed

+1118
-317
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
# Jekyll theme for GCweb
2-
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](code-of-conduct.md) [![Build Status](https://travis-ci.org/wet-boew/gcweb-jekyll.svg?branch=master)](https://travis-ci.org/wet-boew/gcweb-jekyll) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-gcweb.svg)](https://badge.fury.io/rb/jekyll-theme-gcweb)
2+
[![Contributor Covenant](https://img.shields.io/badge/Contributor%20Covenant-v1.4%20adopted-ff69b4.svg)](code-of-conduct.md) [![Gem Version (deprecated)](https://badge.fury.io/rb/gcweb-jekyll.svg)](https://badge.fury.io/rb/gcweb-jekyll)
33

44
*GCweb is a Jekyll theme for Government of Canada websites. You can [preview the theme to see what it looks like](http://wet-boew.github.io/gcweb-jekyll), or even [use it today](#usage).*
55

6-
## Usage
6+
## Usage (deprecated)
77

88
> **_NOTE:_** GCweb is the default theme for Government of Canada websites, but you can still specify the theme you're using as below.
99
@@ -23,9 +23,9 @@ To use the GCweb theme:
2323

2424

2525

26-
## Customizing
26+
## Customizing (deprecated)
2727

28-
### Configuration variables
28+
### Configuration variables (deprecated)
2929

3030
GCweb will respect the following variables, if set in your site's `_config.yml`:
3131

@@ -40,7 +40,7 @@ Additionally, you may choose to set the following optional variables:
4040
google_analytics: [Your Google Analytics tracking ID]
4141
```
4242

43-
### Stylesheet
43+
### Stylesheet (deprecated)
4444

4545
If you'd like to add your own custom styles:
4646

@@ -54,7 +54,7 @@ If you'd like to add your own custom styles:
5454
```
5555
3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
5656

57-
### Layouts
57+
### Layouts (deprecated)
5858

5959
If you'd like to change the theme's HTML layout:
6060

@@ -69,7 +69,7 @@ See the [open issues](https://github.com/wet-boew/gcweb-jekyll/issues) for a lis
6969

7070
## Project philosophy
7171

72-
The GCweb theme is intended to make it quick and easy for Government of Canada employees to create their first (or 100th) website of GitHub for their organisation. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
72+
The GCweb theme is intended to make it quick and easy for Government of Canada employees to create their first (or 100th) website off GitHub for their organisation. The theme should meet the vast majority of users' needs out of the box, erring on the side of simplicity rather than flexibility, and provide users the opportunity to opt-in to additional complexity if they have specific needs or wish to further customize their experience (such as adding custom CSS or modifying the default layout). It should also look great, but that goes without saying.
7373

7474
## How to Contribute
7575

@@ -79,11 +79,11 @@ See [CONTRIBUTING.md](CONTRIBUTING.md)
7979
_(French version will be available shortly)_
8080

8181
# Le thème Jekyll de GCweb
82-
[![Build Status](https://travis-ci.org/wet-boew/gcweb-jekyll.svg?branch=master)](https://travis-ci.org/wet-boew/gcweb-jekyll) [![Gem Version](https://badge.fury.io/rb/jekyll-theme-gcweb.svg)](https://badge.fury.io/rb/jekyll-theme-gcweb)
82+
[![Gem Version (désuet)](https://badge.fury.io/rb/gcweb-jekyll.svg)](https://badge.fury.io/rb/gcweb-jekyll)
8383

8484
*gcweb-jeckyll est un the Jekyll pour les sites web du gouvernement du Canada. Vous pouvez [voir un aperçu du thème pour avoir une idée de ce à quoi cela ressemble](http://wet-boew.github.io/gcweb-jekyll), ou sinon [vous pouvez l'utiliser maintenant](#utlisitation).*
8585

86-
## Utilisation
86+
## Utilisation (désuet)
8787

8888
> **_REMARQUE :_** GCweb is the default theme for Government of Canada websites, but you can still specify the theme you're using as below.
8989

@@ -103,9 +103,9 @@ To use the GCweb theme:
103103

104104

105105

106-
## Customizing
106+
## Customizing (désuet)
107107

108-
### Configuration variables
108+
### Configuration variables (désuet)
109109

110110
GCweb will respect the following variables, if set in your site's `_config.yml`:
111111

@@ -120,7 +120,7 @@ Additionally, you may choose to set the following optional variables:
120120
google_analytics: [Your Google Analytics tracking ID]
121121
```
122122

123-
### Stylesheet
123+
### Stylesheet (désuet)
124124

125125
If you'd like to add your own custom styles:
126126

@@ -134,7 +134,7 @@ If you'd like to add your own custom styles:
134134
```
135135
3. Add any custom CSS (or Sass, including imports) you'd like immediately after the `@import` line
136136

137-
### Layouts
137+
### Layouts (désuet)
138138

139139
If you'd like to change the theme's HTML layout:
140140

_pages/en/another-page.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

_pages/en/another-test-page.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
altLangPrefix: /fr/autre-page-test
3+
dateModified: 2020-01-08
4+
description: This is just another page
5+
title: Another page
6+
---
7+
8+
## Welcome to another page
9+
10+
_yay_
11+
12+
[back](./test-page.html)

_pages/en/gh-pages.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
altLangPage: /fr/gh-pages
3+
breadcrumbs:
4+
- title: "GCWeb Jekyll"
5+
link: "/en/index"
6+
dateModified: 2021-06-31
7+
description:
8+
title: GitHub pages
9+
---

_pages/en/index.md

Lines changed: 42 additions & 132 deletions
Original file line numberDiff line numberDiff line change
@@ -1,135 +1,45 @@
11
---
2-
altLangPrefix: index
3-
authorName: Service Canada
4-
authorUrl:
5-
contentTitle: Canada.ca Jekyll theme
6-
dateModified: 2020-01-10
2+
altLangPage: /fr/index
3+
dateModified: 2021-06-31
74
description:
8-
en: "Get quick, easy access to all Government of Canada services and information."
9-
fr: "Accédez rapidement et facilement à tous les services et renseignements du gouvernement du Canada."
10-
noContentTitle: true
11-
pageclass: wb-prettify all-pre
12-
subject:
13-
en: [GV Government and Politics, Government services]
14-
fr: [GV Gouvernement et vie politique, Services gouvernementaux]
15-
title: Test page - Canada.ca
5+
layout: layout-home
6+
title: GCWeb Jekyll
167
---
17-
# {{ page.contentTitle }}
18-
19-
This is a normal paragraph following a header. GitHub is a code hosting platform for version control and collaboration. It lets you and others work together on projects from anywhere.
20-
21-
Text can be **bold**, _italic_, or ~~strikethrough~~.
22-
23-
[Link to another page](./another-page.html).
24-
25-
There should be whitespace between paragraphs.
26-
27-
There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.
28-
29-
## Header 2
30-
31-
> This is a blockquote following a header.
32-
>
33-
> When something is important enough, you do it even if the odds are not in your favor.
34-
35-
### Header 3
36-
37-
```js
38-
// Javascript code with syntax highlighting.
39-
var fun = function lang(l) {
40-
dateformat.i18n = require('./lang/' + l)
41-
return true;
42-
}
43-
```
44-
45-
```ruby
46-
# Ruby code with syntax highlighting
47-
GitHubPages::Dependencies.gems.each do |gem, version|
48-
s.add_dependency(gem, "= #{version}")
49-
end
50-
```
51-
52-
#### Header 4
53-
54-
* This is an unordered list following a header.
55-
* This is an unordered list following a header.
56-
* This is an unordered list following a header.
57-
58-
##### Header 5
59-
60-
1. This is an ordered list following a header.
61-
2. This is an ordered list following a header.
62-
3. This is an ordered list following a header.
63-
64-
###### Header 6
65-
66-
| head1 | head two | three |
67-
|:-------------|:------------------|:------|
68-
| ok | good swedish fish | nice |
69-
| out of stock | good and plenty | nice |
70-
| ok | good `oreos` | hmm |
71-
| ok | good `zoute` drop | yumm |
72-
73-
### There's a horizontal rule below this.
74-
75-
* * *
76-
77-
### Here is an unordered list:
78-
79-
* Item foo
80-
* Item bar
81-
* Item baz
82-
* Item zip
83-
84-
### And an ordered list:
85-
86-
1. Item one
87-
1. Item two
88-
1. Item three
89-
1. Item four
90-
91-
### And a nested list:
92-
93-
- level 1 item
94-
- level 2 item
95-
- level 2 item
96-
- level 3 item
97-
- level 3 item
98-
- level 1 item
99-
- level 2 item
100-
- level 2 item
101-
- level 2 item
102-
- level 1 item
103-
- level 2 item
104-
- level 2 item
105-
- level 1 item
106-
107-
### Small image
108-
109-
![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png)
110-
111-
### Large image
112-
113-
![Branching](https://guides.github.com/activities/hello-world/branching.png){: .img-responsive}
114-
115-
116-
### Definition lists can be used with HTML syntax.
117-
118-
<dl>
119-
<dt>Name</dt>
120-
<dd>Godzilla</dd>
121-
<dt>Born</dt>
122-
<dd>1952</dd>
123-
<dt>Birthplace</dt>
124-
<dd>Japan</dd>
125-
<dt>Color</dt>
126-
<dd>Green</dd>
127-
</dl>
128-
129-
```
130-
Long, single-line code blocks should not wrap. They should horizontally scroll if they are too long. This line should be long enough to demonstrate this.
131-
```
132-
133-
```
134-
The final element.
135-
```
8+
<div class="provisional bg-cover" data-bgimg="/assets/img/bkg-home-banner-spring.jpg">
9+
<div class="container p-0 p-sm-3">
10+
<div class="well header-rwd brdr-0 brdr-rds-0 text-white bg-gctheme opct-90">
11+
<h1 property="name" id="wb-cont">GCWeb Jekyll</h1>
12+
<p class="mrgn-tp-md">Welcome to the GCWeb Jekyll template website</p>
13+
</div>
14+
</div>
15+
</div>
16+
<section class="home-most-requested well well-sm brdr-0">
17+
<div class="container">
18+
<h2 class="mrgn-tp-md">Most requested</h2>
19+
<ul class="wb-eqht list-unstyled mrgn-tp-md mrgn-bttm-sm lst-spcd-2 list-responsive">
20+
<li><a href="">Features</a></li>
21+
<li><a href="">Translations</a></li>
22+
<li><a href="">GCWeb theme</a></li>
23+
</ul>
24+
</div>
25+
</section>
26+
<section class="gc-srvinfo container">
27+
<h2 class="wb-inv">Services and information</h2>
28+
<div class="wb-eqht row">
29+
<div class="col-lg-4 col-md-6">
30+
<h3><a href="setup.html">Setup</a></h3>
31+
<p>Setup your local environment and install the template.</p>
32+
</div>
33+
<div class="col-lg-4 col-md-6">
34+
<h3><a href="settings.html">Settings</a></h3>
35+
<p>Customize your website, changing the layouts, titles, etc.</p>
36+
</div>
37+
<div class="col-lg-4 col-md-6">
38+
<h3><a href="pages.html">Pages</a></h3>
39+
<p>Create pages and use the Front Matter properties</p>
40+
</div>
41+
<div class="col-lg-4 col-md-6">
42+
<h3><a href="gh-pages.html">GitHub pages</a></h3>
43+
<p>Deploy your website using <code>gh-pages</code> and edit your content.</p>
44+
</div>
45+
</div>

_pages/en/pages.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
altLangPage: /fr/pages
3+
breadcrumbs:
4+
- title: "GCWeb Jekyll"
5+
link: "/en/index"
6+
dateModified: 2021-06-31
7+
description:
8+
title: Page creation
9+
---

0 commit comments

Comments
 (0)