Skip to content

Commit

Permalink
Releasing theme version 1.26.0 (devopsdays#5997)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattstratton authored Dec 27, 2018
1 parent 9357237 commit 4898a20
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 25 deletions.
7 changes: 7 additions & 0 deletions themes/devopsdays-theme/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Change Log

## [1.26.0](https://github.com/devopsdays/devopsdays-theme/tree/1.26.0) (2018-12-21)
[Full Changelog](https://github.com/devopsdays/devopsdays-theme/compare/1.25.0...1.26.0)

**Closed issues:**

- \[Enhancement\] Allow for custom sponsor sign up links [\#680](https://github.com/devopsdays/devopsdays-theme/issues/680)

## [1.25.0](https://github.com/devopsdays/devopsdays-theme/tree/1.25.0) (2018-11-28)
[Full Changelog](https://github.com/devopsdays/devopsdays-theme/compare/1.24.1...1.25.0)

Expand Down
47 changes: 24 additions & 23 deletions themes/devopsdays-theme/REFERENCE.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,29 @@
# Table of contents
<!-- MDTOC maxdepth:6 firsth1:0 numbering:0 flatten:0 bullets:0 updateOnSave:1 -->

[Fields in YYYY-CITY.yml](#fields-in-yyyy-cityyml)
&emsp;[General Fields](#general-fields)
&emsp;[Date-related Fields](#date-related-fields)
&emsp;[Branding Fields](#branding-fields)
&emsp;[Location Fields](#location-fields)
&emsp;[Navigation Fields](#navigation-fields)
&emsp;[Organizer Fields](#organizer-fields)
&emsp;&emsp;[Team Members](#team-members)
&emsp;&emsp;[Organizer Emails](#organizer-emails)
&emsp;[Sponsor fields](#sponsor-fields)
&emsp;&emsp;[Sponsor Levels](#sponsor-levels)
&emsp;[Program Fields](#program-fields)
&emsp;&emsp;[Program Items](#program-items)
&emsp;&emsp;&emsp;[Program Element Colors](#program-element-colors)
&emsp;&emsp;[Ignite Fields](#ignite-fields)
[Pages and Frontmatter](#pages-and-frontmatter)
&emsp;[General Page Fields](#general-page-fields)
&emsp;[Talk Page Fields](#talk-page-fields)
&emsp;[Speaker Page Fields](#speaker-page-fields)
&emsp;[Program Page Fields](#program-page-fields)
&emsp;[Blog Post Fields](#blog-post-fields)
[Shortcodes](#shortcodes)
&emsp;[google_form](#google_form)
[Fields in YYYY-CITY.yml](#fields-in-yyyy-cityyml)
&emsp;[General Fields](#general-fields)
&emsp;[Date-related Fields](#date-related-fields)
&emsp;[Branding Fields](#branding-fields)
&emsp;[Location Fields](#location-fields)
&emsp;[Navigation Fields](#navigation-fields)
&emsp;[Organizer Fields](#organizer-fields)
&emsp;&emsp;[Team Members](#team-members)
&emsp;&emsp;[Organizer Emails](#organizer-emails)
&emsp;[Sponsor fields](#sponsor-fields)
&emsp;&emsp;[Sponsor Levels](#sponsor-levels)
&emsp;[Program Fields](#program-fields)
&emsp;&emsp;[Program Items](#program-items)
&emsp;&emsp;&emsp;[Program Element Colors](#program-element-colors)
&emsp;&emsp;[Ignite Fields](#ignite-fields)
[Pages and Frontmatter](#pages-and-frontmatter)
&emsp;[General Page Fields](#general-page-fields)
&emsp;[Talk Page Fields](#talk-page-fields)
&emsp;[Speaker Page Fields](#speaker-page-fields)
&emsp;[Program Page Fields](#program-page-fields)
&emsp;[Blog Post Fields](#blog-post-fields)
[Shortcodes](#shortcodes)
&emsp;[google_form](#google_form)

<!-- /MDTOC -->

Expand Down Expand Up @@ -61,6 +61,7 @@ All dates are in unquoted YYYY-MM-DD, like this: `variable: 2016-01-05`, or like
| `registration_date_end` | YYYY-MM-DD | No | The date you will close registration. Can be a blank value. | 2016-01-05 |
| `registration_closed` | String | No | Set this to "true" if you need to manually close registration before your registration end date. | "true" |
| `registration_link` | String | No | If you have a custom registration link, enter it here. This will control the Registration menu item as well as the "Register" button. | "https://myurlhere" | |
| `sponsor_link` | String | No | If you have a custom sponsorship link, enter it here. This will control the "Become an X Sponsor!" links. It does NOT change the "Sponsor" button. | "https://myurlhere" | |

### Branding Fields

Expand Down
6 changes: 5 additions & 1 deletion themes/devopsdays-theme/layouts/partials/sponsors.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,11 @@ <h4 class="sponsor-cta">{{ $level.label }} Sponsors</h4>
{{- if ( $e.startdate) or (ge (dateFormat "2006-01-02" $e.startdate) (dateFormat "2006-01-02" (dateFormat "2006-01-02" now))) -}}
{{- if ne $e.sponsors_accepted "no" -}}
{{- if or (not $level.max) (lt ($.Scratch.Get $level.id) $level.max) -}}
<a href = "{{ (printf "events/%s/sponsor" $e.name) | absURL }}" class="sponsor-cta">
{{- with $e.sponsor_link -}}
<a href = "{{ . }}" class="sponsor-cta">
{{- else -}}
<a href = "{{ (printf "events/%s/sponsor" $e.name) | absURL }}" class="sponsor-cta">
{{- end -}}
<i>Become a {{ $level.label }} Sponsor!</i>
</a>
{{- end -}}
Expand Down
2 changes: 1 addition & 1 deletion themes/devopsdays-theme/theme.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ homepage = "https://github.com/devopsdays/devopsdays-theme/"
tags = ["", ""]
features = ["", ""]
min_version = 0.18
theme_version = "1.25.0"
theme_version = "1.26.0"

[author]
name = "Matt Stratton"
Expand Down

0 comments on commit 4898a20

Please sign in to comment.