generated from alpha-canada-ca/.github
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
130 additions
and
48 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,4 +37,6 @@ Temporary Items | |
# Jekyll | ||
.jekyll-cache | ||
_site | ||
vendor | ||
vendor | ||
Gemifile | ||
Gemfile.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "jekyll-seo-tag" | ||
gem "jekyll-remote-theme", github: "benbalter/jekyll-remote-theme", branch: "master" | ||
gem "jekyll-remote-theme", github: "benbalter/jekyll-remote-theme", branch: "master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<link href="{{ setting-resourcesBasePathTheme }}/assets/favicon.ico" rel="icon" type="image/x-icon" /> | ||
<link rel="stylesheet" href="{{ setting-resourcesBasePathTheme }}/css/theme{{ setting-minifiedSuffix }}.css" /> | ||
<noscript> | ||
<link rel="stylesheet" href="{{ setting-resourcesBasePathWetboew }}/css/noscript{{ setting-minifiedSuffix }}.css" /> | ||
</noscript> | ||
{%- if page.css.first -%} | ||
{%- for sheet in page.css -%} | ||
{%- if sheet.first -%} | ||
<link rel="stylesheet" href="{{ sheet.href }}" integrity="{{ sheet.integrity }}" crossorigin="anonymous" /> | ||
{%- elsif sheet -%} | ||
<link rel="stylesheet" href="{{ sheet }}" /> | ||
{%- endif -%} | ||
{%- endfor -%} | ||
{%- elsif page.css -%} | ||
<link rel="stylesheet" href="{{ page.css }}" /> | ||
{%- endif -%} | ||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
backend: | ||
name: git-gateway | ||
branch: content # Branch to update (optional; defaults to master) | ||
# This line should *not* be indented | ||
media_folder: "images/thumbs" # Media files will be stored in the repo under images/uploads | ||
public_folder: "/images/thumbs" | ||
|
||
collections: | ||
- name: "blog" # Used in routes, e.g., /admin/collections/blog | ||
label: "Blog" # Used in the UI | ||
folder: "en/_posts" # The path to the folder where the documents are stored | ||
create: true # Allow users to create new documents in this collection | ||
slug: "{{year}}/{{month}}/{{day}}/{{slug}}" # Filename template, e.g., YYYY-MM-DD-title.md | ||
identifier_field: slug | ||
fields: # The fields for each document, usually in front matter | ||
- { label: "Alternate language page url", name: "altLangPage", widget: "string" } | ||
- { label: "Title", name: "title", widget: "string" } | ||
- { label: "Publish Date", name: "date", widget: "datetime" } | ||
- { label: "Description", name: "description", widget: "string" } | ||
- { label: "Thumbnail image", name: "thumbnail", widget: "image" } | ||
- { label: "Body", name: "body", widget: "markdown" } | ||
- name: "pages" | ||
label: "Pages" | ||
folder: "en/pages" | ||
create: true | ||
slug: "{{slug}}" | ||
fields: | ||
- { label: "Layout", name: "layout", widget: "string" } | ||
- { label: "Body", name: "body", widget: "markdown" } | ||
|
||
logo_url: https://wet-boew.github.io/themes-dist/GCWeb/GCWeb/assets/sig-blk-en.svg | ||
publish_mode: editorial_workflow | ||
site_url: https://blog.canada.ca |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<meta name="robots" content="noindex" /> | ||
<title>Canada.ca Design System Content Manager</title> | ||
<script src="https://identity.netlify.com/v1/netlify-identity-widget.js"></script> | ||
</head> | ||
<body> | ||
<!-- Include the script that builds the page and powers Decap CMS --> | ||
<script src="https://unpkg.com/decap-cms@^3.0.0/dist/decap-cms.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
[[redirects]] | ||
from = "/admin" | ||
to = "/admin/" | ||
status = 200 |