-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from hashicorp/sethvargo/releases
Use releases for releases
- Loading branch information
Showing
5 changed files
with
53 additions
and
77 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,23 +1,9 @@ | ||
#------------------------------------------------------------------------- | ||
# Configure Middleman | ||
#------------------------------------------------------------------------- | ||
|
||
helpers do | ||
def livestream_active? | ||
# Must set key for date | ||
ENV["LIVESTREAM_ACTIVE"].present? | ||
end | ||
end | ||
|
||
set :base_url, "https://www.nomadproject.io/" | ||
|
||
activate :hashicorp do |h| | ||
h.version = ENV["NOMAD_VERSION"] | ||
h.bintray_enabled = ENV["BINTRAY_ENABLED"] == "1" | ||
h.bintray_repo = "mitchellh/nomad" | ||
h.bintray_user = "mitchellh" | ||
h.bintray_key = ENV["BINTRAY_API_KEY"] | ||
h.github_slug = "hashicorp/nomad" | ||
h.name = "nomad" | ||
h.version = "0.1.2" | ||
h.github_slug = "hashicorp/nomad" | ||
|
||
h.minify_javascript = false | ||
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
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,24 +1,7 @@ | ||
<% if livestream_active? %> | ||
<% content_for(:body_class, "livestream") %> | ||
<%= partial "layouts/meta" %> | ||
<div class="livestream-container"> | ||
<div class="livestream-video"> | ||
<iframe src="https://www.ustream.tv/embed/21243866?html5ui=1" id="live-stream-video" webkitallowfullscreen allowfullscreen frameborder="no"></iframe> | ||
</div> | ||
</div> | ||
|
||
<!-- closing tags from layouts/meta, keep this --> | ||
</body> | ||
</html> | ||
|
||
<% else %> | ||
<%= partial "layouts/meta" %> | ||
<%= partial "layouts/header" %> | ||
<%= partial "layouts/sidebar" %> | ||
<%= yield %> | ||
<%= partial "layouts/footer" %> | ||
<% end %> |