This repository has been archived by the owner on Jul 21, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 12
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 #269 from devopsdays/fix-footer#141
Footer styling and content
- Loading branch information
Showing
6 changed files
with
107 additions
and
69 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 |
---|---|---|
|
@@ -41,6 +41,6 @@ | |
{{- end -}} | ||
{{- end -}} | ||
</div> | ||
<div id="share"></div> | ||
<!-- <div id="share"></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,61 +1,69 @@ | ||
<div class="container-fluid"> | ||
<div class="row"> | ||
<div class="col-md-2"> | ||
</div> | ||
<div class="col-md-2"> | ||
<h3 class="footer-nav">Events</h3></br> | ||
PAST</br> | ||
CURRENT</br> | ||
UPCOMING</br> | ||
</div> | ||
<div class="col-md-2"> | ||
<h3 class="footer-nav">FEATURED</h3> | ||
<b>Chicago 2017</b> | ||
<i>Summit West - 15 October 2017</i> | ||
</div> | ||
<div class="col-md-2"> | ||
<h3 class="footer-nav">BLOG</h3> | ||
{{- range first 1 (where .Site.Pages "Type" "blog") -}} | ||
<a href = "{{ .Permalink }}"><h1 class = "footer-heading">{{ .Title }}</h1></a> | ||
{{- if isset .Params "author" -}} | ||
<h2 class="footer-heading">by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</h2> | ||
{{- else -}} | ||
<h2 class="footer-heading">{{ dateFormat "02 January, 2006" .Date }}</h2> | ||
{{- end -}} | ||
<p class="footer-content"> | ||
{{ if isset .Params "description" }} | ||
{{ if ne .Params.descripton "" }} | ||
{{ .Params.description | markdownify }} | ||
{{ end }} | ||
{{ else }} | ||
{{ .Summary }} | ||
{{ end }} | ||
</p> | ||
{{- end -}} | ||
|
||
</div> | ||
<div class="col-md-2"> | ||
<h3 class="footer-nav">@DEVOPSDAYS</h3> | ||
<div> | ||
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/devopsdays/lists/devopsdays" data-chrome="noheader" height="440"></a> | ||
<nav class="navbar bottom navbar-light footer-nav-row" style="background-color: #bfbfc1;"> | ||
<div class = "row"> | ||
<div class = "col-md-12 footer-nav-background"> | ||
<div class = "row"> | ||
<div class = "col-md-6 col-lg-3 footer-nav-col"> | ||
<h3 class="footer-nav">@DEVOPSDAYS</h3> | ||
<div> | ||
<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/devopsdays/lists/devopsdays" data-chrome="noheader" height="440"></a> | ||
|
||
<script> | ||
! function(d, s, id) { | ||
var js, fjs = d.getElementsByTagName(s)[0], | ||
p = /^http:/.test(d.location) ? 'http' : 'https'; | ||
if (!d.getElementById(id)) { | ||
js = d.createElement(s); | ||
js.id = id; | ||
js.src = p + "://platform.twitter.com/widgets.js"; | ||
fjs.parentNode.insertBefore(js, fjs); | ||
} | ||
}(document, "script", "twitter-wjs"); | ||
</script> | ||
</div> | ||
</div> | ||
<!-- <div class="col-md-2 hidden-sm"> | ||
<script> | ||
! function(d, s, id) { | ||
var js, fjs = d.getElementsByTagName(s)[0], | ||
p = /^http:/.test(d.location) ? 'http' : 'https'; | ||
if (!d.getElementById(id)) { | ||
js = d.createElement(s); | ||
js.id = id; | ||
js.src = p + "://platform.twitter.com/widgets.js"; | ||
fjs.parentNode.insertBefore(js, fjs); | ||
} | ||
}(document, "script", "twitter-wjs"); | ||
</script> | ||
</div> | ||
</div> | ||
<div class="col-md-6 col-lg-3 footer-nav-col footer-content"> | ||
<h3 class="footer-nav">BLOG</h3> | ||
{{- range first 2 (where .Site.Pages "Type" "blog") -}} | ||
<a href = "{{ .Permalink }}"><h1 class = "footer-heading">{{ .Title }}</h1></a> | ||
{{- if isset .Params "author" -}} | ||
<h2 class="footer-heading">by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</h2> | ||
{{- else -}} | ||
<h2 class="footer-heading">{{ dateFormat "02 January, 2006" .Date }}</h2> | ||
{{- end -}} | ||
<p class="footer-content"> | ||
{{ if isset .Params "description" }} | ||
{{ if ne .Params.descripton "" }} | ||
{{ .Params.description | markdownify }} | ||
{{ end }} | ||
{{ else }} | ||
{{ .Summary }} | ||
{{ end }} | ||
</p> | ||
{{- end -}} | ||
<a href="https://www.devopsdays.org/blog/index.xml">Feed</a> | ||
</div> | ||
<div class="col-md-6 col-lg-3 footer-nav-col"> | ||
<h3 class="footer-nav">CFP OPEN</h3> | ||
{{ range sort $.Site.Data.events "startdate" }} | ||
{{ if .cfp_date_end }} | ||
{{ if ge (dateFormat "2006-01-02" .cfp_date_end) (dateFormat "2006-01-02" ($.Now.Format "2006-01-02")) }} | ||
<a href = "/events/{{ .name }}/" class = "footer-content">{{ .city }}</a><br /> | ||
{{ end }} {{/* end: date is now or afterwards */}} | ||
{{ end }} {{/* end: if .cfp_date_end */}} | ||
{{ end }} {{/* end: range sort $.Site.Data.events "startdate" */}} | ||
<br />Propose a talk at an event near you!<br /> | ||
</div> | ||
<div class="col-md-6 col-lg-3 footer-nav-col"> | ||
<h3 class="footer-nav">About</h3> | ||
devopsdays is a worldwide community conference series for anyone interested in IT improvement.<br /><br /> | ||
<a href="/about/" class = "footer-content">About devopsdays</a><br /> | ||
<a href="/privacy/" class = "footer-content">Privacy Policy</a><br /> | ||
<a href="/conduct/" class = "footer-content">Code of Conduct</a> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> --> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</nav> |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
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