forked from devopsdays/devopsdays-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating theme to 1.10.0 (devopsdays#2439)
* Releasing theme version 1.10.0 * Update netlify-production.sh * Update netlify.sh * Update appveyor.yml * Update config.toml * Delete config-windows.toml
- Loading branch information
1 parent
d45b10a
commit a95ff6f
Showing
62 changed files
with
738 additions
and
1,027 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
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,3 +1,3 @@ | ||
hugo version | ||
hugo --theme=devopsdays-theme --buildDrafts=false --baseURL="https://www.devopsdays.org/" | ||
hugo --theme=devopsdays-theme --buildDrafts=false --baseURL="$URL" | ||
gulp |
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,2 +1,2 @@ | ||
hugo version | ||
hugo --theme=devopsdays-theme --buildDrafts=false --baseURL="/" | ||
hugo --theme=devopsdays-theme --buildDrafts=false --baseURL="$DEPLOY_PRIME_URL" |
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
{{ define "main"}} | ||
|
||
<div class = "row"> | ||
<div class = "col-lg-6 col-md-12"> | ||
<p class="page-404-header">Whoops!</p> | ||
<p class="page-404-content">The devopsdays yak can't find that page. It's probably fine.</p> | ||
</div> | ||
<div class = "col-lg-6 col-md-12"> | ||
<img src = "{{ "img/404-yak.png" | absURL }}" class = "img-fluid"> | ||
</div> | ||
</div> | ||
|
||
{{ end }} |
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,54 +1,41 @@ | ||
<!DOCTYPE html> | ||
<html itemscope lang="{{ .Site.LanguageCode }}"> | ||
|
||
<head> | ||
{{- partial "head.html" . -}} | ||
</head> | ||
|
||
<body lang="{{ .Site.Params.Lang }}"> | ||
|
||
{{- partial "global_navbar.html" . -}} | ||
{{ $path := split $.Source.File.Path .Site.Params.PathSeparator }} | ||
{{ if eq (index $path 0) "events" }} | ||
{{ if and (eq (index (split (.Permalink | relURL) "/") 1) "events") (ne .Type "events") }} | ||
{{- partial "events/event_navbar.html" . -}} | ||
{{ end }} | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
{{ if .IsPage }} | ||
{{ $path := split $.Source.File.Path .Site.Params.PathSeparator }} | ||
{{ if or (eq (index $path 0) "events") (eq .Type "events") }} | ||
|
||
{{- if .IsPage -}} | ||
{{ if or (eq (index (split (.Permalink | relURL) "/") 1) "events") (eq .Type "events") }} | ||
<div class="col-md-12"> | ||
<!-- Main Content --> | ||
{{- block "main" . }} {{- end -}} | ||
</div> | ||
{{ else }} | ||
{{- else -}} | ||
<div class="col-md-8 push-md-2"> | ||
<!-- Main Content --> | ||
{{- block "main" . }} {{- end -}} | ||
</div> | ||
<div class="col-md-2 pull-md-8"> | ||
<a href = "/events" class="left-nav-navs">PAST EVENTS</a><br /> | ||
<a href = "{{ "events" | absURL }}" class="left-nav-navs">PAST EVENTS</a><br /> | ||
{{- partial "future.html" . -}} | ||
</div> | ||
{{ end }} | ||
{{ else }} | ||
{{- end -}} | ||
{{- else -}} | ||
<div class="col-md-8 push-md-2"> | ||
<!-- Main Content --> | ||
{{- block "main" . }} {{- end -}} | ||
</div> | ||
<div class="col-md-2 pull-md-8"> | ||
<a href = "/events" class="left-nav-navs">PAST EVENTS</a><br /> | ||
<a href = "{{ "events" | absURL }}" class="left-nav-navs">PAST EVENTS</a><br /> | ||
{{- partial "future.html" . -}} | ||
</div> | ||
{{ end }} | ||
{{- end -}} | ||
</div> | ||
|
||
</div> | ||
|
||
{{- partial "footer.html" . -}} | ||
{{- partial "footer_scripts.html" . -}} | ||
|
||
</body> | ||
|
||
</html> |
This file was deleted.
Oops, something went wrong.
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,49 @@ | ||
{{ define "main" }} | ||
|
||
<h1>{{ .Title }}</h1> | ||
{{- if isset .Params "author" -}} | ||
<small>by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</small> | ||
{{- else -}} | ||
<small>{{ dateFormat "02 January, 2006" .Date }}</small> | ||
{{- end -}} | ||
|
||
{{ .Content }} | ||
<div id="share"></div> | ||
<div class="row"> | ||
<!-- pager begin --> | ||
<div class="col-md-12"> | ||
<nav> | ||
<ul class="pagination"> | ||
{{ if .PrevInSection }} | ||
<li class="page-item"> | ||
<a href="{{.PrevInSection.Permalink}}" class="page-link"> | ||
<span aria-hidden="true">←</span> | ||
Previous</a> | ||
</li> | ||
{{ else }} | ||
<li class="page-item disabled"> | ||
<a href="#" class="page-link"> | ||
<span aria-hidden="true">←</span> | ||
Previous</a> | ||
</li> | ||
{{ end }} | ||
{{ if .NextInSection }} | ||
<li class="page-item"> | ||
<a href="{{.NextInSection.Permalink}}" class="page-link">Next | ||
<span aria-hidden="true">→</span> | ||
</a> | ||
</li> | ||
{{ else }} | ||
<li class="page-item disabled"> | ||
<a href="#" class="page-link">Next | ||
<span aria-hidden="true">→</span> | ||
</a> | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> | ||
<!-- pager end --> | ||
|
||
{{ end }} |
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,32 +1,15 @@ | ||
{{ define "main" }} | ||
|
||
{{/* site data query copypasta */}} | ||
{{ $path := split $.Source.File.Path .Site.Params.PathSeparator }} | ||
{{ $event_slug := index $path 1 }} | ||
{{ $e := (index $.Site.Data.events $event_slug) }} | ||
{{/* end site data query */}} | ||
|
||
|
||
<div class="row"> | ||
<!-- enclosing div --> | ||
<div class="col-md-12 content-text"> | ||
<!-- main content --> | ||
{{ if eq .File.BaseFileName "welcome"}} | ||
{{- partial "welcome.html" . -}} | ||
{{ else }} | ||
<h1>devopsdays {{$e.city}} - {{.Title}}</h1> | ||
{{ .Content }} | ||
{{ end }} | ||
<br /> | ||
<!-- need to add else statement for the rest of the content types --> | ||
{{ partial "sponsors.html" . }} | ||
|
||
|
||
</div>{{ "<!-- close the content -->" | safeHTML }} | ||
|
||
|
||
</div>{{ "<!-- whole big thing -->" | safeHTML }} | ||
|
||
|
||
|
||
{{- $e := (index $.Site.Data.events (index (split (.Permalink | relURL) "/") 2)) -}} | ||
<div class="row"> | ||
<div class="col-md-12 content-text"> | ||
{{- if eq .File.BaseFileName "welcome" -}} | ||
{{- partial "welcome.html" . -}} | ||
{{- else -}} | ||
<h1>devopsdays {{ $e.city }} - {{ .Title }}</h1> | ||
{{ .Content }} | ||
{{ end }} | ||
<br /> | ||
{{- partial "sponsors.html" . -}} | ||
</div> | ||
</div> | ||
{{ end }} |
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
Oops, something went wrong.