Skip to content

Commit

Permalink
Can't navigate from splash page on the demo site
Browse files Browse the repository at this point in the history
Fixes #11
  • Loading branch information
delisma committed Jun 25, 2021
1 parent a648053 commit 04ea930
Show file tree
Hide file tree
Showing 20 changed files with 1,118 additions and 317 deletions.
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# Jekyll theme for GCweb
[![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)
[![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)

*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).*

## Usage
## Usage (deprecated)

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



## Customizing
## Customizing (deprecated)

### Configuration variables
### Configuration variables (deprecated)

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

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

### Stylesheet
### Stylesheet (deprecated)

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

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

### Layouts
### Layouts (deprecated)

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

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

## Project philosophy

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.
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.

## How to Contribute

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

# Le thème Jekyll de GCweb
[![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)
[![Gem Version (désuet)](https://badge.fury.io/rb/gcweb-jekyll.svg)](https://badge.fury.io/rb/gcweb-jekyll)

*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).*

## Utilisation
## Utilisation (désuet)

> **_REMARQUE :_** GCweb is the default theme for Government of Canada websites, but you can still specify the theme you're using as below.
Expand All @@ -103,9 +103,9 @@ To use the GCweb theme:



## Customizing
## Customizing (désuet)

### Configuration variables
### Configuration variables (désuet)

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

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

### Stylesheet
### Stylesheet (désuet)

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

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

### Layouts
### Layouts (désuet)

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

Expand Down
19 changes: 0 additions & 19 deletions _pages/en/another-page.md

This file was deleted.

12 changes: 12 additions & 0 deletions _pages/en/another-test-page.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
altLangPrefix: /fr/autre-page-test
dateModified: 2020-01-08
description: This is just another page
title: Another page
---

## Welcome to another page

_yay_

[back](./test-page.html)
9 changes: 9 additions & 0 deletions _pages/en/gh-pages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
altLangPage: /fr/gh-pages
breadcrumbs:
- title: "GCWeb Jekyll"
link: "/en/index"
dateModified: 2021-06-31
description:
title: GitHub pages
---
174 changes: 42 additions & 132 deletions _pages/en/index.md
Original file line number Diff line number Diff line change
@@ -1,135 +1,45 @@
---
altLangPrefix: index
authorName: Service Canada
authorUrl:
contentTitle: Canada.ca Jekyll theme
dateModified: 2020-01-10
altLangPage: /fr/index
dateModified: 2021-06-31
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."
noContentTitle: true
pageclass: wb-prettify all-pre
subject:
en: [GV Government and Politics, Government services]
fr: [GV Gouvernement et vie politique, Services gouvernementaux]
title: Test page - Canada.ca
layout: layout-home
title: GCWeb Jekyll
---
# {{ page.contentTitle }}

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.

Text can be **bold**, _italic_, or ~~strikethrough~~.

[Link to another page](./another-page.html).

There should be whitespace between paragraphs.

There should be whitespace between paragraphs. We recommend including a README, or a file with information about your project.

## Header 2

> This is a blockquote following a header.
>
> When something is important enough, you do it even if the odds are not in your favor.
### Header 3

```js
// Javascript code with syntax highlighting.
var fun = function lang(l) {
dateformat.i18n = require('./lang/' + l)
return true;
}
```

```ruby
# Ruby code with syntax highlighting
GitHubPages::Dependencies.gems.each do |gem, version|
s.add_dependency(gem, "= #{version}")
end
```

#### Header 4

* This is an unordered list following a header.
* This is an unordered list following a header.
* This is an unordered list following a header.

##### Header 5

1. This is an ordered list following a header.
2. This is an ordered list following a header.
3. This is an ordered list following a header.

###### Header 6

| head1 | head two | three |
|:-------------|:------------------|:------|
| ok | good swedish fish | nice |
| out of stock | good and plenty | nice |
| ok | good `oreos` | hmm |
| ok | good `zoute` drop | yumm |

### There's a horizontal rule below this.

* * *

### Here is an unordered list:

* Item foo
* Item bar
* Item baz
* Item zip

### And an ordered list:

1. Item one
1. Item two
1. Item three
1. Item four

### And a nested list:

- level 1 item
- level 2 item
- level 2 item
- level 3 item
- level 3 item
- level 1 item
- level 2 item
- level 2 item
- level 2 item
- level 1 item
- level 2 item
- level 2 item
- level 1 item

### Small image

![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png)

### Large image

![Branching](https://guides.github.com/activities/hello-world/branching.png){: .img-responsive}


### Definition lists can be used with HTML syntax.

<dl>
<dt>Name</dt>
<dd>Godzilla</dd>
<dt>Born</dt>
<dd>1952</dd>
<dt>Birthplace</dt>
<dd>Japan</dd>
<dt>Color</dt>
<dd>Green</dd>
</dl>

```
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.
```

```
The final element.
```
<div class="provisional bg-cover" data-bgimg="/assets/img/bkg-home-banner-spring.jpg">
<div class="container p-0 p-sm-3">
<div class="well header-rwd brdr-0 brdr-rds-0 text-white bg-gctheme opct-90">
<h1 property="name" id="wb-cont">GCWeb Jekyll</h1>
<p class="mrgn-tp-md">Welcome to the GCWeb Jekyll template website</p>
</div>
</div>
</div>
<section class="home-most-requested well well-sm brdr-0">
<div class="container">
<h2 class="mrgn-tp-md">Most requested</h2>
<ul class="wb-eqht list-unstyled mrgn-tp-md mrgn-bttm-sm lst-spcd-2 list-responsive">
<li><a href="">Features</a></li>
<li><a href="">Translations</a></li>
<li><a href="">GCWeb theme</a></li>
</ul>
</div>
</section>
<section class="gc-srvinfo container">
<h2 class="wb-inv">Services and information</h2>
<div class="wb-eqht row">
<div class="col-lg-4 col-md-6">
<h3><a href="setup.html">Setup</a></h3>
<p>Setup your local environment and install the template.</p>
</div>
<div class="col-lg-4 col-md-6">
<h3><a href="settings.html">Settings</a></h3>
<p>Customize your website, changing the layouts, titles, etc.</p>
</div>
<div class="col-lg-4 col-md-6">
<h3><a href="pages.html">Pages</a></h3>
<p>Create pages and use the Front Matter properties</p>
</div>
<div class="col-lg-4 col-md-6">
<h3><a href="gh-pages.html">GitHub pages</a></h3>
<p>Deploy your website using <code>gh-pages</code> and edit your content.</p>
</div>
</div>
9 changes: 9 additions & 0 deletions _pages/en/pages.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
altLangPage: /fr/pages
breadcrumbs:
- title: "GCWeb Jekyll"
link: "/en/index"
dateModified: 2021-06-31
description:
title: Page creation
---

0 comments on commit 04ea930

Please sign in to comment.