Skip to content

Commit

Permalink
Updating theme to 1.22.0 (devopsdays#5300)
Browse files Browse the repository at this point in the history
**Implemented enhancements:**

- Allow URL link on "custom" program type [\devopsdays#611](devopsdays/devopsdays-theme#611) (special thanks to @chriscoffee for this one!)
- Program should support links to slides and video [\devopsdays#600](devopsdays/devopsdays-theme#600)
  • Loading branch information
mattstratton authored Sep 4, 2018
1 parent ce17eeb commit 0be50c6
Show file tree
Hide file tree
Showing 7 changed files with 110 additions and 39 deletions.
17 changes: 17 additions & 0 deletions themes/devopsdays-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,22 @@
# Change Log

## [1.22.0](https://github.com/devopsdays/devopsdays-theme/tree/1.22.0) (2018-09-03)
[Full Changelog](https://github.com/devopsdays/devopsdays-theme/compare/1.21.0...1.22.0)

**Implemented enhancements:**

- Allow URL link on "custom" program type [\#611](https://github.com/devopsdays/devopsdays-theme/issues/611)

## [1.21.0](https://github.com/devopsdays/devopsdays-theme/tree/1.21.0) (2018-09-03)
[Full Changelog](https://github.com/devopsdays/devopsdays-theme/compare/1.20.0...1.21.0)

**Closed issues:**

- Program should support links to slides and video [\#600](https://github.com/devopsdays/devopsdays-theme/issues/600)

## [1.20.0](https://github.com/devopsdays/devopsdays-theme/tree/1.20.0) (2018-08-31)
[Full Changelog](https://github.com/devopsdays/devopsdays-theme/compare/1.19.1...1.20.0)

## [1.19.1](https://github.com/devopsdays/devopsdays-theme/tree/1.19.1) (2018-08-20)
[Full Changelog](https://github.com/devopsdays/devopsdays-theme/compare/1.19.0...1.19.1)

Expand Down
41 changes: 27 additions & 14 deletions themes/devopsdays-theme/REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@
[Pages and Frontmatter](#pages-and-frontmatter)
 [General Page Fields](#general-page-fields)
 [Talk Page Fields](#talk-page-fields)
 [Speaker Page Fields](#speaker-page-fields)
 [Speaker Page Fields](#speaker-page-fields)
 [Program Page Fields](#program-page-fields)
 [Blog Post Fields](#blog-post-fields)
[Shortcodes](#shortcodes)
 [google_form](#google_form)
Expand Down Expand Up @@ -175,22 +176,24 @@ program:
date: 2017-06-16
start_time: "08:00"
end_time: "09:00"
custom_url: "https://example.com/registration"
- title: "Opening Welcome"
type: custom
date: 2017-06-16
start_time: "09:15"
end_time: "09:00"
```

| Field Name | Required | Description | Example |
|--------------------|----------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| `title` | Yes | The name of the program element. If it is a talk, ignite, or workshop, use the name of the talk/ignite/workshop file, minus the `.md` extension. | "Opening Welcome" or "apple-jack" |
| `type` | Yes | The type for the program element. Valid choices are `custom`, `talk`, `ignite`, `workshop`, or `open-space`. This defines the color of the program element. `talk`, `ignite`, and `workshop` types will create a link to the program item named in `title`. | talk |
| `date` | Yes | The date of the program element, in YYYY-MM-DD format. | 2017-06-16 |
| `start_time` | Yes | The start time of the program element. | "08:00" |
| `end_time` | Yes | The end time of the program element. | "13:40" |
| `comments` | No | Additional comments/notes about the program types `talk`, `workshop` and `custom` (for example, location of an evening event). Markdown is supported. | "This will be at the [Pony Club](http://www.mattstratton.com),1005 Ponyville Drive,Ponyville, IL,60612" |
| `background_color` | No | Allows the ability to override the color of the program element. Only the background color can be changed; please test to make sure the color works with the displayed text colors. Color is expressed in RGB HEX value. Must be in quotes. | "#FFFA99" |
| Field Name | Required | Description | Example |
|--------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------|
| `title` | Yes | The name of the program element. If it is a talk, ignite, or workshop, use the name of the talk/ignite/workshop file, minus the `.md` extension. | "Opening Welcome" or "apple-jack" |
| `type` | Yes | The type for the program element. Valid choices are `custom`, `talk`, `ignite`, `workshop`, or `open-space`. This defines the color of the program element. `talk`, `ignite`, and `workshop` types will create a link to the program item named in `title`. | talk |
| `date` | Yes | The date of the program element, in YYYY-MM-DD format. | 2017-06-16 |
| `start_time` | Yes | The start time of the program element. | "08:00" |
| `end_time` | Yes | The end time of the program element. | "13:40" |
| `comments` | No | Additional comments/notes about the program types `talk`, `workshop` and `custom` (for example, location of an evening event). Markdown is supported. | "This will be at the [Pony Club](http://www.mattstratton.com),1005 Ponyville Drive,Ponyville, IL,60612" |
| `background_color` | No | Allows the ability to override the color of the program element. Only the background color can be changed; please test to make sure the color works with the displayed text colors. Color is expressed in RGB HEX value. Must be in quotes. | "#FFFA99" |
| `custom_url` | No | Replaces the URL for various program types to link to external URL or a URL of your choosing. Valid for `custom`, `talk`, `ignite`, `workshop`, or `open-space` | "https://example.com" |

##### Program Element Colors

Expand All @@ -213,12 +216,14 @@ ignites:
date: 2017-06-16
- title: "DevOps With Delight"
date: 2017-06-16
custom_url: "https://example.com/ignites
```

| Field Name | Required | Description | Example |
|------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
| `title` | Yes | The title of the ignite. If it is named after the filename (without the `.md` extension` of a talk, it will generate a link to the talk page. | "matt-stratton" or "DevOps With Delight" |
| `date` | Yes | The date of the ignite, in YYYY-MM-DD format. | 2017-06-16 |
| Field Name | Required | Description | Example |
|--------------|----------|-----------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
| `title` | Yes | The title of the ignite. If it is named after the filename (without the `.md` extension` of a talk, it will generate a link to the talk page. | "matt-stratton" or "DevOps With Delight" |
| `date` | Yes | The date of the ignite, in YYYY-MM-DD format. | 2017-06-16 |
| `custom_url` | No | Allows linking to URL off-site for various reasons. | "https://example.com/schedule" |

## Pages and Frontmatter

Expand Down Expand Up @@ -275,6 +280,14 @@ Pages of the type `speaker` have a few additional frontmatter elements available
| `gitlab` | No | Speakers' GitLab username. | "mattstratton" |
| `image` | No | The image for the speaker. This image is relative to the `static/events/YYYY-CITY/speakers` directory. It can be either .png or .jpg. It must be square, and 300px square, 600px square, or 900px square. | "matt-stratton.jpg" |

### Program Page Fields

The page of type `program` has one additional frontmatter element.

| Field Name | Required | Description | Example |
|------------|----------|----------------------------------------------------------|---------|
| `icons` | No | Toggles display of slide/video icons on the program page | "true" |

### Blog Post Fields

| Field Name | Required | Description | Example |
Expand Down
1 change: 1 addition & 0 deletions themes/devopsdays-theme/archetypes/program.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ City = ""
Year = ""
Title = ""
Type = "program"
Icons = "false"
+++
Loading

0 comments on commit 0be50c6

Please sign in to comment.